Author: steve.ebersole(a)jboss.com
Date: 2007-08-30 10:06:00 -0400 (Thu, 30 Aug 2007)
New Revision: 13963
Modified:
maven-poms/trunk/core-parent/pom.xml
Log:
require maven > 2.0.7
Modified: maven-poms/trunk/core-parent/pom.xml
===================================================================
--- maven-poms/trunk/core-parent/pom.xml 2007-08-29 23:00:41 UTC (rev 13962)
+++ maven-poms/trunk/core-parent/pom.xml 2007-08-30 14:06:00 UTC (rev 13963)
@@ -85,8 +85,11 @@
<build>
<plugins>
- <!-- require at least JDK 1.5 to run the build -->
<plugin>
+ <!-- require at least JDK 1.5 to run the build -->
+ <!-- ... -->
+ <!-- we need at least Maven 2.0.8 because of a bug fix affecting our
antlr usage -->
+ <!-- 2.0.8 not released at this time, so I instead say anything
greater that 2.0.7 -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.0-alpha-3</version>
@@ -100,13 +103,16 @@
<rules>
<requireJavaVersion>
<version>[1.5,)</version>
- </requireJavaVersion>
+ </requireJavaVersion>
+ <requireMavenVersion>
+ <version>(2.0.7,)</version>
+ </requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
- <!-- but, by default, compile to JDK 1.4 compatibility (individual modules
and/or user can override) -->
+ <!-- by default, compile to JDK 1.4 compatibility (individual modules
and/or user can override) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
@@ -119,7 +125,8 @@
<!-- add specification/implementation details to the manifests -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.1</version>
<configuration>
<archive>
<manifest>
@@ -195,7 +202,6 @@
</reporting>
<properties>
- <!-- for now, at least, lets aggregate them -->
<hibernate.core.reports.aggregate>false</hibernate.core.reports.aggregate>
</properties>
@@ -213,18 +219,7 @@
<scope>test</scope>
</dependency>
</dependencies>
-<!--
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
--->
+
<distributionManagement>
<repository>
<!-- Copy the dist to the local checkout of the JBoss maven2 repo
${maven.repository.root} -->
Show replies by thread