You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2013/07/23 12:14:50 UTC

[jira] [Updated] (SSHD-216) Can *-javadoc.jar and *-sources.jar please be added to the build

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

Guillaume Nodet updated SSHD-216:
---------------------------------

    Issue Type: Improvement  (was: Bug)
    
> Can *-javadoc.jar and *-sources.jar please be added to the build
> ----------------------------------------------------------------
>
>                 Key: SSHD-216
>                 URL: https://issues.apache.org/jira/browse/SSHD-216
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 0.8.0
>            Reporter: Andrew C
>            Priority: Minor
>
> (mina-core seems to do this already).  Can rules be added to pom.xml so it generates *-sources.jar and *-javadoc.jar - being able to add those to another project's lib makes life much easier :-)
> Seems, all that is needed is to add:
>             <plugin>
>                 <groupId>org.apache.maven.plugins</groupId>
>                 <artifactId>maven-source-plugin</artifactId>
>                 <executions>
>                     <execution>
>                         <id>attach-sources</id>
>                         <goals>
>                             <goal>jar</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>             </plugin>
>             <plugin>
>                 <groupId>org.apache.maven.plugins</groupId>
>                 <artifactId>maven-javadoc-plugin</artifactId>
>                 <executions>
>                     <execution>
>                         <id>attach-javadocs</id>
>                         <goals>
>                             <goal>jar</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>             </plugin>
> to the <plugins> section and then "package" (from memory) builds them.  I got this from http://maven.apache.org/plugin-developers/cookbook/attach-source-javadoc-artifacts.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira