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 [email protected]
                                    W www.adesso.at

-------------------------------------------------------------
             >>> business. people. technology. <<<
-------------------------------------------------------------

Reply via email to