Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Warning about maven/compiler plugin version in Netbeans
 Post subject: Warning about maven/compiler plugin version in Netbeans Post rating: 0   New post Posted: Sun 13 Jan, 2013, 01:43 
User avatar

User rating: 6
Joined: Thu 19 May, 2011, 11:14
Posts: 235
Location: South Africa,
After following the four steps on https://www.dukascopy.com/wiki/#Use_in_NetBeans, the following warning message is displayed in Netbeans:

Quote:
Some problems were encountered while building the effective model for com.dukascopy.dds2:JForex-SDK:jar:2.22.1
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 65, column 12

It is highly recommended to fix these problems because they threaten the stability of your build.

For this reason, future Maven versions might no longer support building such malformed projects.


Is there anything I can/should do about it?

Further information:
NetBeans IDE 7.1.2 (Build 201204101705)
Java: 1.7.0_05; Java HotSpot(TM) 64-Bit Server VM 23.1-b03
System: Windows 7 version 6.1 running on amd64; Cp1252; en_ZA (nb)


 
 Post subject: Re: Warning about maven/compiler plugin version in Netbeans Post rating: 0   New post Posted: Mon 14 Jan, 2013, 08:54 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Add the compiler plugin version, i.e., under the line:
<artifactId>maven-compiler-plugin</artifactId>
add:
<version>3.0</version>


 
 Post subject: Re: Warning about maven/compiler plugin version in Netbeans Post rating: 0   New post Posted: Thu 24 Jan, 2013, 11:28 
User avatar

User rating: 6
Joined: Thu 19 May, 2011, 11:14
Posts: 235
Location: South Africa,
Thanks! That warning is gone but I still get this message:

Quote:
[resources:resources]
[debug] execute contextualize
Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
Copying 1 resource


Does it matter? (I intend to run the jar file on a different machine. The resulting jar isn't somehow platform dependent or is it?)


 
 Post subject: Re: Warning about maven/compiler plugin version in Netbeans Post rating: 0   New post Posted: Thu 24 Jan, 2013, 11:42 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
See:
https://maven.apache.org/general.html#encoding-warning


 
 Post subject: Re: Warning about maven/compiler plugin version in Netbeans Post rating: 0   New post Posted: Fri 25 Jan, 2013, 13:08 
User avatar

User rating: 6
Joined: Thu 19 May, 2011, 11:14
Posts: 235
Location: South Africa,
Thank you. So hopefully its just again a matter of adding a line to the POM file.

Is there a reason why the POM file at https://www.dukascopy.com/client/jforexlib/JForex-SDK.zip cannot include the two modifications discussed in this thread?


 
 Post subject: Re: Warning about maven/compiler plugin version in Netbeans Post rating: 0   New post Posted: Fri 25 Jan, 2013, 13:13 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
The first is already there, the second will be there with the next release.


 

Jump to:  

  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com