You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2007/03/01 08:31:37 UTC

svn commit: r513210 - in /webservices/axis2/trunk/java/modules/tool: axis2-eclipse-codegen-plugin/pom.xml axis2-eclipse-service-plugin/pom.xml

Author: sandakith
Date: Wed Feb 28 23:31:36 2007
New Revision: 513210

URL: http://svn.apache.org/viewvc?view=rev&rev=513210
Log:
fix the eclipse plugin maven 2 build, 
	axis2 dependencies added in more finer grained dependencies since axis2-*.jar is not generated 

Modified:
    webservices/axis2/trunk/java/modules/tool/axis2-eclipse-codegen-plugin/pom.xml
    webservices/axis2/trunk/java/modules/tool/axis2-eclipse-service-plugin/pom.xml

Modified: webservices/axis2/trunk/java/modules/tool/axis2-eclipse-codegen-plugin/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/axis2-eclipse-codegen-plugin/pom.xml?view=diff&rev=513210&r1=513209&r2=513210
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/axis2-eclipse-codegen-plugin/pom.xml (original)
+++ webservices/axis2/trunk/java/modules/tool/axis2-eclipse-codegen-plugin/pom.xml Wed Feb 28 23:31:36 2007
@@ -130,7 +130,8 @@
             <artifactId>commons-logging</artifactId>
             <version>1.1</version>
         </dependency>
-        <dependency>
+
+       <dependency>
             <groupId>org.apache.axis2</groupId>
             <artifactId>axis2-kernel</artifactId>
 			<version>${version}</version>
@@ -140,6 +141,22 @@
             <artifactId>axis2-codegen</artifactId>
 			<version>${version}</version>
         </dependency>
+         <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>axis2-adb-codegen</artifactId>
+			<version>${version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>axis2-java2wsdl</artifactId>
+			<version>${version}</version>
+        </dependency>
+                <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>axis2-adb</artifactId>
+			<version>${version}</version>
+        </dependency>
+
         <dependency>
             <groupId>org.codehaus.woodstox</groupId>
             <artifactId>wstx-asl</artifactId>
@@ -228,7 +245,8 @@
                 </executions>
             </plugin>
 
-            <plugin>
+             <echo message="###############################################################################################"/>
+                                         <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-antrun-plugin</artifactId>
                 <version>1.1</version>
@@ -289,7 +307,7 @@
                                 <filter token="woden.version" value="1.0-incubating-SNAPSHOT" />
 
 
-                                <unzip src="./target/dist-axis2-eclipse-codege-plugin.zip"
+                                <unzip src="./target/axis2.eclipse.codegen.plugin-SNAPSHOT.jar"
                                        dest="./target/plugin/${codegen.plugin.version}"/>
 
                                 <!-- Copy to the same position with the filtering on-->
@@ -316,11 +334,22 @@
                                 <copy todir="./target/plugin/${codegen.plugin.version}/${icons.dir.name}">
                                     <fileset dir="${codegen.resource.dir}/${icons.dir.name}" />
                                 </copy>
+
                                 <!-- copy the other project files-->
                                 <copy todir="./target/plugin/${codegen.plugin.version}">
                                     <fileset file="${codegen.resource.dir}/${plugin.project.file.name}" />
                                     <fileset file="${codegen.resource.dir}/${plugin.help.file.name}" />
                                 </copy>
+
+
+                                <!-- copy the classes to classes directory-->
+                                <mkdir dir="./target/plugin/${codegen.plugin.version}/classes" />
+                                <copy todir="./target/plugin/${codegen.plugin.version}/classes">
+                                                <fileset dir="./target/plugin/${codegen.plugin.version}" >
+		                                                <include name="**/org/**" />
+	                                            </fileset>
+                                </copy>
+
 
                                 <!--Zip the classes to a jar file-->
                                 <zip destfile="./target/plugin/${codegen.plugin.version}/${codegen.plugin.jar.name}"

Modified: webservices/axis2/trunk/java/modules/tool/axis2-eclipse-service-plugin/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/axis2-eclipse-service-plugin/pom.xml?view=diff&rev=513210&r1=513209&r2=513210
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/axis2-eclipse-service-plugin/pom.xml (original)
+++ webservices/axis2/trunk/java/modules/tool/axis2-eclipse-service-plugin/pom.xml Wed Feb 28 23:31:36 2007
@@ -62,6 +62,21 @@
             <artifactId>axis2-codegen</artifactId>
 			<version>${version}</version>
         </dependency>
+         <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>axis2-adb-codegen</artifactId>
+			<version>${version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>axis2-java2wsdl</artifactId>
+			<version>${version}</version>
+        </dependency>
+                <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>axis2-adb</artifactId>
+			<version>${version}</version>
+        </dependency>
         <dependency>
             <groupId>commons-logging</groupId>
             <artifactId>commons-logging</artifactId>
@@ -208,7 +223,7 @@
                                 <delete dir="./target/dist"/>
                                 <mkdir dir="./target/dist"/>
 
-                                <unzip src="./target/dist-axis2-service-codege-plugin.zip"
+                                <unzip src="./target/axis2.eclipse.service.plugin-SNAPSHOT.jar"
                                        dest="./target/plugin/${service.plugin.version}"/>
 
                                 <!-- Copy to the same position with the filtering on-->
@@ -239,6 +254,15 @@
                                 <copy todir="./target/plugin/${service.plugin.version}">
                                     <fileset file="${service.resource.dir}/${plugin.project.file.name}" />
                                     <fileset file="${service.resource.dir}/${plugin.help.file.name}" />
+                                </copy>
+
+
+                                <!-- copy the classes to classes directory-->
+                                <mkdir dir="./target/plugin/${service.plugin.version}/classes" />
+                                <copy todir="./target/plugin/${service.plugin.version}/classes">
+                                                <fileset dir="./target/plugin/${service.plugin.version}" >
+		                                                <include name="**/org/**" />
+	                                            </fileset>
                                 </copy>
 
                                 <!--Zip the classes to a jar file -->



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org