| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <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.apache</groupId> |
| <artifactId>apache</artifactId> |
| <version>6</version> |
| </parent> |
| |
| <groupId>org.apache.activemq.protobuf</groupId> |
| <artifactId>activemq-protobuf-pom</artifactId> |
| <version>1.1-SNAPSHOT</version> |
| |
| <packaging>pom</packaging> |
| <name>ActiveMQ Protocol Buffers POM</name> |
| |
| <description> |
| A Simpler Protocol Buffer Java API. Comes with a built in proto file compiler and Java source code generator. |
| </description> |
| |
| <prerequisites> |
| <maven>2.0.8</maven> |
| </prerequisites> |
| |
| <url>http://activemq.apache.org</url> |
| <mailingLists> |
| <mailingList> |
| <name>Development List</name> |
| <subscribe>dev-subscribe@activemq.apache.org</subscribe> |
| <unsubscribe>dev-unsubscribe@activemq.apache.org</unsubscribe> |
| <post>dev@activemq.apache.org</post> |
| </mailingList> |
| </mailingLists> |
| |
| <properties> |
| <siteId>protobuf</siteId> |
| <!-- base url for site deployment. See distribution management for full url. Override this in settings.xml for staging --> |
| <staging.siteURL>scp://people.apache.org/x1/www/activemq.apache.org</staging.siteURL> |
| </properties> |
| |
| <distributionManagement> |
| <site> |
| <!-- this needs to match a server in your settings.xml with upload settings --> |
| <id>protobuf-website</id> |
| <!-- set the staging.siteURL in your ~/.m2/settings.xml in a release or other profile --> |
| <url>${staging.siteURL}/${siteId}/maven/${project.version}</url> |
| <!--<url>${site-repo-url}</url>--> |
| </site> |
| </distributionManagement> |
| |
| <modules> |
| <module>activemq-protobuf</module> |
| <module>activemq-protobuf-test</module> |
| </modules> |
| |
| <scm> |
| <connection>scm:svn:https://svn.apache.org/repos/asf/activemq/activemq-protobuf/trunk</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/activemq/activemq-protobuf/trunk</developerConnection> |
| <url>http://svn.apache.org/viewvc/activemq/activemq-protobuf/trunk/</url> |
| </scm> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.4</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- internal protobuf dependencies --> |
| <dependency> |
| <groupId>org.apache.activemq.protobuf</groupId> |
| <artifactId>activemq-protobuf</artifactId> |
| <version>${version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.activemq.protobuf</groupId> |
| <artifactId>activemq-protobuf-test</artifactId> |
| <version>${version}</version> |
| </dependency> |
| |
| |
| </dependencies> |
| </dependencyManagement> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>2.2-beta-4</version> |
| <configuration> |
| <tarLongFileMode>gnu</tarLongFileMode> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-eclipse-plugin</artifactId> |
| <version>2.7</version> |
| <configuration> |
| <downloadSources>true</downloadSources> |
| <downloadJavadocs>true</downloadJavadocs> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>1.0.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>ianal-maven-plugin</artifactId> |
| <version>1.0-alpha-1</version> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>javacc-maven-plugin</artifactId> |
| <version>2.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>rat-maven-plugin</artifactId> |
| <version>1.0-alpha-3</version> |
| <configuration> |
| <excludeSubProjects>false</excludeSubProjects> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <index>true</index> |
| <compress>true</compress> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <extensions>true</extensions> |
| <configuration> |
| <instructions> |
| <Bundle-Name>${artifactId}</Bundle-Name> |
| <Bundle-SymbolicName>${groupId}.${artifactId}</Bundle-SymbolicName> |
| <Export-Package>org.apache.activemq.protobuf.*</Export-Package> |
| <Implementation-Title>Apache ActiveMQ Protobuf</Implementation-Title> |
| <Implementation-Version>${project.version}</Implementation-Version> |
| </instructions> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>1.5</source> |
| <target>1.5</target> |
| <optimize>true</optimize> |
| <debug>true</debug> |
| <showDeprecation>true</showDeprecation> |
| <showWarnings>true</showWarnings> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>validate</phase> |
| <goals> |
| <goal>enforce</goal> |
| </goals> |
| <configuration> |
| <rules> |
| <requireMavenVersion> |
| <version>[2.0.10,)</version> |
| </requireMavenVersion> |
| </rules> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>ianal-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>verify-legal-files</goal> |
| </goals> |
| <configuration> |
| <strict>true</strict> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <forkMode>once</forkMode> |
| <redirectTestOutputToFile>true</redirectTestOutputToFile> |
| <argLine>-enableassertions</argLine> |
| <failIfNoTests>false</failIfNoTests> |
| <includes> |
| <include>**/*Test.java</include> |
| </includes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-eclipse-plugin</artifactId> |
| <configuration> |
| <outputDirectory>${basedir}/eclipse-classes</outputDirectory> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>rat-maven-plugin</artifactId> |
| </plugin> |
| |
| </plugins> |
| </build> |
| <reporting> |
| <plugins> |
| <plugin> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-report-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>taglist-maven-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <configuration> |
| <links> |
| <link>http://java.sun.com/j2se/1.5.0/docs/api/</link> |
| <link>http://java.sun.com/javaee/5/docs/api/</link> |
| </links> |
| <!-- |
| <stylesheetfile>${basedir}/../etc/css/stylesheet.css</stylesheetfile> |
| --> |
| <linksource>true</linksource> |
| <maxmemory>900m</maxmemory> |
| <source>1.5</source> |
| </configuration> |
| </plugin> |
| </plugins> |
| </reporting> |
| |
| <profiles> |
| <profile> |
| <id>apache-release</id> |
| <activation> |
| <property> |
| <name>apache-release</name> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <phase>package</phase> |
| <configuration> |
| <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot> |
| <descriptorRefs> |
| <descriptorRef> |
| source-release |
| </descriptorRef> |
| </descriptorRefs> |
| </configuration> |
| </execution> |
| </executions> |
| <dependencies> |
| <dependency> |
| <!-- apache version not yet released --> |
| <!--<groupId>org.apache</groupId>--> |
| <groupId>org.apache.geronimo.genesis</groupId> |
| <artifactId>apache-source-release-assembly-descriptor</artifactId> |
| <!-- apache version not yet known --> |
| <version>2.0</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <test>false</test> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.activemq.protobuf</groupId> |
| <artifactId>activemq-protobuf</artifactId> |
| <version>${version}</version> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |