[ 
https://issues.apache.org/jira/browse/NET-187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577082#action_12577082
 ] 

James Carman commented on NET-187:
----------------------------------

Instead of having test classes in your distribution jar, I'd suggest you have 
Maven create a "test jar" for your project:

http://maven.apache.org/guides/mini/guide-attached-tests.html

This way, if someone wants to use your TFTPServer implementation, they can 
declare this dependency:

<dependency>
  <groupId>org.apache.commons</groupId>
  <artifactId>commons-net</artifactId>
  <version>2.0</version>
  <classifier>*tests*</classifier>
</dependency>

> TFTP Server for commons net 
> ----------------------------
>
>                 Key: NET-187
>                 URL: https://issues.apache.org/jira/browse/NET-187
>             Project: Commons Net
>          Issue Type: New Feature
>    Affects Versions: 1.4
>            Reporter: Dan Armbrust
>            Priority: Minor
>             Fix For: 2.0
>
>         Attachments: TFTPServer and Tests.patch
>
>
> Bug for attaching TFTP Server.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to