create test-jar for consumers
-----------------------------
Key: MRM-1430
URL: http://jira.codehaus.org/browse/MRM-1430
Project: Archiva
Issue Type: Improvement
Components: repository scanning
Affects Versions: 1.3.1
Reporter: Jim Sellers
There are some parent test classes [1] that would be helpful to use when
writing a consumer plugin. It would be helpful if a test jar [2] was created
with the -sources and -javadoc by maven.
Below is a sample that could be put into a parent pom.
{code:xml}
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
{code}
[1]
http://archiva.apache.org/ref/1.3.1/xref-test/org/apache/maven/archiva/consumers/core/repository/AbstractRepositoryPurgeTest.html
[2] http://maven.apache.org/plugins/maven-jar-plugin/test-jar-mojo.html
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira