You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Osborne, Matthew" <Ma...@suny.edu> on 2005/12/06 16:32:53 UTC
[m2] Configuring includes
Okay this should be a pretty easy question. I am building a project
that generates multiple artifacts per the new documentation on 'Using
Maven when you can't use the conventions' and I've encountered a
problem. Whenever I try to build the individual source code
directories, it skips over my source code completely and just creates an
empty jar file. The pom file is below:
<project>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>Finance</groupId>
<artifactId>Vendor</artifactId>
<version>1.0</version>
</parent>
<groupId>Finance.Vendor</groupId>
<artifactId>src</artifactId>
<packaging>jar</packaging>
<build>
<sourceDirectory>../src/java/edu</sourceDirectory>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<includes><include>**/edu/**</include></includes>
</configuration>
</plugin>
</plugins>
</build>
</project>
I've been told its most likely an issue with the includes. Any
thoughts/comments?
Matt Osborne
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org