Skip to content

Instantly share code, notes, and snippets.

@Fxe
Created February 3, 2016 16:43
Show Gist options
  • Save Fxe/1c9a673f6483da5b231f to your computer and use it in GitHub Desktop.
Save Fxe/1c9a673f6483da5b231f to your computer and use it in GitHub Desktop.
Watson Maven
<distributionManagement>
<repository>
<id>watson</id>
<url>http://192.168.1.99/nexus/content/repositories/biosystems-releases</url>
</repository>
<snapshotRepository>
<id>watson</id>
<url>http://192.168.1.99/nexus/content/repositories/biosystems-snapshots</url>
</snapshotRepository>
</distributionManagement>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.6</version>
<extensions>true</extensions>
<configuration>
<serverId>watson</serverId>
<nexusUrl>http://192.168.1.99/nexus/</nexusUrl>
</configuration>
</plugin>
<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>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository/>
<interactiveMode/>
<usePluginRegistry/>
<offline/>
<pluginGroups/>
<servers>
<server>
<id>watson</id>
<username>user</username>
<password>password</password>
</server>
</servers>
<mirrors/>
<proxies/>
<profiles/>
<activeProfiles/>
</settings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment