Author: dkulp
Date: Mon Nov 24 14:38:05 2008
New Revision: 720316

URL: http://svn.apache.org/viewvc?rev=720316&view=rev
Log:
Add wtp config

Modified:
    
cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/pom.xml

Modified: 
cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/pom.xml
URL: 
http://svn.apache.org/viewvc/cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/pom.xml?rev=720316&r1=720315&r2=720316&view=diff
==============================================================================
--- 
cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/pom.xml
 (original)
+++ 
cxf/trunk/maven-plugins/archetypes/cxf-http-basic/src/main/resources/archetype-resources/pom.xml
 Mon Nov 24 14:38:05 2008
@@ -5,9 +5,9 @@
 ##    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
@@ -23,29 +23,42 @@
   <packaging>war</packaging>
   <name>Simple CXF project using spring configuration</name>
   <dependencies>
-         <dependency>
-                 <groupId>org.apache.cxf</groupId>
-                 <artifactId>cxf-rt-frontend-jaxws</artifactId>
-                 <version>${project.version}</version>
-         </dependency>
-         <dependency>
-                 <groupId>org.apache.cxf</groupId>
-                 <artifactId>cxf-rt-transports-http</artifactId>
-                 <version>${project.version}</version>
-         </dependency>
+    <dependency>
+      <groupId>org.apache.cxf</groupId>
+      <artifactId>cxf-rt-frontend-jaxws</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.cxf</groupId>
+      <artifactId>cxf-rt-transports-http</artifactId>
+      <version>${project.version}</version>
+    </dependency>
   </dependencies>
- <build>
-       
-   <plugins>
-       <plugin>
-               <groupId>org.apache.maven.plugins</groupId>
-               <artifactId>maven-compiler-plugin</artifactId>
-               <configuration>
-               <source>1.5</source>
-               <target>1.5</target>
-               </configuration>
-               </plugin>
-       </plugins>
-    </build>
-  
+
+  <build>
+    <pluginManagement>
+      <plugins>
+
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <configuration>
+            <source>1.5</source>
+            <target>1.5</target>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-eclipse-plugin</artifactId>
+          <configuration>
+            <projectNameTemplate>[artifactId]-[version]</projectNameTemplate>
+            <wtpmanifest>true</wtpmanifest>
+            <wtpapplicationxml>true</wtpapplicationxml>
+            <wtpversion>2.0</wtpversion>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+
 </project>


Reply via email to