fixed pom

This commit is contained in:
Benjamin Diedrichsen 2014-08-31 12:44:41 +02:00
parent f485cdef1c
commit e2a403e857

560
pom.xml
View File

@ -1,280 +1,280 @@
<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"> <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">
<parent> <parent>
<groupId>org.sonatype.oss</groupId> <groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId> <artifactId>oss-parent</artifactId>
<version>7</version> <version>7</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>net.engio</groupId> <groupId>net.engio</groupId>
<artifactId>mbassador</artifactId> <artifactId>mbassador</artifactId>
<version>1.1.11-SNAPSHOT</version> <version>1.2.0-SNAPSHOT</version>
<packaging>bundle</packaging> <packaging>bundle</packaging>
<name>mbassador</name> <name>mbassador</name>
<description> <description>
Mbassador is a fast and flexible message bus system following the publish subscribe pattern. Mbassador is a fast and flexible message bus system following the publish subscribe pattern.
It is designed for ease of use and aims to be feature rich and extensible It is designed for ease of use and aims to be feature rich and extensible
while preserving resource efficiency and performance. while preserving resource efficiency and performance.
It features: It features:
declarative handler definition via annotations, declarative handler definition via annotations,
sync and/or async message delivery, sync and/or async message delivery,
weak-references, weak-references,
message filtering, message filtering,
ordering of message handlers etc. ordering of message handlers etc.
</description> </description>
<url>https://github.com/bennidi/mbassador</url> <url>https://github.com/bennidi/mbassador</url>
<licenses> <licenses>
<license> <license>
<name>MIT license</name> <name>MIT license</name>
<url>http://www.opensource.org/licenses/mit-license.php</url> <url>http://www.opensource.org/licenses/mit-license.php</url>
</license> </license>
</licenses> </licenses>
<scm> <scm>
<url>git@github.com:bennidi/mbassador.git</url> <url>git@github.com:bennidi/mbassador.git</url>
<connection>scm:git:git@github.com:bennidi/mbassador.git</connection> <connection>scm:git:git@github.com:bennidi/mbassador.git</connection>
<tag>mbassador-1.1.4</tag> <tag>mbassador-1.2.0</tag>
<developerConnection>scm:git:git@github.com:bennidi/mbassador.git</developerConnection> <developerConnection>scm:git:git@github.com:bennidi/mbassador.git</developerConnection>
</scm> </scm>
<developers> <developers>
<developer> <developer>
<id>bennidi</id> <id>bennidi</id>
<name>Benjamin Diedrichsen</name> <name>Benjamin Diedrichsen</name>
<timezone>+1</timezone> <timezone>+1</timezone>
<email>b.diedrichsen@googlemail.com</email> <email>b.diedrichsen@googlemail.com</email>
</developer> </developer>
</developers> </developers>
<properties> <properties>
<nazgul-codestyle.version>2.0.1</nazgul-codestyle.version> <nazgul-codestyle.version>2.0.1</nazgul-codestyle.version>
<jdk.version>1.6</jdk.version> <jdk.version>1.6</jdk.version>
<pmd.plugin.version>3.0.1</pmd.plugin.version> <pmd.plugin.version>3.0.1</pmd.plugin.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.java.version>1.6</project.build.java.version> <project.build.java.version>1.6</project.build.java.version>
<github.url>file://${project.basedir}/mvn-local-repo</github.url> <github.url>file://${project.basedir}/mvn-local-repo</github.url>
</properties> </properties>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<version>4.10</version> <version>4.10</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId> <artifactId>slf4j-api</artifactId>
<version>1.7.5</version> <version>1.7.5</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId> <artifactId>slf4j-log4j12</artifactId>
<version>1.7.5</version> <version>1.7.5</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>javax.el</groupId> <groupId>javax.el</groupId>
<artifactId>el-api</artifactId> <artifactId>el-api</artifactId>
<version>2.2</version> <version>2.2</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>de.odysseus.juel</groupId> <groupId>de.odysseus.juel</groupId>
<artifactId>juel-impl</artifactId> <artifactId>juel-impl</artifactId>
<version>2.2.7</version> <version>2.2.7</version>
<scope>runtime</scope> <scope>runtime</scope>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
<dependency> <dependency>
<groupId>de.odysseus.juel</groupId> <groupId>de.odysseus.juel</groupId>
<artifactId>juel-spi</artifactId> <artifactId>juel-spi</artifactId>
<version>2.2.7</version> <version>2.2.7</version>
<scope>runtime</scope> <scope>runtime</scope>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
</dependencies> </dependencies>
<!-- Local repository (for testing) <!-- Local repository (for testing)
<distributionManagement> <distributionManagement>
<repository> <repository>
<id>mbassador-github-repo</id> <id>mbassador-github-repo</id>
<url>${github.url}</url> <url>${github.url}</url>
</repository> </repository>
</distributionManagement> </distributionManagement>
--> -->
<build> <build>
<plugins> <plugins>
<!-- plugin> <!-- plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId> <artifactId>maven-pmd-plugin</artifactId>
<version>${pmd.plugin.version}</version> <version>${pmd.plugin.version}</version>
<configuration> <configuration>
<excludeRoots> <excludeRoots>
<excludeRoot>src/main/generated</excludeRoot> <excludeRoot>src/main/generated</excludeRoot>
<excludeRoot>src/test</excludeRoot> <excludeRoot>src/test</excludeRoot>
</excludeRoots> </excludeRoots>
<rulesets> <rulesets>
<ruleset>/codestyle/pmd-rules.xml</ruleset> <ruleset>/codestyle/pmd-rules.xml</ruleset>
</rulesets> </rulesets>
<targetJdk>${jdk.version}</targetJdk> <targetJdk>${jdk.version}</targetJdk>
<sourceEncoding>${project.build.sourceEncoding}</sourceEncoding> <sourceEncoding>${project.build.sourceEncoding}</sourceEncoding>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>
<goals> <goals>
<goal>check</goal> <goal>check</goal>
<goal>cpd-check</goal> <goal>cpd-check</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>se.jguru.nazgul.tools.codestyle</groupId> <groupId>se.jguru.nazgul.tools.codestyle</groupId>
<artifactId>nazgul-codestyle</artifactId> <artifactId>nazgul-codestyle</artifactId>
<version>${nazgul-codestyle.version}</version> <version>${nazgul-codestyle.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
</plugin --> </plugin -->
<plugin> <plugin>
<groupId>org.apache.felix</groupId> <groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId> <artifactId>maven-bundle-plugin</artifactId>
<version>2.3.7</version> <version>2.3.7</version>
<extensions>true</extensions> <extensions>true</extensions>
<configuration> <configuration>
<instructions> <instructions>
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName> <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
<Export-Package>{local-packages}</Export-Package> <Export-Package>{local-packages}</Export-Package>
</instructions> </instructions>
</configuration> </configuration>
</plugin> </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>
<configuration> <configuration>
<source>${project.build.java.version}</source> <source>${project.build.java.version}</source>
<target>${project.build.java.version}</target> <target>${project.build.java.version}</target>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId> <artifactId>maven-release-plugin</artifactId>
<version>2.4</version> <version>2.4</version>
<configuration> <configuration>
<mavenExecutorId>forked-path</mavenExecutorId> <mavenExecutorId>forked-path</mavenExecutorId>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<configuration> <configuration>
<skipTests>false</skipTests> <skipTests>false</skipTests>
<excludes> <excludes>
<!-- exclude the suite which is a convenience class for running all tests from IDE or using scripts --> <!-- exclude the suite which is a convenience class for running all tests from IDE or using scripts -->
<exclude>AllTests.java</exclude> <exclude>AllTests.java</exclude>
</excludes> </excludes>
</configuration> </configuration>
</plugin> </plugin>
<!-- bind the source attaching to package phase --> <!-- bind the source attaching to package phase -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId> <artifactId>maven-source-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<id>attach-sources</id> <id>attach-sources</id>
<goals> <goals>
<goal>jar</goal> <goal>jar</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
</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>
<executions> <executions>
<execution> <execution>
<id>attach-javadocs</id> <id>attach-javadocs</id>
<goals> <goals>
<goal>jar</goal> <goal>jar</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<!-- <!--
These two plugins take care of building and publishing the javadoc, using These two plugins take care of building and publishing the javadoc, using
mvn clean javadoc:javadoc scm-publish:publish-scm mvn clean javadoc:javadoc scm-publish:publish-scm
--> -->
<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.1</version> <version>2.9.1</version>
<configuration> <configuration>
<aggregate>true</aggregate> <aggregate>true</aggregate>
<show>public</show> <show>public</show>
<nohelp>true</nohelp> <nohelp>true</nohelp>
<header>mbassador, ${project.version}</header> <header>mbassador, ${project.version}</header>
<footer>mbassador, ${project.version}</footer> <footer>mbassador, ${project.version}</footer>
<doctitle>mbassador, ${project.version}</doctitle> <doctitle>mbassador, ${project.version}</doctitle>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId> <artifactId>maven-scm-publish-plugin</artifactId>
<version>1.0-beta-2</version> <version>1.0-beta-2</version>
<configuration> <configuration>
<checkoutDirectory>${project.build.directory}/scmpublish</checkoutDirectory> <checkoutDirectory>${project.build.directory}/scmpublish</checkoutDirectory>
<checkinComment>Publishing javadoc for ${project.artifactId}:${project.version}</checkinComment> <checkinComment>Publishing javadoc for ${project.artifactId}:${project.version}</checkinComment>
<content>${project.reporting.outputDirectory}/apidocs</content> <content>${project.reporting.outputDirectory}/apidocs</content>
<skipDeletedFiles>true</skipDeletedFiles> <skipDeletedFiles>true</skipDeletedFiles>
<pubScmUrl>scm:git:git@github.com:bennidi/mbassador.git</pubScmUrl> <pubScmUrl>scm:git:git@github.com:bennidi/mbassador.git</pubScmUrl>
<scmBranch>gh-pages</scmBranch> <!-- branch with static site on github--> <scmBranch>gh-pages</scmBranch> <!-- branch with static site on github-->
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<profiles> <profiles>
<profile> <profile>
<id>release-sign-artifacts</id> <id>release-sign-artifacts</id>
<activation> <activation>
<property> <property>
<name>performRelease</name> <name>performRelease</name>
<value>true</value> <value>true</value>
</property> </property>
</activation> </activation>
<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-gpg-plugin</artifactId>
<version>1.4</version> <version>1.4</version>
<executions> <executions>
<execution> <execution>
<id>sign-artifacts</id> <id>sign-artifacts</id>
<phase>verify</phase> <phase>verify</phase>
<goals> <goals>
<goal>sign</goal> <goal>sign</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
</profile> </profile>
</profiles> </profiles>
</project> </project>