Hi,
I have a war-dependency. Its classes are arranged in war/WEB-INF/classes/.
How should I configure my pom, that I can access they?
I assume, they should be copied from war/WEB-INF/classes/ into
mywar/WEB-INF/classes/, but I don't know, how my pom should correct be
configured.
this is a config of maven-war-plugin
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<warSourceDirectory>war</warSourceDirectory>
<webXml>src/main/webapp/WEB-INF/web.xml</webXml>
<dependentWarExcludes>WEB-INF/lib/*</dependentWarExcludes>
<archive>
<manifestFile>war/META-INF/MANIFEST.MF
</manifestFile>
</archive>
</configuration>
</plugin>
and this is the war-dependency:
<dependency>
<groupId>${groupId}</groupId>
<artifactId>test</artifactId>
<version>${version}</version>
<type>war</type>
</dependency>
Thanks in advance.
Best Regards.
-sipungora.
--
View this message in context:
http://maven.40175.n5.nabble.com/How-access-classes-from-war-dependency-tp4362127p4362127.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]