Updated POM

Removed unnecessary files
This commit is contained in:
Patrick Gotthard 2013-10-07 22:27:38 +02:00
parent 7b8c9259d0
commit 584bc72493
3 changed files with 125 additions and 179 deletions

9
README
View file

@ -1,9 +0,0 @@
ROME Modules
Build Instructions
-------------------------------------------------------------------------------
To build with Maven 2+:
> mvn package

View file

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<actions>
<action>
<actionName>CUSTOM-site</actionName>
<displayName>site</displayName>
<goals>
<goal>site</goal>
</goals>
</action>
<action>
<actionName>CUSTOM-release</actionName>
<displayName>release</displayName>
<goals>
<goal>clean</goal>
<goal>source:jar</goal>
<goal>javadoc:jar</goal>
<goal>package</goal>
<goal>gpg:sign</goal>
<goal>repository:bundle-create</goal>
</goals>
</action>
</actions>

273
pom.xml
View file

@ -1,26 +1,34 @@
<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/maven-v4_0_0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.rometools</groupId> <groupId>org.rometools</groupId>
<artifactId>rome-modules</artifactId> <artifactId>rome-modules</artifactId>
<packaging>jar</packaging>
<version>1.5-SNAPSHOT</version> <version>1.5-SNAPSHOT</version>
<name>rome-modules</name> <name>rome-modules</name>
<description>Plugin collection for the ROME RSS and Atom Utilities</description> <description>Plugin collection for the ROME RSS and Atom Utilities</description>
<url>http://rometools.github.io/rome-modules/</url> <url>http://rometools.github.io/rome-modules/</url>
<organization> <organization>
<name>ROME Project</name> <name>ROME Project</name>
<url>https://github.com/rometools/</url> <url>https://github.com/rometools/</url>
</organization> </organization>
<issueManagement> <issueManagement>
<url>https://github.com/rometools/rome-modules/issues</url> <url>https://github.com/rometools/rome-modules/issues</url>
</issueManagement> </issueManagement>
<scm> <scm>
<connection>scm:git:git@github.com:rometools/rome-modules.git</connection> <connection>scm:git:git@github.com:rometools/rome-modules.git</connection>
<developerConnection>scm:git:git@github.com:rometools/rome-modules.git</developerConnection> <developerConnection>scm:git:git@github.com:rometools/rome-modules.git</developerConnection>
<url>https://github.com/rometools/rome-modules/</url> <url>https://github.com/rometools/rome-modules/</url>
</scm> </scm>
<developers> <developers>
<developer> <developer>
<id>kebernet</id> <id>kebernet</id>
@ -28,6 +36,7 @@
<name>Robert Cooper</name> <name>Robert Cooper</name>
</developer> </developer>
</developers> </developers>
<licenses> <licenses>
<license> <license>
<name>The Apache Software License, Version 2.0</name> <name>The Apache Software License, Version 2.0</name>
@ -35,169 +44,137 @@
<distribution>repo</distribution> <distribution>repo</distribution>
</license> </license>
</licenses> </licenses>
<repositories>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<distributionManagement>
<repository> <repository>
<id>maven2-repository.dev.java.net</id> <id>central.staging</id>
<url>http://download.java.net/maven/2</url> <name>Nexus Release Repository</name>
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository> </repository>
</repositories> <snapshotRepository>
<dependencies> <id>sonatype.snapshots</id>
<dependency> <name>My Nexus Snapshots Repository</name>
<groupId>junit</groupId> <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<artifactId>junit</artifactId> </snapshotRepository>
<version>3.8.1</version> </distributionManagement>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.rometools</groupId>
<artifactId>rome</artifactId>
<version>2.0.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
</dependencies>
<build> <build>
<plugins> <plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>1.0</version>
<configuration>
<goals>install</goals>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version> <version>3.1</version>
<configuration> <configuration>
<source>1.5</source> <source>1.6</source>
<target>1.5</target> <target>1.6</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId> <artifactId>maven-resources-plugin</artifactId>
<version>2.6</version> <version>2.6</version>
</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>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.3</version>
<configuration> <configuration>
<encoding>${project.build.sourceEncoding}</encoding> <port>9000</port>
<tempWebappDirectory>${basedir}/target/site/tempdir</tempWebappDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>1.8.1</version>
<configuration>
<goals>install</goals>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<version>1.0-beta-2</version>
<configuration>
<scmBranch>gh-pages</scmBranch>
<pubScmUrl>scm:git:git@github.com:rometools/rome-modules.git</pubScmUrl>
<content>${project.build.directory}/site</content>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.3</version>
<configuration>
<port>9000</port>
<tempWebappDirectory>${basedir}/target/site/tempdir</tempWebappDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<version>1.0-beta-2</version>
<configuration>
<scmBranch>gh-pages</scmBranch>
<pubScmUrl>scm:git:git@github.com:rometools/rome-modules.git</pubScmUrl>
<content>${project.build.directory}/site</content>
</configuration>
</plugin>
</plugins> </plugins>
</build> </build>
<profiles>
<profile> <reporting>
<id>release</id> <plugins>
<activation> <plugin>
<property> <groupId>org.apache.maven.plugins</groupId>
<name>performRelease</name> <artifactId>maven-project-info-reports-plugin</artifactId>
<value>true</value> <version>2.7</version>
</property> </plugin>
</activation> <plugin>
<distributionManagement> <groupId>org.apache.maven.plugins</groupId>
<repository> <artifactId>maven-javadoc-plugin</artifactId>
<id>central.staging</id> <version>2.9.1</version>
<name>Nexus Release Repository</name> <reportSets>
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2</url> <reportSet>
</repository> <reports>
<snapshotRepository> <report>javadoc</report>
<id>sonatype.snapshots</id> <report>test-javadoc</report>
<name>My Nexus Snapshots Repository</name> </reports>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url> </reportSet>
</snapshotRepository> <reportSet>
</distributionManagement> <id>aggregate</id>
<build> <inherited>false</inherited>
<plugins> <reports>
<plugin> <report>aggregate</report>
<groupId>org.apache.maven.plugins</groupId> </reports>
<artifactId>maven-gpg-plugin</artifactId> </reportSet>
<executions> </reportSets>
<execution> </plugin>
<id>sign-artifacts</id> </plugins>
<phase>verify</phase> </reporting>
<goals>
<goal>sign</goal> <dependencies>
</goals> <dependency>
</execution> <groupId>org.rometools</groupId>
</executions> <artifactId>rome</artifactId>
</plugin> <version>2.0.0-SNAPSHOT</version>
<plugin> <scope>compile</scope>
<groupId>org.apache.maven.plugins</groupId> </dependency>
<artifactId>maven-source-plugin</artifactId> <dependency>
<executions> <groupId>junit</groupId>
<execution> <artifactId>junit</artifactId>
<id>attach-sources</id> <version>4.11</version>
<goals> <scope>test</scope>
<goal>jar</goal> </dependency>
</goals> </dependencies>
</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>
</plugins>
</build>
</profile>
</profiles>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.6</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9</version>
<reportSets>
<reportSet>
<reports>
<report>javadoc</report>
<report>test-javadoc</report>
</reports>
</reportSet>
<reportSet>
<id>aggregate</id>
<inherited>false</inherited>
<reports>
<report>aggregate</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
</project> </project>