some maven future proofing - resolve warn about pom property references

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@941712 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2010-05-06 13:09:16 +00:00
parent 9890479478
commit 79d303d802
17 changed files with 67 additions and 66 deletions

View File

@ -34,19 +34,19 @@
<!-- activemq --> <!-- activemq -->
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-camel</artifactId> <artifactId>activemq-camel</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-console</artifactId> <artifactId>activemq-console</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-optional</artifactId> <artifactId>activemq-optional</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>kahadb</artifactId> <artifactId>kahadb</artifactId>
</dependency> </dependency>
<dependency> <dependency>

View File

@ -68,13 +68,13 @@
<artifactId>camel-jms</artifactId> <artifactId>camel-jms</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-core</artifactId> <artifactId>activemq-core</artifactId>
</dependency> </dependency>
<!-- TODO we could maybe remove this dependency and use the Spring pool implementation? --> <!-- TODO we could maybe remove this dependency and use the Spring pool implementation? -->
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-pool</artifactId> <artifactId>activemq-pool</artifactId>
</dependency> </dependency>
<dependency> <dependency>
@ -85,7 +85,7 @@
<!-- testing helpers --> <!-- testing helpers -->
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-core</artifactId> <artifactId>activemq-core</artifactId>
<type>test-jar</type> <type>test-jar</type>
<scope>test</scope> <scope>test</scope>

View File

@ -62,16 +62,16 @@
<dependencies> <dependencies>
<!-- activemq related dependencies --> <!-- activemq related dependencies -->
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-core</artifactId> <artifactId>activemq-core</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-core</artifactId> <artifactId>activemq-core</artifactId>
<type>test-jar</type> <type>test-jar</type>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activeio-core</artifactId> <artifactId>activeio-core</artifactId>
</dependency> </dependency>

View File

@ -71,7 +71,7 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activeio-core</artifactId> <artifactId>activeio-core</artifactId>
<optional>false</optional> <optional>false</optional>
</dependency> </dependency>
@ -213,7 +213,7 @@
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activeio-core</artifactId> <artifactId>activeio-core</artifactId>
<optional>false</optional> <optional>false</optional>
<type>test-jar</type> <type>test-jar</type>

View File

@ -79,7 +79,7 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-core</artifactId> <artifactId>activemq-core</artifactId>
</dependency> </dependency>
<dependency> <dependency>

View File

@ -49,20 +49,20 @@
<dependencies> <dependencies>
<!-- activemq --> <!-- activemq -->
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-core</artifactId> <artifactId>activemq-core</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-core</artifactId> <artifactId>activemq-core</artifactId>
<type>test-jar</type> <type>test-jar</type>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activeio-core</artifactId> <artifactId>activeio-core</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-console</artifactId> <artifactId>activemq-console</artifactId>
</dependency> </dependency>

View File

@ -52,11 +52,11 @@
<artifactId>commons-logging-api</artifactId> <artifactId>commons-logging-api</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-core</artifactId> <artifactId>activemq-core</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-ra</artifactId> <artifactId>activemq-ra</artifactId>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
@ -79,7 +79,7 @@
<artifactId>commons-pool</artifactId> <artifactId>commons-pool</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-core</artifactId> <artifactId>activemq-core</artifactId>
<type>test-jar</type> <type>test-jar</type>
<scope>test</scope> <scope>test</scope>

View File

@ -54,7 +54,7 @@
<dependency> <dependency>
<groupId>org.apache.activemq</groupId> <groupId>org.apache.activemq</groupId>
<artifactId>activemq-core</artifactId> <artifactId>activemq-core</artifactId>
<version>${pom.version}</version> <version>${project.version}</version>
<classifier>tests</classifier> <classifier>tests</classifier>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>

View File

@ -34,7 +34,7 @@
<!-- activemq --> <!-- activemq -->
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-ra</artifactId> <artifactId>activemq-ra</artifactId>
<exclusions> <exclusions>
<exclusion> <exclusion>
@ -78,7 +78,7 @@
<artifactId>axion</artifactId> <artifactId>axion</artifactId>
</exclusion> </exclusion>
<exclusion> <exclusion>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-jaas</artifactId> <artifactId>activemq-jaas</artifactId>
</exclusion> </exclusion>
<exclusion> <exclusion>

View File

@ -33,7 +33,7 @@
<!-- activemq --> <!-- activemq -->
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-console</artifactId> <artifactId>activemq-console</artifactId>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -53,11 +53,11 @@
<artifactId>commons-logging-api</artifactId> <artifactId>commons-logging-api</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-core</artifactId> <artifactId>activemq-core</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-pool</artifactId> <artifactId>activemq-pool</artifactId>
</dependency> </dependency>
<dependency> <dependency>
@ -83,7 +83,7 @@
<artifactId>spring-beans</artifactId> <artifactId>spring-beans</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-core</artifactId> <artifactId>activemq-core</artifactId>
<type>test-jar</type> <type>test-jar</type>
<scope>test</scope> <scope>test</scope>

View File

@ -158,29 +158,29 @@
<!-- activemq --> <!-- activemq -->
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-web</artifactId> <artifactId>activemq-web</artifactId>
</dependency> </dependency>
<!-- XMPP support --> <!-- XMPP support -->
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-xmpp</artifactId> <artifactId>activemq-xmpp</artifactId>
<version>${pom.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-console</artifactId> <artifactId>activemq-console</artifactId>
<version>${pom.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<!-- TODO this should not be needed, but transitive dependencies are not working --> <!-- TODO this should not be needed, but transitive dependencies are not working -->
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-core</artifactId> <artifactId>activemq-core</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activeio-core</artifactId> <artifactId>activeio-core</artifactId>
</dependency> </dependency>
<dependency> <dependency>

View File

@ -71,17 +71,17 @@
<!-- activemq --> <!-- activemq -->
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-web</artifactId> <artifactId>activemq-web</artifactId>
</dependency> </dependency>
<!-- TODO this should not be needed, but transitive dependencies are not working --> <!-- TODO this should not be needed, but transitive dependencies are not working -->
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-core</artifactId> <artifactId>activemq-core</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-core</artifactId> <artifactId>activemq-core</artifactId>
<scope>test</scope> <scope>test</scope>
<type>test-jar</type> <type>test-jar</type>

View File

@ -33,15 +33,15 @@
<dependencies> <dependencies>
<!-- activemq --> <!-- activemq -->
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-core</artifactId> <artifactId>activemq-core</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-camel</artifactId> <artifactId>activemq-camel</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-core</artifactId> <artifactId>activemq-core</artifactId>
<scope>test</scope> <scope>test</scope>
<type>test-jar</type> <type>test-jar</type>

View File

@ -59,11 +59,11 @@
<dependencies> <dependencies>
<!-- activemq --> <!-- activemq -->
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-core</artifactId> <artifactId>activemq-core</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activeio-core</artifactId> <artifactId>activeio-core</artifactId>
</dependency> </dependency>

View File

@ -43,77 +43,77 @@
<!-- activemq --> <!-- activemq -->
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-all</artifactId> <artifactId>activemq-all</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-camel</artifactId> <artifactId>activemq-camel</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-core</artifactId> <artifactId>activemq-core</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-core</artifactId> <artifactId>activemq-core</artifactId>
<type>test-jar</type> <type>test-jar</type>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activeio-core</artifactId> <artifactId>activeio-core</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-console</artifactId> <artifactId>activemq-console</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-fileserver</artifactId> <artifactId>activemq-fileserver</artifactId>
<type>war</type> <type>war</type>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-optional</artifactId> <artifactId>activemq-optional</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-pool</artifactId> <artifactId>activemq-pool</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-web</artifactId> <artifactId>activemq-web</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-jaas</artifactId> <artifactId>activemq-jaas</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-xmpp</artifactId> <artifactId>activemq-xmpp</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-web-demo</artifactId> <artifactId>activemq-web-demo</artifactId>
<type>war</type> <type>war</type>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-web-console</artifactId> <artifactId>activemq-web-console</artifactId>
<type>war</type> <type>war</type>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-rar</artifactId> <artifactId>activemq-rar</artifactId>
<type>rar</type> <type>rar</type>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>activemq-run</artifactId> <artifactId>activemq-run</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>${pom.groupId}</groupId> <groupId>${project.groupId}</groupId>
<artifactId>kahadb</artifactId> <artifactId>kahadb</artifactId>
</dependency> </dependency>
@ -364,7 +364,7 @@
<goal>unpack-dependencies</goal> <goal>unpack-dependencies</goal>
</goals> </goals>
<configuration> <configuration>
<includeGroupIds>${pom.groupId}</includeGroupIds> <includeGroupIds>${project.groupId}</includeGroupIds>
<includeArtifactIds>activemq-console</includeArtifactIds> <includeArtifactIds>activemq-console</includeArtifactIds>
<outputDirectory>target/classes</outputDirectory> <outputDirectory>target/classes</outputDirectory>
<overWriteReleases>false</overWriteReleases> <overWriteReleases>false</overWriteReleases>
@ -402,7 +402,7 @@
<descriptors> <descriptors>
<descriptor>src/main/descriptors/unix-bin.xml</descriptor> <descriptor>src/main/descriptors/unix-bin.xml</descriptor>
</descriptors> </descriptors>
<!--<finalName>${pom.artifactId}-${pom.version}</finalName>--> <!--<finalName>${pom.artifactId}-${project.version}</finalName>-->
<!--<appendAssemblyId>false</appendAssemblyId>--> <!--<appendAssemblyId>false</appendAssemblyId>-->
</configuration> </configuration>
</execution> </execution>
@ -416,7 +416,7 @@
<descriptors> <descriptors>
<descriptor>src/main/descriptors/windows-bin.xml</descriptor> <descriptor>src/main/descriptors/windows-bin.xml</descriptor>
</descriptors> </descriptors>
<!--<finalName>${pom.artifactId}-${pom.version}</finalName>--> <!--<finalName>${pom.artifactId}-${project.version}</finalName>-->
<!--<appendAssemblyId>false</appendAssemblyId>--> <!--<appendAssemblyId>false</appendAssemblyId>-->
</configuration> </configuration>
</execution> </execution>
@ -425,7 +425,7 @@
<!-- plugin> <!-- plugin>
<groupId>org.apache.activemq</groupId> <groupId>org.apache.activemq</groupId>
<artifactId>maven-activemq-plugin</artifactId> <artifactId>maven-activemq-plugin</artifactId>
<version>${pom.version}</version> <version>${project.version}</version>
<configuration> <configuration>
<configFile>${basedir}/src/release/conf/activemq.xml</configFile> <configFile>${basedir}/src/release/conf/activemq.xml</configFile>
<url>broker:(tcp://localhost:61616)?useJmx=false</url> <url>broker:(tcp://localhost:61616)?useJmx=false</url>

View File

@ -94,7 +94,7 @@
<activemq.osgi.export.version>${project.version}</activemq.osgi.export.version> <activemq.osgi.export.version>${project.version}</activemq.osgi.export.version>
<activemq.osgi.import>${activemq.osgi.import.pkg}</activemq.osgi.import> <activemq.osgi.import>${activemq.osgi.import.pkg}</activemq.osgi.import>
<activemq.osgi.dynamic.import/> <activemq.osgi.dynamic.import/>
<activemq.osgi.symbolic.name>${groupId}.${artifactId}</activemq.osgi.symbolic.name> <activemq.osgi.symbolic.name>${project.groupId}.${project.artifactId}</activemq.osgi.symbolic.name>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties> </properties>
<prerequisites> <prerequisites>
@ -737,7 +737,7 @@
<dependency> <dependency>
<groupId>activesoap</groupId> <groupId>activesoap</groupId>
<artifactId>jaxp-api</artifactId> <artifactId>jaxp-api</artifactId>
<version>1.3</version> <version>${activesoap-version}</version>
</dependency> </dependency>
<dependency> <dependency>
@ -1080,7 +1080,7 @@
<extensions>true</extensions> <extensions>true</extensions>
<configuration> <configuration>
<instructions> <instructions>
<Bundle-Name>${artifactId}</Bundle-Name> <Bundle-Name>${project.artifactId}</Bundle-Name>
<Bundle-SymbolicName>${activemq.osgi.symbolic.name}</Bundle-SymbolicName> <Bundle-SymbolicName>${activemq.osgi.symbolic.name}</Bundle-SymbolicName>
<Export-Package>${activemq.osgi.export}</Export-Package> <Export-Package>${activemq.osgi.export}</Export-Package>
<Import-Package>${activemq.osgi.import}</Import-Package> <Import-Package>${activemq.osgi.import}</Import-Package>
@ -1124,6 +1124,7 @@
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId> <artifactId>taglist-maven-plugin</artifactId>
<version>2.4</version>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>