aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Eluard <[email protected]>2012-11-28 00:19:18 -0300
committerJulien Eluard <[email protected]>2012-11-28 00:19:18 -0300
commitf93d913a75da9cc8e42c6ef382dc3fac271b078c (patch)
treef199faa130d965f923d42f2078fb71bfbc776d43
parent265276d985615c155521a659989b74d289da786d (diff)
Rely on oss-parent.
-rwxr-xr-xapi/pom.xml109
-rwxr-xr-xenforcer-rule/pom.xml90
-rwxr-xr-xpom.xml162
3 files changed, 129 insertions, 232 deletions
diff --git a/api/pom.xml b/api/pom.xml
index c3229bd..e6a4db9 100755
--- a/api/pom.xml
+++ b/api/pom.xml
@@ -1,63 +1,62 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">
- <modelVersion>4.0.0</modelVersion>
+ <modelVersion>4.0.0</modelVersion>
- <artifactId>api</artifactId>
- <packaging>jar</packaging>
+ <artifactId>api</artifactId>
- <name>API</name>
+ <name>API</name>
- <parent>
- <groupId>org.semver</groupId>
- <artifactId>parent</artifactId>
- <version>0.9.16-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
+ <parent>
+ <groupId>org.semver</groupId>
+ <artifactId>parent</artifactId>
+ <version>0.9.16-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
- <dependencies>
- <dependency>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>jsr305</artifactId>
- <version>2.0.0</version>
- </dependency>
- <dependency>
- <groupId>jardiff</groupId>
- <artifactId>jardiff</artifactId>
- <version>0.2</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.10</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
+ <dependencies>
+ <dependency>
+ <groupId>com.google.code.findbugs</groupId>
+ <artifactId>jsr305</artifactId>
+ <version>2.0.0</version>
+ </dependency>
+ <dependency>
+ <groupId>jardiff</groupId>
+ <artifactId>jardiff</artifactId>
+ <version>0.2</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.10</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-shade-plugin</artifactId>
- <version>1.5</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- <configuration>
- <transformers>
- <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
- <mainClass>org.semver.Main</mainClass>
- </transformer>
- </transformers>
- <shadedArtifactAttached>true</shadedArtifactAttached>
- <shadedClassifierName>full</shadedClassifierName>
- <finalName>semver-${project.version}</finalName>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>1.5</version>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ <configuration>
+ <transformers>
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
+ <mainClass>org.semver.Main</mainClass>
+ </transformer>
+ </transformers>
+ <shadedArtifactAttached>true</shadedArtifactAttached>
+ <shadedClassifierName>full</shadedClassifierName>
+ <finalName>semver-${project.version}</finalName>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
-</project> \ No newline at end of file
+</project>
diff --git a/enforcer-rule/pom.xml b/enforcer-rule/pom.xml
index 632fcaf..dca140a 100755
--- a/enforcer-rule/pom.xml
+++ b/enforcer-rule/pom.xml
@@ -1,54 +1,54 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">
- <modelVersion>4.0.0</modelVersion>
+ <modelVersion>4.0.0</modelVersion>
- <artifactId>enforcer-rule</artifactId>
+ <artifactId>enforcer-rule</artifactId>
- <name>Enforcer Rule</name>
+ <name>Enforcer Rule</name>
- <parent>
- <groupId>org.semver</groupId>
- <artifactId>parent</artifactId>
- <version>0.9.16-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
+ <parent>
+ <groupId>org.semver</groupId>
+ <artifactId>parent</artifactId>
+ <version>0.9.16-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
- <properties>
- <api.version>1.0.1</api.version>
- <maven.version>2.2.1</maven.version>
- </properties>
+ <properties>
+ <api.version>1.0.1</api.version>
+ <maven.version>2.2.1</maven.version>
+ </properties>
- <dependencies>
- <dependency>
- <groupId>org.semver</groupId>
- <artifactId>api</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven.enforcer</groupId>
- <artifactId>enforcer-api</artifactId>
- <version>${api.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-project</artifactId>
- <version>${maven.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-core</artifactId>
- <version>${maven.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-artifact</artifactId>
- <version>${maven.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-plugin-api</artifactId>
- <version>${maven.version}</version>
- </dependency>
- </dependencies>
+ <dependencies>
+ <dependency>
+ <groupId>org.semver</groupId>
+ <artifactId>api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.enforcer</groupId>
+ <artifactId>enforcer-api</artifactId>
+ <version>${api.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-project</artifactId>
+ <version>${maven.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-core</artifactId>
+ <version>${maven.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-artifact</artifactId>
+ <version>${maven.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-plugin-api</artifactId>
+ <version>${maven.version}</version>
+ </dependency>
+ </dependencies>
</project>
diff --git a/pom.xml b/pom.xml
index df458fd..2e6e60e 100755
--- a/pom.xml
+++ b/pom.xml
@@ -1,136 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.semver</groupId>
- <artifactId>parent</artifactId>
- <version>0.9.16-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <name>Semantic Versioning</name>
- <inceptionYear>2010</inceptionYear>
- <url>http://github.com/jeluard/semantic-versioning</url>
-
- <description>
- A library to automatically validate if your project's version number follows Semantic Versioning principles
- </description>
-
- <parent>
- <groupId>org.sonatype.oss</groupId>
- <artifactId>oss-parent</artifactId>
- <version>7</version>
- </parent>
-
- <modules>
- <module>api</module>
- <module>enforcer-rule</module>
- </modules>
-
- <licenses>
- <license>
- <name>Apache 2</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
- <distribution>repo</distribution>
- </license>
- </licenses>
-
- <developers>
- <developer>
- <id>julien</id>
- <name>Julien Eluard</name>
- </developer>
- </developers>
-
- <scm>
- <connection>scm:git:[email protected]:jeluard/semantic-versioning</connection>
- <developerConnection>scm:git:[email protected]:jeluard/semantic-versioning</developerConnection>
- <url>scm:git:[email protected]:jeluard/semantic-versioning</url>
- </scm>
-
- <issueManagement>
- <system>Github</system>
- <url>http://github.com/jeluard/semantic-versioning/issues</url>
- </issueManagement>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
-
- <build>
- <plugins>
- <plugin>
- <groupId>com.mycila.maven-license-plugin</groupId>
- <artifactId>maven-license-plugin</artifactId>
- <version>1.10.b1</version>
- <configuration>
- <header>LICENSE</header>
- <failIfMissing>true</failIfMissing>
- <aggregate>true</aggregate>
- <strictCheck>true</strictCheck>
- <excludes>
- <exclude>.gitignore</exclude>
- <exclude>README.textile</exclude>
- <exclude>LICENSE</exclude>
- <exclude>NOTICE</exclude>
- <exclude>licenses/*</exclude>
- <exclude>**/dependency-reduced-pom.xml</exclude>
- </excludes>
- </configuration>
- <executions>
- <execution>
- <id>check-headers</id>
- <phase>verify</phase>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-source-plugin</artifactId>
- <version>2.1.2</version>
- <executions>
- <execution>
- <id>attach-sources</id>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.3.2</version>
- <configuration>
- <source>1.6</source>
- <target>1.6</target>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-jar-plugin</artifactId>
- <version>2.3.2</version>
- </plugin>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.8.1</version>
- <executions>
- <execution>
- <id>attach-javadocs</id>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-release-plugin</artifactId>
- <version>2.2.2</version>
- <configuration>
- <mavenExecutorId>forked-path</mavenExecutorId>
- <preparationGoals>clean install</preparationGoals>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>org.semver</groupId>
+ <artifactId>parent</artifactId>
+ <version>0.9.16-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+ <name>Semantic Versioning</name>
+ <inceptionYear>2010</inceptionYear>
+
+ <description>
+ A library to automatically validate if your project's version number follows Semantic Versioning principles
+ </description>
+
+ <parent>
+ <groupId>com.github.jeluard</groupId>
+ <artifactId>oss-parent</artifactId>
+ <version>2</version>
+ </parent>
+
+ <modules>
+ <module>api</module>
+ <module>enforcer-rule</module>
+ </modules>
+
+ <scm>
+ <connection>scm:git:[email protected]:jeluard/semantic-versioning</connection>
+ <developerConnection>scm:git:[email protected]:jeluard/semantic-versioning</developerConnection>
+ <url>scm:git:[email protected]:jeluard/semantic-versioning</url>
+ </scm>
</project>