Scott,

I don't use Nexus, but Artifactory. I think it's quite similliar

Prerequisites:
  - Add your respository and your credentials to your settings.xml e.g.
         <!--
                Server settings (e.g. for deployment). Id must match the one in 
your
                pom.xml distributionManagement section.
        -->
        <servers>
                <server>
                        <id>nexus.your-server.local-releases</id>
                        <username>yourusername</username>
                        <password>yourpass</password>
                </server>
                <server>
                        <id>nexus. your-server.local-snapshots</id>
                        <username> yourusername </username>
                        <password> yourpass </password>
                </server>
        </servers>

  - Add the distributionManagement section to your main pom, e.g.
    <distributionManagement>
        <repository>
                <id>nexus.your-server.local-releases</id>
                <name>nexus.your-server.local-releases</name>
                
<url>http://nexus.your-server.local/url_to_your_release_repo</url>
        </repository>
        <snapshotRepository>
                <id>nexus. your-server.local-snapshots</id>
                <name>nexus. your-server.local-snapshots</name>
                <url>http://192.168.121.100:8081/url_to_your_release_repo </url>
        </snapshotRepository>
    </distributionManagement>

- Maybe other mvn plugins you need for JavaDoc and Source generation.

To deploy to the repo, simply perform:
mvn javadoc:jar source:jar deploy
This deploys the artifact, javadoc jar and source jar to the repo

Hope this helps!

Robert

Am 26.06.2009 um 15:35 schrieb Scott Battaglia:

> Is anyone familiar with a quick way to upload multiple artifacts to  
> a Nexus repository?  I have CAS 3.3.3 ready to go but uploading each  
> file individually is quite time-consuming.
>
> Cheers,
> Scott
>
> -- 
> You are currently subscribed to [email protected] as: 
> [email protected]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-dev


-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to