Greetings: 

I found the answer to my question in the maven-source-plugin wiki page here:
http://docs.codehaus.org/display/MAVENUSER/Source+Plugin

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-source-plugin</artifactId>
  <configuration>
    <attach>true</attach>
  </configuration>
  <executions>
    <execution>
      <phase>install</phase>
      <goals>
        <goal>jar</goal>
        <goal>test-jar</goal>
      </goals>
    </execution>
  </executions>
</plugin>

Now when I invoke 'mvn release:perform', the test-sources are included in
the list of artifacts deployed to the maven repository.  

Thanks.
Bill.

-- 
View this message in context: 
http://www.nabble.com/how-do-I-include-test-sources-in-the-release%3Aprepare-and-release%3Apreform-targets.-tp25530447p25530749.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]

Reply via email to