Thanks!!!!
On 6/12/07, Barrett Nuzum <[EMAIL PROTECTED]> wrote:
Mick:
Only source code should go in generated-sources.
XML files and the like should go in generated-resources.
If you can find how to get files into generated-resources and in a WEB-INF
directory --
that is to say ./target/generated-sources/WEB-INF/jdev.xml --
you can add them to the WAR by doing:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.0</version>
<configuration>
<webResources>
<resource>
<!-- this is relative to the pom.xml directory -->
<directory>target/generated-resources</directory>
</resource>
</webResources>
</configuration>
</plugin>
</plugins>
</build>
::
Barrett Nuzum
Consultant, Skill Development
Direct: 918.640.4414
Fax: 972.789.1340
Valtech Technologies, Inc.
5080 Spectrum Drive
Suite 700 West
Addison, Texas 75001
www.valtech.com <http://www.valtech.com/>
making IT business friendly
________________________________
From: Mick Knutson [mailto:[EMAIL PROTECTED]
Sent: Mon 6/11/2007 4:35 PM
To: Maven Users List
Subject: Re: [m2] relocating resource artifacts not in ./classes
I have an xml files that is generated and added to
./target/generated-sources/jdev.xml
I want to put that into my WAR: /WEB-INF/
Right now I can only seem to get it into my WAR: WEB-INF/classes/
and that will not work for OAS.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
---
Thanks,
Mick Knutson
http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/djmick_dot_com
http://www.myspace.com/sexybeotches
http://www.thumpradio.com
---