Does module4War have a dependency declared telling maven that it needs
Module1Classes?
If not maven has no reason to put the jar into the war.
Ron
On 11/02/2013 4:29 PM, laudio.info wrote:
i think thar i not have explain well
into the module1 there one is one configdir
(/src/main/resources/confdir). here there is the configuracion for all
the projects (ejb project, war project, BO project, webservice
project.....) this is the log4j configuration and other properties
configuration for all the projects.
i want to include this dir into each artifect. Into the war include
the configuration, into the ejb (jar file) include the configuration......
is this posible?
How
thanks
parent proyect (pom 0)
|-module1Classes
|-module2EJB
|-module3BO
|-module4War
Only the module 1 (module1Classes) has one conf directory (confdir) and
inside there are the conf files (properties and xml files)
when i install the projects into the EJB project (jar file) or into the
War project doesn't package the conf directory; inside the jar or war
does't appears the conf directory with these files.
the parent has this pom file (pom 0):
.........
<build>
<resources>
<resource>
<directory>${basedir}/src/main/resources/</directory>
<includes>
<include>confdir/**/*.*</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
<encoding>Cp1252</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<modules>
<module>../module1Classes</module>
<module>../module2EJB</module>
<module>../module3BO</module>
<module>../module4War</module>
</modules>
<dependencies>
...........
</dependencies>
</project>
--
Ron Wheeler
President
Artifact Software Inc
email: [email protected]
skype: ronaldmwheeler
phone: 866-970-2435, ext 102
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]