Better yet, I just realized I can add a few lines to my pom and always generate source jars alongside the binary ones:

           <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-source-plugin</artifactId>
               <executions>
                   <execution>
                       <phase>package</phase>
                       <goals>
                           <goal>jar</goal>
                       </goals>
                   </execution>
               </executions>
           </plugin>

-Steve

Joakim Erdfelt wrote:
Manual way ...

mvn clean source:jar javadoc:jar deploy

That causes the jar to be create for each, and be attached to the
'current' active build.
The deploy just takes what is attached and deploys it.

- Joakim

Dave Hoffer wrote:
It doesn't seem the deploy plug-in supports deploying sources and
javadocs for external artifacts.  How can this be done?

-dh




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to