
Today, I needed to deploy a 3rd party JAR file to our internal Nexus repository. The 3rd party JAR file was build from source, so I wanted to include the sources as well in our repo. I found out you can easily do this with -DperformRelease=true:
C:\Documents and Settings\jhbcrd6\Desktop\ejb3unit>mvn deploy -DperformRelease=true ... [INFO] [deploy:deploy] Uploading: 8< ... >8 ejb3unit-2.0.0-ctp.jar 15412K uploaded (ejb3unit-2.0.0-ctp.jar) ... [INFO] Uploading repository metadata for: 'artifact com.bm:ejb3unit' [INFO] Uploading project information for ejb3unit 2.0.0-ctp Uploading: 8< ... >8 ejb3unit-2.0.0-ctp-sources.jar 368K uploaded (ejb3unit-2.0.0-ctp-sources.jar) Uploading: 8< ... >8 ejb3unit-2.0.0-ctp-javadoc.jar 1798K uploaded (ejb3unit-2.0.0-ctp-javadoc.jar)
Add new comment