Never mind I figured out my problem.  I dropped the <includes> section,
and the <sourceDirectory> was set 2 levels too high (needed to start at
/edu)

Matt Osborne 

-----Original Message-----
From: Osborne, Matthew 
Sent: Tuesday, December 06, 2005 10:33 AM
To: [email protected]
Subject: [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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to