You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Farrukh Najmi (JIRA)" <ji...@apache.org> on 2012/06/26 21:43:44 UTC

[jira] [Updated] (SANSELAN-82) Generate tests.jar so client projects can leverage test image data easily

     [ https://issues.apache.org/jira/browse/SANSELAN-82?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Farrukh Najmi updated SANSELAN-82:
----------------------------------

    Attachment: SANSELAN-82-patch.txt

Proposed patch to address this issue.
                
> 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
>
>         Attachments: SANSELAN-82-patch.txt
>
>
> 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