Re: Errors that look like the compiler is using 1.5 jdk

2014-12-12 Thread jeff_gaer
Thank you, that was it. 




On Friday, December 12, 2014 10:23 AM, Adrien Rivard [via Maven] 
 wrote:
 


Hi, 

Your are probably missing 

 
  1.7 
  1.7 
 


Basically you are using the 1.7 compiler to compile java5 source code 
to java 5 byte code (1.5 is the default value for source/target IIRC) 




On Fri, Dec 12, 2014 at 5:11 PM, jeff_gaer <[hidden email]> wrote: 


> I am building with jdk 1.7 but getting an compiler error that suggests mvn 
> is 
> using the 1.5 jdk ( which is not installed). 
> 
>  error: multi-catch statement is not supported in -source 1.5 
> 
> Here is my environment 
> 
> Maven home: /opt/apache-maven-3.0.4 
> Java version: 1.7.0_25, vendor: Oracle Corporation 
> Java home: /usr/java/jdk1.7.0_25/jre 
> Default locale: en_US, platform encoding: UTF-8 
> OS name: "linux", version: "2.6.18-274.el5", arch: "i386", family: "unix" 
> 
> I have even tried specifically specifying the JDK version in the compile 
> plugin 
> 
>
>   
> org.apache.maven.plugins 
> maven-compiler-plugin 
> 3.2 
>   
>   true 
>   true 
>   ${JAVA_HOME}/bin/javac 
>   1.7 
>  
>   
> 
> 
> 
> 
> 
> 
> -- 
> View this message in context: 
> http://maven.40175.n5.nabble.com/Errors-that-look-like-the-compiler-is-using-1-5-jdk-tp5818942.html
> Sent from the Maven - Users mailing list archive at Nabble.com. 
> 
> - 
> To unsubscribe, e-mail: [hidden email] 
> For additional commands, e-mail: [hidden email] 
> 
> 

-- 
Adrien Rivard 



 
If you reply to this email, your message will be added to the discussion 
below:http://maven.40175.n5.nabble.com/Errors-that-look-like-the-compiler-is-using-1-5-jdk-tp5818942p5818946.html
 
To unsubscribe from Errors that look like the compiler is using 1.5 jdk, click 
here.
NAML 



--
View this message in context: 
http://maven.40175.n5.nabble.com/Errors-that-look-like-the-compiler-is-using-1-5-jdk-tp5818942p5818950.html
Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Errors that look like the compiler is using 1.5 jdk

2014-12-12 Thread Adrien Rivard
Hi,

Your are probably missing


  1.7
  1.7



Basically you are using the 1.7 compiler to compile java5 source code
to java 5 byte code (1.5 is the default value for source/target IIRC)




On Fri, Dec 12, 2014 at 5:11 PM, jeff_gaer  wrote:

> I am building with jdk 1.7 but getting an compiler error that suggests mvn
> is
> using the 1.5 jdk ( which is not installed).
>
>  error: multi-catch statement is not supported in -source 1.5
>
> Here is my environment
>
> Maven home: /opt/apache-maven-3.0.4
> Java version: 1.7.0_25, vendor: Oracle Corporation
> Java home: /usr/java/jdk1.7.0_25/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "2.6.18-274.el5", arch: "i386", family: "unix"
>
> I have even tried specifically specifying the JDK version in the compile
> plugin
>
>   
>  
> org.apache.maven.plugins
> maven-compiler-plugin
> 3.2
>  
>   true
>   true
>   ${JAVA_HOME}/bin/javac
>   1.7
> 
>  
>
>
>
>
>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Errors-that-look-like-the-compiler-is-using-1-5-jdk-tp5818942.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


-- 
Adrien Rivard


Re: Building selected projects with nested aggregators

2014-12-12 Thread Nick Stolwijk
Hello all,

We also want to build a --project-list with a aggregator pom, so all the
modules of  that pom are getting build. In the mean time, we also want the
dependencies of those module to  build. (So, --also-make). Only we can't
get this to run. Is there anyone who can help with this?

We were thinking of a Bash or Groovy script to parse the aggregator pom to
build up the --project-list argument.

Does anyone see an easier way?

With regards,

Nick Stolwijk

~~~ Try to leave this world a little better than you found it and, when
your turn comes to die, you can die happy in feeling that at any rate you
have not wasted your time but have done your best ~~~

Lord Baden-Powell

On Tue, May 7, 2013 at 2:39 AM, spoots  wrote:

> Thanks for the reply, again :)
>
> I don't think "-amd" covers my need though. Because there's no parent/child
> relationship between the modules/sub-modules there's no dependency between
> them. It feels to me like there's an option missing for the reactor here...
>
> A simpler example for clarity:
>
> 
>   
> 
> 
> 
>   
>   
>   
> 
>
> Each node is a project, and sub-projects are nested. For dependencies, say
> only that "c depends on f". There are no parent-child relationships.
>
> If I want to build  with all its sub-modules ( 
> ) and dependencies (), can I do that? The only options I
> see are:
> 1 - change to b directory, then "mvn install"
> 2 - from top level, "mvn install -pl a/b -amd"
> 3 - from top level, "mvn install -pl a/b/c,a/b/d,a/b/e -amd"
>
> Option 1 builds the sub-modules I want, but doesn't build the dependency
> .
> Option 2 only builds the project , none of it's sub-modules
> because
> they are not dependents.
> Option 3 works, but it's no good because I need to know & provide all the
> sub-modules of .
>
> Ideally there'd be an option like "-ams" (also make sub-modules) which I
> could use in option 2, but I can't see any way to do it?
>
>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Building-selected-projects-with-nested-aggregators-tp5753572p5755076.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Errors that look like the compiler is using 1.5 jdk

I am building with jdk 1.7 but getting an compiler error that suggests mvn is
using the 1.5 jdk ( which is not installed). 

 error: multi-catch statement is not supported in -source 1.5

Here is my environment

Maven home: /opt/apache-maven-3.0.4
Java version: 1.7.0_25, vendor: Oracle Corporation
Java home: /usr/java/jdk1.7.0_25/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.18-274.el5", arch: "i386", family: "unix"

I have even tried specifically specifying the JDK version in the compile
plugin 

  
 
org.apache.maven.plugins
maven-compiler-plugin
3.2
 
  true
  true
  ${JAVA_HOME}/bin/javac
  1.7

 






--
View this message in context: 
http://maven.40175.n5.nabble.com/Errors-that-look-like-the-compiler-is-using-1-5-jdk-tp5818942.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: [VOTE] Run-off for mascot's name

K H

2014-12-11 14:17 GMT+01:00 Jörg Schaible :
>
> A D
>
> Stephen Connolly wrote:
>
>> This is a run-off vote to select the top two options for our new mascot's
>> name.
>>
>> The entries with the highest number of votes will be selected for the
>> final round. If there is only one entry with the highest number of votes
>> then the entries with the second highest number of votes will also be
>> included in the final round.
>>
>> The vote will be open for 72 hours.
>>
>> The entries are as follows:
>>
>> A. Abraham
>> B. Boo
>> C. Darth Mowl
>> D. Jacob
>> E. Kaboom
>> F. Moses
>> G. Rap
>> H. Shotgun
>> K. The Maven Owl
>> L. Ty
>>
>> It is not clear whether all of the above suggestions were completely
>> serious, but I have included them anyway for this first round.
>>
>> Please respond with at most your top three in order of preference. I may
>> not use second or third preferences if we get a sufficient number of
>> votes, but in the case of a small poll the additional preferences will
>> help.
>>
>> In the event of repeated votes from an individual, only the last cast vote
>> as determined by me will count.
>>
>> Any other discussion should happen in a separate thread.
>>
>> Thanks
>>
>> -Stephen
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>



-- 
Vriendelijke groeten,

Jeroen Hoek

Lable
✉ jer...@lable.org
℡ 088 44 20 202

http://lable.org
KvK № 55984037
BTW № NL8519.32.411.B.01

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org