Hi,

I'm using the maven-source-plugin with a basic configuration:
   <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-source-plugin</artifactId>
    <executions>
     <execution>
      <goals>
       <goal>jar</goal>
       <goal>test-jar</goal>
      </goals>
     </execution>
    </executions>
   </plugin>


However, I'd like to include some extra external files in my sources.jar 
file but am not quite sure how to do this (for reference purposes).  From 
what I can tell the source-plugin gets it resource list from the build 
resources.  However, I don't want to put the resources directly in the build 
information, or they will make their way into my war and try to be compiled.

I've tried to use the maven-resources-plugin to copy the files, but quite 
frankly, I'm not sure where to copy them so that the source-plugin picks 
them up, nor do I quite understand from which phase the resource-plugin 
should be called.

Can anyone point me in the right direction?

Thanks!

Eric







---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to