Hello Karl Heinz,

Where does it say that the sources must be in src/main/webapp? As with 
all plugins, sources should be in src/main/java (like you have now).

I think you need the parameter 'attachClasses', I am not 100% sure if 
'archiveClasses' is necessary as well.

I've used it before (albeit a little while back so I can't remember all 
the details) and it does what you want.

Roland


On 23.11.2011 13:28, Karl Heinz Marbaise wrote:
> Hi,
>
> first thanks for the answer, but the problem is my classes are located in
> the src/main/java area and not in src/main/webapp folder....The
> configuration for the war-plugin (archiveClasses) will only create a jar
> from classes in the src/main/webapp folder...where i don't have any classes
> only jsp(x), css files, images etc. My classes are located in src/main/java
> ...
>
> Kind regards
> Karl Heinz Marbaise
>
>
>
> -----
> Kind regards
> Karl Heinz Marbaise
> ----
> http://www.soebes.de
> http://www.skmwiki.de
> http://supose.org/wiki/supose
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Integration-Test-Dependency-and-WAR-Packaging-tp5016434p5016484.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
>

-- 
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. <<<
-------------------------------------------------------------

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

Reply via email to