maven/0005-Use-generics-in-modello-generated-code.patch

48 lines
1.4 KiB
Diff
Raw Normal View History

2013-10-07 08:45:52 +00:00
From a19f7488a64486c5d9ace8c681a963da92b9e269 Mon Sep 17 00:00:00 2001
2012-01-31 15:13:08 +00:00
From: Stanislav Ochotnicky <sochotnicky@redhat.com>
Date: Tue, 31 Jan 2012 13:12:32 +0100
2013-10-07 08:45:52 +00:00
Subject: [PATCH 1/3] Use generics in modello generated code
2012-01-31 15:13:08 +00:00
---
2013-10-07 08:45:52 +00:00
maven-model/pom.xml | 2 ++
pom.xml | 3 +++
2 files changed, 5 insertions(+)
2012-01-31 15:13:08 +00:00
diff --git a/maven-model/pom.xml b/maven-model/pom.xml
2013-10-07 08:45:52 +00:00
index 7fd718f..b8781b6 100644
2012-01-31 15:13:08 +00:00
--- a/maven-model/pom.xml
+++ b/maven-model/pom.xml
2013-10-07 08:45:52 +00:00
@@ -56,6 +56,7 @@ under the License.
2012-01-31 15:13:08 +00:00
<models>
<model>src/main/mdo/maven.mdo</model>
</models>
+ <useJava5>true</useJava5>
</configuration>
<executions>
<execution>
2013-10-07 08:45:52 +00:00
@@ -103,6 +104,7 @@ under the License.
2012-01-31 15:13:08 +00:00
<configuration>
<version>3.0.0</version>
<packageWithVersion>true</packageWithVersion>
+ <useJava5>true</useJava5>
</configuration>
</execution>
</executions>
diff --git a/pom.xml b/pom.xml
2013-10-07 08:45:52 +00:00
index 922976f..701e727 100644
2012-01-31 15:13:08 +00:00
--- a/pom.xml
+++ b/pom.xml
2013-10-07 08:45:52 +00:00
@@ -382,6 +382,9 @@
2012-01-31 15:13:08 +00:00
<groupId>org.codehaus.modello</groupId>
<artifactId>modello-maven-plugin</artifactId>
<version>${modelloVersion}</version>
+ <configuration>
+ <useJava5>true</useJava5>
+ </configuration>
<executions>
<execution>
<id>site-docs</id>
--
2013-10-07 08:45:52 +00:00
1.8.1.4
2012-01-31 15:13:08 +00:00