Author: andygumbrecht
Date: Fri Sep 17 10:21:25 2010
New Revision: 998052
URL: http://svn.apache.org/viewvc?rev=998052&view=rev
Log:
Add ${quartz.version} property and propagate to child poms.
Added correct dep in child pom.
Modified:
openejb/trunk/openejb3/examples/quartz-app/pom.xml
openejb/trunk/openejb3/examples/quartz-app/quartz-ra/pom.xml
openejb/trunk/openejb3/pom.xml
Modified: openejb/trunk/openejb3/examples/quartz-app/pom.xml
URL:
http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/quartz-app/pom.xml?rev=998052&r1=998051&r2=998052&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/quartz-app/pom.xml (original)
+++ openejb/trunk/openejb3/examples/quartz-app/pom.xml Fri Sep 17 10:21:25 2010
@@ -2,72 +2,78 @@
<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>
-
- <groupId>org.superbiz.quartz</groupId>
- <artifactId>quartz-app</artifactId>
- <version>1.0-SNAPSHOT</version>
- <packaging>pom</packaging>
- <name>Quartz App</name>
-
- <modules>
- <module>quartz-ra</module>
- <module>quartz-beans</module>
- </modules>
-
- <repositories>
- <repository>
- <id>apache-m2-snapshot</id>
- <name>Apache Snapshot Repository</name>
- <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
- </repository>
- </repositories>
-
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>quartz</groupId>
- <artifactId>quartz</artifactId>
- <version>1.5.2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.openejb</groupId>
- <artifactId>openejb-core</artifactId>
- <version>3.2-SNAPSHOT</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
- <configuration>
- <source>1.6</source>
- <target>1.6</target>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
+ <parent>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>examples</artifactId>
+ <version>3.2-SNAPSHOT</version>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>org.superbiz.quartz</groupId>
+ <artifactId>quartz-app</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <name>Quartz App</name>
+
+ <modules>
+ <module>quartz-ra</module>
+ <module>quartz-beans</module>
+ </modules>
+
+ <repositories>
+ <repository>
+ <id>apache-m2-snapshot</id>
+ <name>Apache Snapshot Repository</name>
+ <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
+ </repository>
+ </repositories>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>quartz</groupId>
+ <artifactId>quartz</artifactId>
+ <version>1.5.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>openejb-core</artifactId>
+ <version>3.2-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0.2</version>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
<!--
This section allows you to configure where to publish libraries for sharing.
It is not required and may be deleted. For more information see:
http://maven.apache.org/plugins/maven-deploy-plugin/
-->
- <distributionManagement>
- <repository>
- <id>localhost</id>
- <url>file://${basedir}/target/repo/</url>
- </repository>
- <snapshotRepository>
- <id>localhost</id>
- <url>file://${basedir}/target/snapshot-repo/</url>
- </snapshotRepository>
- </distributionManagement>
+ <distributionManagement>
+ <repository>
+ <id>localhost</id>
+ <url>file://${basedir}/target/repo/</url>
+ </repository>
+ <snapshotRepository>
+ <id>localhost</id>
+ <url>file://${basedir}/target/snapshot-repo/</url>
+ </snapshotRepository>
+ </distributionManagement>
</project>
Modified: openejb/trunk/openejb3/examples/quartz-app/quartz-ra/pom.xml
URL:
http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/quartz-app/quartz-ra/pom.xml?rev=998052&r1=998051&r2=998052&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/quartz-app/quartz-ra/pom.xml (original)
+++ openejb/trunk/openejb3/examples/quartz-app/quartz-ra/pom.xml Fri Sep 17
10:21:25 2010
@@ -1,30 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>
- <groupId>org.superbiz.quartz</groupId>
- <artifactId>quartz-app</artifactId>
- <version>1.0-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>quartz-ra</artifactId>
- <packaging>jar</packaging>
- <name>Quartz Resource Adapter</name>
+ <parent>
+ <groupId>org.superbiz.quartz</groupId>
+ <artifactId>quartz-app</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
- <description>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>quartz-ra</artifactId>
+ <packaging>jar</packaging>
+ <name>Quartz Resource Adapter</name>
+
+ <description>
Maven doesn't allow rar files in the test classpath for some reason,
so we have to pull this trick to get it in the classpath.
- </description>
+ </description>
- <dependencies>
- <dependency>
- <groupId>quartz</groupId>
- <artifactId>quartz</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.openejb</groupId>
- <artifactId>openejb-core</artifactId>
- </dependency>
- </dependencies>
+ <dependencies>
+ <dependency>
+ <groupId>org.quartz-scheduler</groupId>
+ <artifactId>quartz</artifactId>
+ <version>${quartz.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>openejb-core</artifactId>
+ </dependency>
+ </dependencies>
</project>
\ No newline at end of file
Modified: openejb/trunk/openejb3/pom.xml
URL:
http://svn.apache.org/viewvc/openejb/trunk/openejb3/pom.xml?rev=998052&r1=998051&r2=998052&view=diff
==============================================================================
--- openejb/trunk/openejb3/pom.xml (original)
+++ openejb/trunk/openejb3/pom.xml Fri Sep 17 10:21:25 2010
@@ -114,6 +114,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<org.apache.activemq.version>5.4.0</org.apache.activemq.version>
+ <quartz.version>1.8.4</quartz.version>
</properties>
<build>
@@ -909,7 +910,7 @@
<dependency>
<groupId>org.quartz-scheduler</groupId>
<artifactId>quartz</artifactId>
- <version>1.8.4</version>
+ <version>${quartz.version}</version>
<exclusions>
<exclusion>
<groupId>javax.transaction</groupId>