camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmuel...@apache.org
Subject svn commit: r1342022 - /camel/trunk/components/camel-jpa/pom.xml
Date Wed, 23 May 2012 20:20:08 GMT
Author: cmueller
Date: Wed May 23 20:20:08 2012
New Revision: 1342022

URL: http://svn.apache.org/viewvc?rev=1342022&view=rev
Log:
CAMEL-5044: Use the openjpa-maven-plugin instead of maven-antrun-plugin to enhance the JPA
entities for OpenJPA

Modified:
    camel/trunk/components/camel-jpa/pom.xml

Modified: camel/trunk/components/camel-jpa/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jpa/pom.xml?rev=1342022&r1=1342021&r2=1342022&view=diff
==============================================================================
--- camel/trunk/components/camel-jpa/pom.xml (original)
+++ camel/trunk/components/camel-jpa/pom.xml Wed May 23 20:20:08 2012
@@ -1,20 +1,5 @@
 <?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.
--->
+<!-- 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>
@@ -69,7 +54,7 @@
       <groupId>org.apache.geronimo.specs</groupId>
       <artifactId>geronimo-jpa_2.0_spec</artifactId>
       <scope>provided</scope>
-    </dependency> 
+    </dependency>
     <!-- testing -->
     <dependency>
       <groupId>org.apache.camel</groupId>
@@ -117,42 +102,34 @@
           </systemProperties>
         </configuration>
       </plugin>
-      
+
       <plugin>
-      	<groupId>org.apache.openjpa</groupId>
-      	<artifactId>openjpa-maven-plugin</artifactId>
-      	<version>${openjpa-version}</version>
-      	<configuration>
-      	  <persistenceXmlFile>${project.basedir}/src/test/resources/META-INF/persistence.xml</persistenceXmlFile>
-      	  <includes>org/apache/camel/processor/idempotent/jpa/MessageProcessed.class,org/apache/camel/processor/interceptor/jpa/JpaTraceEventMessage.class,org/apache/camel/examples/*.class</includes>
-      	  <addDefaultConstructor>true</addDefaultConstructor>
-      	  <enforcePropertyRestrictions>true</enforcePropertyRestrictions>
-      	</configuration>
-      	<executions>
-      	  <execution>
-      	    <id>enhancer</id>
-      	    <phase>process-classes</phase>
-      	    <goals>
-      	      <goal>enhance</goal>
-      	    </goals>
-      	  </execution>
-      	  <execution>
-      	    <id>test enhancer</id>
-      	    <phase>process-test-classes</phase>
-      	    <goals>
-      	      <goal>test-enhance</goal>
-      	    </goals>
-      	  </execution>
-      	</executions>
-      	<dependencies>
-      	  <dependency>
-      	    <groupId>org.apache.openjpa</groupId>
-      	    <artifactId>openjpa</artifactId>
-      	    <version>${openjpa-version}</version>
-      	  </dependency>
-      	</dependencies>
+        <groupId>org.apache.openjpa</groupId>
+        <artifactId>openjpa-maven-plugin</artifactId>
+        <version>${openjpa-version}</version>
+        <configuration>
+          <persistenceXmlFile>${project.basedir}/src/test/resources/META-INF/persistence.xml</persistenceXmlFile>
+          <includes>org/apache/camel/processor/idempotent/jpa/MessageProcessed.class,org/apache/camel/processor/interceptor/jpa/JpaTraceEventMessage.class,org/apache/camel/examples/*.class</includes>
+          <addDefaultConstructor>true</addDefaultConstructor>
+          <enforcePropertyRestrictions>true</enforcePropertyRestrictions>
+        </configuration>
+        <executions>
+          <execution>
+            <id>test enhancer</id>
+            <phase>process-test-classes</phase>
+            <goals>
+              <goal>test-enhance</goal>
+            </goals>
+          </execution>
+        </executions>
+        <dependencies>
+          <dependency>
+            <groupId>org.apache.openjpa</groupId>
+            <artifactId>openjpa</artifactId>
+            <version>${openjpa-version}</version>
+          </dependency>
+        </dependencies>
       </plugin>
-
-        </plugins>
-    </build>
+    </plugins>
+  </build>
 </project>



Mime
View raw message