Assembling webapp only, but not make WAR file
Here is the backtrace of MVN INSTALL [INFO] [war:war] [INFO] Packaging webapp [INFO] Assembling webapp[webapp] in [C:\Documents and Settings\webapp\target\webapp] [INFO] Dependency[Dependency {groupId=javax.servlet, artifactId=jstl, version=1.2, type=jar}] has changed (was Dependency {groupId=javax.servlet, artifactId=jstl, version=1.2, type=jar}). [INFO] Dependency[Dependency {groupId=com.jcp.ui.framework, artifactId=ui-modules-api-jcp-mock, version=14.0-194, type=jar}] has changed (was Dependency {groupId=com.jcp.ui.framework, artifactId=ui-modules-api-jcp-mock, ve [INFO] Dependency[Dependency {groupId=com.jcp.ui.framework, artifactId=jcp-logger, version=0.3, type=jar}] has changed (was Dependency {groupId=com.jcp.ui.framework, artifactId=jcp-logger, version=0.3, type=jar}). [INFO] Processing war project [INFO] Copying webapp resources[C:\Documents and Settings\webapp\target\webapp] [INFO] Webapp assembled in[45999 msecs] [INFO] Building war: C:\Documents and Settings\webapp\target\webapp\target\baseline-webapp.war [INFO] [install:install] [INFO] Installing C:\Documents and Settings\webapp\target\webapp\target\webapp.war to D:\m2repo\com\webapp\0.0.1\webapp-0.0.1.war For some reason, I want just that maven do the Assembling (copy .class files, jar files to TARGET ) but not making the WAR file. Is that possbile ? Thanks Luong
Re: Assembling webapp only, but not make WAR file
Check the life-cycle phases and choose one that is just *before* 'package'. On 04.04.2011 10:26, Nguyen Tien Luong wrote: Here is the backtrace of MVN INSTALL [INFO] [war:war] [INFO] Packaging webapp [INFO] Assembling webapp[webapp] in [C:\Documents and Settings\webapp\target\webapp] [INFO] Dependency[Dependency {groupId=javax.servlet, artifactId=jstl, version=1.2, type=jar}] has changed (was Dependency {groupId=javax.servlet, artifactId=jstl, version=1.2, type=jar}). [INFO] Dependency[Dependency {groupId=com.jcp.ui.framework, artifactId=ui-modules-api-jcp-mock, version=14.0-194, type=jar}] has changed (was Dependency {groupId=com.jcp.ui.framework, artifactId=ui-modules-api-jcp-mock, ve [INFO] Dependency[Dependency {groupId=com.jcp.ui.framework, artifactId=jcp-logger, version=0.3, type=jar}] has changed (was Dependency {groupId=com.jcp.ui.framework, artifactId=jcp-logger, version=0.3, type=jar}). [INFO] Processing war project [INFO] Copying webapp resources[C:\Documents and Settings\webapp\target\webapp] [INFO] Webapp assembled in[45999 msecs] [INFO] Building war: C:\Documents and Settings\webapp\target\webapp\target\baseline-webapp.war [INFO] [install:install] [INFO] Installing C:\Documents and Settings\webapp\target\webapp\target\webapp.war to D:\m2repo\com\webapp\0.0.1\webapp-0.0.1.war For some reason, I want just that maven do the Assembling (copy .class files, jar files to TARGET ) but not making the WAR file. Is that possbile ? Thanks Luong -- Roland Asmann Senior Software Engineer adesso Austria GmbH Floridotower 26. Stock T +43 1 2198790-27 Floridsdorfer Hauptstr. 1 F +43 1 2198790-927 A-1210 Wien M +43 664 88657566 E roland.asm...@adesso.at W www.adesso.at - business. people. technology. -
Re: Assembling webapp only, but not make WAR file
Thanks for your reply :x Is prepare-package that you want to mention ? I have multi-module project, and that the webapp depends on for example project-a that has its .java files and also depends on another artifact (jar) What I want is after execute an maven'lifecycle, I have in target of webapp (or somewhere else) the dependency of project-a, .class files of projects-a and also files of webapp When I do mvn prepare-package for the webapp, I did not copy the files of project-a in the webapp target's folder. I did somethings wrong or it is the way maven doing? Luong From: Asmann, Roland roland.asm...@adesso.at To: users@maven.apache.org users@maven.apache.org Sent: Mon, 4 April, 2011 10:32:35 Subject: Re: Assembling webapp only, but not make WAR file Check the life-cycle phases and choose one that is just *before* 'package'. On 04.04.2011 10:26, Nguyen Tien Luong wrote: Here is the backtrace of MVN INSTALL [INFO] [war:war] [INFO] Packaging webapp [INFO] Assembling webapp[webapp] in [C:\Documents and Settings\webapp\target\webapp] [INFO] Dependency[Dependency {groupId=javax.servlet, artifactId=jstl, version=1.2, type=jar}] has changed (was Dependency {groupId=javax.servlet, artifactId=jstl, version=1.2, type=jar}). [INFO] Dependency[Dependency {groupId=com.jcp.ui.framework, artifactId=ui-modules-api-jcp-mock, version=14.0-194, type=jar}] has changed (was Dependency {groupId=com.jcp.ui.framework, artifactId=ui-modules-api-jcp-mock, ve [INFO] Dependency[Dependency {groupId=com.jcp.ui.framework, artifactId=jcp-logger, version=0.3, type=jar}] has changed (was Dependency {groupId=com.jcp.ui.framework, artifactId=jcp-logger, version=0.3, type=jar}). [INFO] Processing war project [INFO] Copying webapp resources[C:\Documents and Settings\webapp\target\webapp] [INFO] Webapp assembled in[45999 msecs] [INFO] Building war: C:\Documents and Settings\webapp\target\webapp\target\baseline-webapp.war [INFO] [install:install] [INFO] Installing C:\Documents and Settings\webapp\target\webapp\target\webapp.war to D:\m2repo\com\webapp\0.0.1\webapp-0.0.1.war For some reason, I want just that maven do the Assembling (copy .class files, jar files to TARGET ) but not making the WAR file. Is that possbile ? Thanks Luong -- Roland Asmann Senior Software Engineer adesso Austria GmbH Floridotower 26. Stock T +43 1 2198790-27 Floridsdorfer Hauptstr. 1 F +43 1 2198790-927 A-1210 Wien M +43 664 88657566 E roland.asm...@adesso.at W www.adesso.at - business. people. technology. -
Re: Assembling webapp only, but not make WAR file
Multi-module might be a problem. Because that way the other modules will not get installed either! If you do have them in your repository, Maven *should* copy them into the target-dir though, but they will be older versions. A question: why don't you want the WAR to be packaged? On 04.04.2011 10:54, Nguyen Tien Luong wrote: Thanks for your reply :x Is prepare-package that you want to mention ? I have multi-module project, and that the webapp depends on for example project-a that has its .java files and also depends on another artifact (jar) What I want is after execute an maven'lifecycle, I have in target of webapp (or somewhere else) the dependency of project-a, .class files of projects-a and also files of webapp When I do mvn prepare-package for the webapp, I did not copy the files of project-a in the webapp target's folder. I did somethings wrong or it is the way maven doing? Luong From: Asmann, Roland roland.asm...@adesso.at To: users@maven.apache.org users@maven.apache.org Sent: Mon, 4 April, 2011 10:32:35 Subject: Re: Assembling webapp only, but not make WAR file Check the life-cycle phases and choose one that is just *before* 'package'. On 04.04.2011 10:26, Nguyen Tien Luong wrote: Here is the backtrace of MVN INSTALL [INFO] [war:war] [INFO] Packaging webapp [INFO] Assembling webapp[webapp] in [C:\Documents and Settings\webapp\target\webapp] [INFO] Dependency[Dependency {groupId=javax.servlet, artifactId=jstl, version=1.2, type=jar}] has changed (was Dependency {groupId=javax.servlet, artifactId=jstl, version=1.2, type=jar}). [INFO] Dependency[Dependency {groupId=com.jcp.ui.framework, artifactId=ui-modules-api-jcp-mock, version=14.0-194, type=jar}] has changed (was Dependency {groupId=com.jcp.ui.framework, artifactId=ui-modules-api-jcp-mock, ve [INFO] Dependency[Dependency {groupId=com.jcp.ui.framework, artifactId=jcp-logger, version=0.3, type=jar}] has changed (was Dependency {groupId=com.jcp.ui.framework, artifactId=jcp-logger, version=0.3, type=jar}). [INFO] Processing war project [INFO] Copying webapp resources[C:\Documents and Settings\webapp\target\webapp] [INFO] Webapp assembled in[45999 msecs] [INFO] Building war: C:\Documents and Settings\webapp\target\webapp\target\baseline-webapp.war [INFO] [install:install] [INFO] Installing C:\Documents and Settings\webapp\target\webapp\target\webapp.war to D:\m2repo\com\webapp\0.0.1\webapp-0.0.1.war For some reason, I want just that maven do the Assembling (copy .class files, jar files to TARGET ) but not making the WAR file. Is that possbile ? Thanks Luong -- Roland Asmann Senior Software Engineer adesso Austria GmbH Floridotower 26. Stock T +43 1 2198790-27 Floridsdorfer Hauptstr. 1 F +43 1 2198790-927 A-1210 Wien M +43 664 88657566 E roland.asm...@adesso.at W www.adesso.at - business. people. technology. - -- Roland Asmann Senior Software Engineer adesso Austria GmbH Floridotower 26. Stock T +43 1 2198790-27 Floridsdorfer Hauptstr. 1 F +43 1 2198790-927 A-1210 Wien M +43 664 88657566 E roland.asm...@adesso.at W www.adesso.at - business. people. technology. -
Re: Assembling webapp only, but not make WAR file
In fact when I have all files I need in target, I will copy directly to Application Server for testing. Sometime I modified only some JSP files, and if for testing I have to generate a new WAR file, it's painful T_T So there is no solution for my problem then ? Luong From: Asmann, Roland roland.asm...@adesso.at To: users@maven.apache.org users@maven.apache.org Sent: Mon, 4 April, 2011 11:06:07 Subject: Re: Assembling webapp only, but not make WAR file Multi-module might be a problem. Because that way the other modules will not get installed either! If you do have them in your repository, Maven *should* copy them into the target-dir though, but they will be older versions. A question: why don't you want the WAR to be packaged? On 04.04.2011 10:54, Nguyen Tien Luong wrote: Thanks for your reply :x Is prepare-package that you want to mention ? I have multi-module project, and that the webapp depends on for example project-a that has its .java files and also depends on another artifact (jar) What I want is after execute an maven'lifecycle, I have in target of webapp (or somewhere else) the dependency of project-a, .class files of projects-a and also files of webapp When I do mvn prepare-package for the webapp, I did not copy the files of project-a in the webapp target's folder. I did somethings wrong or it is the way maven doing? Luong From: Asmann, Roland roland.asm...@adesso.at To: users@maven.apache.org users@maven.apache.org Sent: Mon, 4 April, 2011 10:32:35 Subject: Re: Assembling webapp only, but not make WAR file Check the life-cycle phases and choose one that is just *before* 'package'. On 04.04.2011 10:26, Nguyen Tien Luong wrote: Here is the backtrace of MVN INSTALL [INFO] [war:war] [INFO] Packaging webapp [INFO] Assembling webapp[webapp] in [C:\Documents and Settings\webapp\target\webapp] [INFO] Dependency[Dependency {groupId=javax.servlet, artifactId=jstl, version=1.2, type=jar}] has changed (was Dependency {groupId=javax.servlet, artifactId=jstl, version=1.2, type=jar}). [INFO] Dependency[Dependency {groupId=com.jcp.ui.framework, artifactId=ui-modules-api-jcp-mock, version=14.0-194, type=jar}] has changed (was Dependency {groupId=com.jcp.ui.framework, artifactId=ui-modules-api-jcp-mock, ve [INFO] Dependency[Dependency {groupId=com.jcp.ui.framework, artifactId=jcp-logger, version=0.3, type=jar}] has changed (was Dependency {groupId=com.jcp.ui.framework, artifactId=jcp-logger, version=0.3, type=jar}). [INFO] Processing war project [INFO] Copying webapp resources[C:\Documents and Settings\webapp\target\webapp] [INFO] Webapp assembled in[45999 msecs] [INFO] Building war: C:\Documents and Settings\webapp\target\webapp\target\baseline-webapp.war [INFO] [install:install] [INFO] Installing C:\Documents and Settings\webapp\target\webapp\target\webapp.war to D:\m2repo\com\webapp\0.0.1\webapp-0.0.1.war For some reason, I want just that maven do the Assembling (copy .class files, jar files to TARGET ) but not making the WAR file. Is that possbile ? Thanks Luong -- Roland Asmann Senior Software Engineer adesso Austria GmbH Floridotower 26. Stock T +43 1 2198790-27 Floridsdorfer Hauptstr. 1 F +43 1 2198790-927 A-1210 Wien M +43 664 88657566 E roland.asm...@adesso.at W www.adesso.at - business. people. technology. - -- Roland Asmann Senior Software Engineer adesso Austria GmbH Floridotower 26. Stock T +43 1 2198790-27 Floridsdorfer Hauptstr. 1 F +43 1 2198790-927 A-1210 Wien M +43 664 88657566 E roland.asm...@adesso.at W www.adesso.at - business. people. technology. -
Re: Assembling webapp only, but not make WAR file
I believe you should try the war:exploded, this should do what you want... On 04.04.2011 11:13, Nguyen Tien Luong wrote: In fact when I have all files I need in target, I will copy directly to Application Server for testing. Sometime I modified only some JSP files, and if for testing I have to generate a new WAR file, it's painful T_T So there is no solution for my problem then ? Luong From: Asmann, Roland roland.asm...@adesso.at To: users@maven.apache.org users@maven.apache.org Sent: Mon, 4 April, 2011 11:06:07 Subject: Re: Assembling webapp only, but not make WAR file Multi-module might be a problem. Because that way the other modules will not get installed either! If you do have them in your repository, Maven *should* copy them into the target-dir though, but they will be older versions. A question: why don't you want the WAR to be packaged? On 04.04.2011 10:54, Nguyen Tien Luong wrote: Thanks for your reply :x Is prepare-package that you want to mention ? I have multi-module project, and that the webapp depends on for example project-a that has its .java files and also depends on another artifact (jar) What I want is after execute an maven'lifecycle, I have in target of webapp (or somewhere else) the dependency of project-a, .class files of projects-a and also files of webapp When I do mvn prepare-package for the webapp, I did not copy the files of project-a in the webapp target's folder. I did somethings wrong or it is the way maven doing? Luong From: Asmann, Roland roland.asm...@adesso.at To: users@maven.apache.org users@maven.apache.org Sent: Mon, 4 April, 2011 10:32:35 Subject: Re: Assembling webapp only, but not make WAR file Check the life-cycle phases and choose one that is just *before* 'package'. On 04.04.2011 10:26, Nguyen Tien Luong wrote: Here is the backtrace of MVN INSTALL [INFO] [war:war] [INFO] Packaging webapp [INFO] Assembling webapp[webapp] in [C:\Documents and Settings\webapp\target\webapp] [INFO] Dependency[Dependency {groupId=javax.servlet, artifactId=jstl, version=1.2, type=jar}] has changed (was Dependency {groupId=javax.servlet, artifactId=jstl, version=1.2, type=jar}). [INFO] Dependency[Dependency {groupId=com.jcp.ui.framework, artifactId=ui-modules-api-jcp-mock, version=14.0-194, type=jar}] has changed (was Dependency {groupId=com.jcp.ui.framework, artifactId=ui-modules-api-jcp-mock, ve [INFO] Dependency[Dependency {groupId=com.jcp.ui.framework, artifactId=jcp-logger, version=0.3, type=jar}] has changed (was Dependency {groupId=com.jcp.ui.framework, artifactId=jcp-logger, version=0.3, type=jar}). [INFO] Processing war project [INFO] Copying webapp resources[C:\Documents and Settings\webapp\target\webapp] [INFO] Webapp assembled in[45999 msecs] [INFO] Building war: C:\Documents and Settings\webapp\target\webapp\target\baseline-webapp.war [INFO] [install:install] [INFO] Installing C:\Documents and Settings\webapp\target\webapp\target\webapp.war to D:\m2repo\com\webapp\0.0.1\webapp-0.0.1.war For some reason, I want just that maven do the Assembling (copy .class files, jar files to TARGET ) but not making the WAR file. Is that possbile ? Thanks Luong -- Roland Asmann Senior Software Engineer adesso Austria GmbH Floridotower 26. Stock T +43 1 2198790-27 Floridsdorfer Hauptstr. 1 F +43 1 2198790-927 A-1210 Wien M +43 664 88657566 E roland.asm...@adesso.at W www.adesso.at - business. people. technology. - -- Roland Asmann Senior Software Engineer adesso Austria GmbH Floridotower 26. Stock T +43 1 2198790-27 Floridsdorfer Hauptstr. 1 F +43 1 2198790-927 A-1210 Wien M +43 664 88657566 E roland.asm...@adesso.at W www.adesso.at - business. people. technology. - -- Roland Asmann Senior Software Engineer adesso Austria GmbH Floridotower 26. Stock T +43 1 2198790-27 Floridsdorfer Hauptstr. 1 F +43 1 2198790-927 A-1210 Wien M +43 664 88657566 E roland.asm...@adesso.at W www.adesso.at - business. people. technology. -
Re: Assembling webapp only, but not make WAR file
Yeah, it is :x The answer is : mvn prepare-packagewar:exploded Thanks Asmann for your instruction :x Luong From: Asmann, Roland roland.asm...@adesso.at To: users@maven.apache.org users@maven.apache.org Sent: Mon, 4 April, 2011 11:26:39 Subject: Re: Assembling webapp only, but not make WAR file I believe you should try the war:exploded, this should do what you want... On 04.04.2011 11:13, Nguyen Tien Luong wrote: In fact when I have all files I need in target, I will copy directly to Application Server for testing. Sometime I modified only some JSP files, and if for testing I have to generate a new WAR file, it's painful T_T So there is no solution for my problem then ? Luong From: Asmann, Roland roland.asm...@adesso.at To: users@maven.apache.org users@maven.apache.org Sent: Mon, 4 April, 2011 11:06:07 Subject: Re: Assembling webapp only, but not make WAR file Multi-module might be a problem. Because that way the other modules will not get installed either! If you do have them in your repository, Maven *should* copy them into the target-dir though, but they will be older versions. A question: why don't you want the WAR to be packaged? On 04.04.2011 10:54, Nguyen Tien Luong wrote: Thanks for your reply :x Is prepare-package that you want to mention ? I have multi-module project, and that the webapp depends on for example project-a that has its .java files and also depends on another artifact (jar) What I want is after execute an maven'lifecycle, I have in target of webapp (or somewhere else) the dependency of project-a, .class files of projects-a and also files of webapp When I do mvn prepare-package for the webapp, I did not copy the files of project-a in the webapp target's folder. I did somethings wrong or it is the way maven doing? Luong From: Asmann, Roland roland.asm...@adesso.at To: users@maven.apache.org users@maven.apache.org Sent: Mon, 4 April, 2011 10:32:35 Subject: Re: Assembling webapp only, but not make WAR file Check the life-cycle phases and choose one that is just *before* 'package'. On 04.04.2011 10:26, Nguyen Tien Luong wrote: Here is the backtrace of MVN INSTALL [INFO] [war:war] [INFO] Packaging webapp [INFO] Assembling webapp[webapp] in [C:\Documents and Settings\webapp\target\webapp] [INFO] Dependency[Dependency {groupId=javax.servlet, artifactId=jstl, version=1.2, type=jar}] has changed (was Dependency {groupId=javax.servlet, artifactId=jstl, version=1.2, type=jar}). [INFO] Dependency[Dependency {groupId=com.jcp.ui.framework, artifactId=ui-modules-api-jcp-mock, version=14.0-194, type=jar}] has changed (was Dependency {groupId=com.jcp.ui.framework, artifactId=ui-modules-api-jcp-mock, ve [INFO] Dependency[Dependency {groupId=com.jcp.ui.framework, artifactId=jcp-logger, version=0.3, type=jar}] has changed (was Dependency {groupId=com.jcp.ui.framework, artifactId=jcp-logger, version=0.3, type=jar}). [INFO] Processing war project [INFO] Copying webapp resources[C:\Documents and Settings\webapp\target\webapp] [INFO] Webapp assembled in[45999 msecs] [INFO] Building war: C:\Documents and Settings\webapp\target\webapp\target\baseline-webapp.war [INFO] [install:install] [INFO] Installing C:\Documents and Settings\webapp\target\webapp\target\webapp.war to D:\m2repo\com\webapp\0.0.1\webapp-0.0.1.war For some reason, I want just that maven do the Assembling (copy .class files, jar files to TARGET ) but not making the WAR file. Is that possbile ? Thanks Luong -- Roland Asmann Senior Software Engineer adesso Austria GmbH Floridotower 26. Stock T +43 1 2198790-27 Floridsdorfer Hauptstr. 1 F +43 1 2198790-927 A-1210 Wien M +43 664 88657566 E roland.asm...@adesso.at W www.adesso.at - business. people. technology. - -- Roland Asmann Senior Software Engineer adesso Austria GmbH Floridotower 26. Stock T +43 1 2198790-27 Floridsdorfer Hauptstr. 1 F +43 1 2198790-927 A-1210 Wien M +43 664 88657566 E roland.asm...@adesso.at W www.adesso.at - business. people. technology. - -- Roland Asmann Senior Software Engineer adesso Austria GmbH Floridotower 26. Stock T +43 1 2198790-27 Floridsdorfer Hauptstr. 1 F +43 1 2198790-927 A-1210 Wien M +43 664 88657566 E roland.asm...@adesso.at
Re: Assembling webapp only, but not make WAR file
Be carefull though, if you change anything in one of the other modules, you *must* run a mvn install to make them available in your WAR! Roland On 04.04.2011 11:39, Nguyen Tien Luong wrote: Yeah, it is :x The answer is : mvn prepare-packagewar:exploded Thanks Asmann for your instruction :x Luong From: Asmann, Roland roland.asm...@adesso.at To: users@maven.apache.org users@maven.apache.org Sent: Mon, 4 April, 2011 11:26:39 Subject: Re: Assembling webapp only, but not make WAR file I believe you should try the war:exploded, this should do what you want... On 04.04.2011 11:13, Nguyen Tien Luong wrote: In fact when I have all files I need in target, I will copy directly to Application Server for testing. Sometime I modified only some JSP files, and if for testing I have to generate a new WAR file, it's painful T_T So there is no solution for my problem then ? Luong From: Asmann, Roland roland.asm...@adesso.at To: users@maven.apache.org users@maven.apache.org Sent: Mon, 4 April, 2011 11:06:07 Subject: Re: Assembling webapp only, but not make WAR file Multi-module might be a problem. Because that way the other modules will not get installed either! If you do have them in your repository, Maven *should* copy them into the target-dir though, but they will be older versions. A question: why don't you want the WAR to be packaged? On 04.04.2011 10:54, Nguyen Tien Luong wrote: Thanks for your reply :x Is prepare-package that you want to mention ? I have multi-module project, and that the webapp depends on for example project-a that has its .java files and also depends on another artifact (jar) What I want is after execute an maven'lifecycle, I have in target of webapp (or somewhere else) the dependency of project-a, .class files of projects-a and also files of webapp When I do mvn prepare-package for the webapp, I did not copy the files of project-a in the webapp target's folder. I did somethings wrong or it is the way maven doing? Luong From: Asmann, Roland roland.asm...@adesso.at To: users@maven.apache.org users@maven.apache.org Sent: Mon, 4 April, 2011 10:32:35 Subject: Re: Assembling webapp only, but not make WAR file Check the life-cycle phases and choose one that is just *before* 'package'. On 04.04.2011 10:26, Nguyen Tien Luong wrote: Here is the backtrace of MVN INSTALL [INFO] [war:war] [INFO] Packaging webapp [INFO] Assembling webapp[webapp] in [C:\Documents and Settings\webapp\target\webapp] [INFO] Dependency[Dependency {groupId=javax.servlet, artifactId=jstl, version=1.2, type=jar}] has changed (was Dependency {groupId=javax.servlet, artifactId=jstl, version=1.2, type=jar}). [INFO] Dependency[Dependency {groupId=com.jcp.ui.framework, artifactId=ui-modules-api-jcp-mock, version=14.0-194, type=jar}] has changed (was Dependency {groupId=com.jcp.ui.framework, artifactId=ui-modules-api-jcp-mock, ve [INFO] Dependency[Dependency {groupId=com.jcp.ui.framework, artifactId=jcp-logger, version=0.3, type=jar}] has changed (was Dependency {groupId=com.jcp.ui.framework, artifactId=jcp-logger, version=0.3, type=jar}). [INFO] Processing war project [INFO] Copying webapp resources[C:\Documents and Settings\webapp\target\webapp] [INFO] Webapp assembled in[45999 msecs] [INFO] Building war: C:\Documents and Settings\webapp\target\webapp\target\baseline-webapp.war [INFO] [install:install] [INFO] Installing C:\Documents and Settings\webapp\target\webapp\target\webapp.war to D:\m2repo\com\webapp\0.0.1\webapp-0.0.1.war For some reason, I want just that maven do the Assembling (copy .class files, jar files to TARGET ) but not making the WAR file. Is that possbile ? Thanks Luong -- Roland Asmann Senior Software Engineer adesso Austria GmbH Floridotower 26. Stock T +43 1 2198790-27 Floridsdorfer Hauptstr. 1 F +43 1 2198790-927 A-1210 Wien M +43 664 88657566 E roland.asm...@adesso.at W www.adesso.at - business. people. technology. - -- Roland Asmann Senior Software Engineer adesso Austria GmbH Floridotower 26. Stock T +43 1 2198790-27 Floridsdorfer Hauptstr. 1 F +43 1 2198790-927 A-1210 Wien M +43 664 88657566 E roland.asm...@adesso.at W www.adesso.at - business
Re: Assembling webapp only, but not make WAR file
The answer is : mvn prepare-packagewar:exploded Thanks Asmann for your instruction :x It took 5 emails to figure out that you really just wanted an exploded war to deploy to an App Server during testing. In the future, instead of asking someone to help you implement the solution you've imagined, you should just tell the list what problem you are trying to solve, and then let someone tell you the right solution to implement. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Assembling webapp only, but not make WAR file
On 04/04/2011 12:08 PM, Wayne Fay wrote: The answer is : mvn prepare-packagewar:exploded Thanks Asmann for your instruction :x It took 5 emails to figure out that you really just wanted an exploded war to deploy to an App Server during testing. In the future, instead of asking someone to help you implement the solution you've imagined, you should just tell the list what problem you are trying to solve, and then let someone tell you the right solution to implement. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org Best advice this month!!! Should be a requirement for all new users to prefix their first question with a standard preamble: Development target: standalone app, webapp under [tomcat, jboss, websphere, ], applet,plug-in Language: Maven Version: Development IDE: Eclipse, Netbeans, CI server: Hudson,, none Maven Repo: Nexus, Artifactory, none (My advice if, none, get one and come back if you still have a problem) Project team size: x people Number of deliverable artifacts: x Overall goal: (trying to set up a release strategy, etc., etc.,) Specific task and problem: Want to get Maven to automatically decide when to make a new release version. Maven never seems to be able to figure out when my code is working to spec. Probably not a bad thing for the second and subsequent post as well. Ron - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org