Farrukh Najmi created SANSELAN-82:
-------------------------------------

             Summary: Generate tests.jar so client projects can leverage test 
image data easily
                 Key: SANSELAN-82
                 URL: https://issues.apache.org/jira/browse/SANSELAN-82
             Project: Commons Sanselan
          Issue Type: Improvement
          Components: Build
    Affects Versions: 0.97
            Reporter: Farrukh Najmi
            Priority: Minor
             Fix For: 1.0


Client projects of commons-imaging need test image data and commons-imaging 
already has a pretty good set. 

The simple patch below can be applied to pom.xml to generate 
commons-imaging-xxx-tests.jar in addition to commons-imaging-xxx.jar to allow 
client projects to leverage the test data.

{code}
Index: pom.xml
===================================================================
--- pom.xml     (revision 1354112)
+++ pom.xml     (working copy)
@@ -89,6 +89,14 @@
       </plugin>
       <plugin>
         <artifactId>maven-jar-plugin</artifactId>
+        <executions>
+          <execution>
+            <goals>
+              <goal>test-jar</goal>
+            </goals>
+          </execution>
+        </executions>
+        
         <configuration>
           <archive>
             <manifestEntries>
{code} 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to