Re: Multiple JDK versions

2013-06-26 Thread virg g
Thank your all for all your suggestions. I am really grateful to you all. Thanks Virg On Thu, Jun 27, 2013 at 6:51 AM, Mark Derricutt m...@talios.com wrote: Ron Wheeler wrote: So always compile with 1.5 and make a package for 1.5 and copy it to files with 1.6 and 1.7 names. If the

Multiple JDK versions

2013-06-25 Thread virg g
Hi, I need build my project with multiple jdk versions 1.5 and 1.6. I am using maven compiler plugin to set the compiler based on JAVA_HOME set. Is it mandatory to set target either 1.5 or 1.6 based on the jdk version i want to build. Why because if i set compiler to jdk 1.6, in the debug log it

Re: Multiple JDK versions

2013-06-25 Thread virg g
-in. Ron On 25/06/2013 1:59 AM, virg g wrote: Hi, I need build my project with multiple jdk versions 1.5 and 1.6. I am using maven compiler plugin to set the compiler based on JAVA_HOME set. Is it mandatory to set target either 1.5 or 1.6 based on the jdk version i want to build

Re: Multiple JDK versions

2013-06-25 Thread virg g
Yes you are absolutely right, I totally agree with you. I am asked to implement these kind of builds. On Tue, Jun 25, 2013 at 3:35 PM, Jörg Schaible joerg.schai...@scalaris.comwrote: Hi Virg, virg g wrote: Yes. We have multiple customers, some of them support 1.5 and others 1.6. We need

maven-exec-plugin

2013-06-06 Thread virg g
Hi, I am having a problem in using maven-exec-plugin. I have requirement that i need to use SVN MOVE command to rename labels. Since SCM does not support MOVE svn tags/labels i am using maven-exec-plugin to rename svn tags with required arguments including svn username and password. The problem i

jsp compilation

2013-04-26 Thread virg g
Hi, I am using jspc-maven-plugin for compiling jsp files to avoid runtime exceptions. These compiled Java files will not get packaged in war file. This build is just for verification. Currently how it is building is if i give mvn install after compiling jsps, war file is getting created. But my

Multiple JDK Versions

2013-04-08 Thread virg g
Hi, I want to compile my code with multiple JDK versions 1.4, 1.5, 1.6. I am using maven-compiler-plugin 3.0. i am changing executable${JAVA_1_5_HOME}/bin/javac/executable parameter in maven-compiler-plugin and also set source and target to 1.5. But my default JAVA_HOME is 1.6. The source is

Re: Multiple JDK Versions

2013-04-08 Thread virg g
. What should matter to you is the bytecode version, and there are tools such as AnimalSniffer that can help you verify that the bytecode version is the version you believe it should be On 8 April 2013 11:41, virg g 06v...@gmail.com wrote: Hi, I want to compile my code with multiple JDK

SCM Rename Tag

2013-03-25 Thread virg g
Hi, I am using Subversion and using SCM am able to checkout. and using release plugin, able to tag the release. After sanity test i should be able to rename the existing tag with proper release label. For this one i need rename the existing label? Is it possible to rename Subversion tag or label

Re: maven-dependency-plugin

2013-03-21 Thread virg g
Hi, T On Tue, Mar 19, 2013 at 7:55 PM, Adrien Rivard adrien.riv...@gmail.comwrote: On Tue, Mar 19, 2013 at 1:39 PM, virg g 06v...@gmail.com wrote: Hi, Yes have added as two different artifactItems like this Since I have placed this in Parent POM, it was trying to copy even my PARENT

Re: maven-dependency-plugin

2013-03-21 Thread virg g
/execution Thanks virg On Tue, Mar 19, 2013 at 7:55 PM, Adrien Rivard adrien.riv...@gmail.comwrote: On Tue, Mar 19, 2013 at 1:39 PM, virg g 06v...@gmail.com wrote: Hi, Yes have added as two different artifactItems like this Since I have placed this in Parent POM, it was trying

maven-dependency-plugin

2013-03-19 Thread virg g
HI, I have project which contains many modules and creates jars and wars. My Build structure is parent POM has all modules. I am placing all my plugins in PARENT POM to be required to to applied all child modules. My requirement is to copy all these created jars to one location and wars to another

Re: maven-dependency-plugin

2013-03-19 Thread virg g
try to add two differents executions (with differents id), one for type war the others for type jar ? On Tue, Mar 19, 2013 at 10:51 AM, virg g 06v...@gmail.com wrote: HI, I have project which contains many modules and creates jars and wars. My Build structure is parent POM has all

maven-antrun-plugin in interactive mode

2013-03-12 Thread virg g
Hi, I am using maven-antrun-plugin 1.8 in interactive mode to accept user inputs for build version for my project. i want to use this version to be updated in all manifests file of all the jars of my project creates. I have added this plugin in the parent pom, which has all the modules to be