Skip to content
Snippets Groups Projects
Commit 714accf4 authored by Tim Molter's avatar Tim Molter
Browse files

update pom for sonatype OSS distribution

parent b6327806
No related branches found
No related tags found
No related merge requests found
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<name>XChart</name> <name>XChart</name>
...@@ -20,14 +21,11 @@ ...@@ -20,14 +21,11 @@
<developer> <developer>
<name>Tim Molter</name> <name>Tim Molter</name>
</developer> </developer>
<developer>
<name>Alex Nugent</name>
</developer>
</developers> </developers>
<licenses> <licenses>
<license> <license>
<name>Apache 2</name> <name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution> <distribution>repo</distribution>
<comments>A business-friendly OSS license</comments> <comments>A business-friendly OSS license</comments>
</license> </license>
...@@ -37,51 +35,22 @@ ...@@ -37,51 +35,22 @@
<url>https://github.com/timmolter/XChart/issues</url> <url>https://github.com/timmolter/XChart/issues</url>
</issueManagement> </issueManagement>
<scm> <scm>
<connection>scm:git:git@github.com:timmolter/XChart.git</connection>
<developerConnection>scm:git:git@github.com:timmolter/XChart.git</developerConnection>
<url>https://github.com/timmolter/XChart</url> <url>https://github.com/timmolter/XChart</url>
</scm> </scm>
<ciManagement> <ciManagement>
<url>http://ci.xeiam.com/</url> <url>http://ci.xeiam.com/</url>
</ciManagement> </ciManagement>
<distributionManagement>
<snapshotRepository>
<id>xeiam_oss.snapshots</id>
<name>Nexus Snapshots Repo</name>
<url>http://nexus.xeiam.com/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>xeiam_oss.releases</id>
<name>Nexus Release Repo</name>
<url>http://nexus.xeiam.com/content/repositories/releases/</url>
</repository>
</distributionManagement>
<dependencies> <dependencies>
<!-- only needed if using XCharts as part of a webapp -->
<dependency> <dependency>
<groupId>javax.servlet</groupId> <groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId> <artifactId>javax.servlet-api</artifactId>
<version>3.0.1</version> <version>3.0.1</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<!-- test -->
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<!-- dep leaves out hamcrest classes -->
<artifactId>junit-dep</artifactId>
<version>4.10</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies> </dependencies>
<build> <build>
...@@ -132,4 +101,47 @@ ...@@ -132,4 +101,47 @@
</plugins> </plugins>
</build> </build>
<distributionManagement>
<snapshotRepository>
<id>xeiam_oss.sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>http://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>xeiam_oss.sonatype-nexus-staging</id>
<name>Nexus Release Repository</name>
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<downloadUrl>https://oss.sonatype.org/content/groups/public/com/xeiam/xchart</downloadUrl>
</distributionManagement>
<profiles>
<profile>
<id>release-sign-artifacts</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project> </project>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment