Skip to content

Commit

Permalink
Last pom tweaks to make the release maven central compliant
Browse files Browse the repository at this point in the history
  • Loading branch information
nitsanw committed Sep 5, 2014
1 parent 8041c2e commit da61919
Show file tree
Hide file tree
Showing 2 changed files with 137 additions and 45 deletions.
141 changes: 124 additions & 17 deletions jctools-core/pom.xml
Original file line number Diff line number Diff line change
@@ -1,28 +1,135 @@
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jctools</groupId>
<artifactId>jctools-parent</artifactId>
<version>1.0</version>
</parent>
<groupId>org.jctools</groupId>
<artifactId>jctools-core</artifactId>
<name>Java Concurrency Tools Core Library</name>
<description>Java Concurrency Tools Core Library</description>
<version>1.0</version>
<packaging>jar</packaging>
<name>Java Concurrency Tools</name>
<url>https://github.com/JCTools</url>
<inceptionYear>2013</inceptionYear>

<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>

<prerequisites>
<maven>3.0</maven>
</prerequisites>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<scm>
<url>https://github.com/JCTools/JCTools</url>
<connection>scm:git:https://github.com/JCTools/JCTools</connection>
</scm>

<developers>
<developer>
<url>https://github.com/nitsanw</url>
</developer>
<developer>
<url>https://github.com/mjpt777</url>
</developer>
<developer>
<url>https://github.com/RichardWarburton</url>
</developer>
</developers>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.3.1</version>
<executions>
<execution>
<id>enforce-java</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<version>1.8</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
</dependencies>
<distributionManagement>
<repository>
<id>bintray-jctools-jctools-jctools-core</id>
<name>jctools-jctools-jctools-core</name>
<url>https://api.bintray.com/maven/jctools/jctools/jctools-core</url>
</repository>
<repository>
<id>bintray-jctools-jctools-jctools-core</id>
<name>jctools-jctools-jctools-core</name>
<url>https://api.bintray.com/maven/jctools/jctools/jctools-core</url>
</repository>
</distributionManagement>
</project>

Expand Down
41 changes: 13 additions & 28 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<version>1.0</version>
<name>JCTools Parent</name>
<organization>
<url>http://psy-lob-saw.blogspot.com/</url>
<url>https://github.com/JCTools</url>
</organization>
<inceptionYear>2013</inceptionYear>

Expand All @@ -28,11 +28,23 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<scm>
<url>https://github.com/JCTools/JCTools</url>
<connection>scm:git:https://github.com/JCTools/JCTools</connection>
</scm>

<developers>
<developer><url>https://github.com/nitsanw</url></developer>
<developer><url>https://github.com/mjpt777</url></developer>
<developer><url>https://github.com/RichardWarburton</url></developer>
</developers>

<modules>
<module>jctools-core</module>
<module>jctools-benchmarks</module>
<module>jctools-experimental</module>
</modules>

<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -64,33 +76,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit da61919

Please sign in to comment.