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>

169
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,84 +44,11 @@
<distribution>repo</distribution> <distribution>repo</distribution>
</license> </license>
</licenses> </licenses>
<repositories>
<repository> <properties>
<id>maven2-repository.dev.java.net</id> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<url>http://download.java.net/maven/2</url> </properties>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.rometools</groupId>
<artifactId>rome</artifactId>
<version>2.0.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>1.0</version>
<configuration>
<goals>install</goals>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</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>
</build>
<profiles>
<profile>
<id>release</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<distributionManagement> <distributionManagement>
<repository> <repository>
<id>central.staging</id> <id>central.staging</id>
@ -125,20 +61,22 @@
<url>https://oss.sonatype.org/content/repositories/snapshots/</url> <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository> </snapshotRepository>
</distributionManagement> </distributionManagement>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<executions> <version>3.1</version>
<execution> <configuration>
<id>sign-artifacts</id> <source>1.6</source>
<phase>verify</phase> <target>1.6</target>
<goals> </configuration>
<goal>sign</goal> </plugin>
</goals> <plugin>
</execution> <groupId>org.apache.maven.plugins</groupId>
</executions> <artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
@ -164,24 +102,47 @@
</execution> </execution>
</executions> </executions>
</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-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>
</plugin>
</plugins> </plugins>
</build> </build>
</profile>
</profiles>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<reporting> <reporting>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId> <artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.6</version> <version>2.7</version>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<version>2.9</version> <version>2.9.1</version>
<reportSets> <reportSets>
<reportSet> <reportSet>
<reports> <reports>
@ -200,4 +161,20 @@
</plugin> </plugin>
</plugins> </plugins>
</reporting> </reporting>
<dependencies>
<dependency>
<groupId>org.rometools</groupId>
<artifactId>rome</artifactId>
<version>2.0.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
</dependencies>
</project> </project>