MarioNote

December 15, 2012

Maven command to attach source and javadoc

Filed under: Java — mariojump @ 8:23 am

The steps to have Maven attach source and Javadoc files are as follows.

First, edit pom.xml as shown in:

http://maven.apache.org/plugin-developers/cookbook/attach-source-javadoc-artifacts.html

Then, run:

mvn package

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: