axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sandak...@apache.org
Subject svn commit: r503184 - in /webservices/axis2/trunk/java/modules/tool/axis2-eclipse-codegen-plugin: eclipse-codegen-plugin-assembly.xml pom.xml
Date Sat, 03 Feb 2007 08:54:38 GMT
Author: sandakith
Date: Sat Feb  3 00:54:37 2007
New Revision: 503184

URL: http://svn.apache.org/viewvc?view=rev&rev=503184
Log:
updated M2 build for eclipse codegen plugin

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

Added: webservices/axis2/trunk/java/modules/tool/axis2-eclipse-codegen-plugin/eclipse-codegen-plugin-assembly.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/axis2-eclipse-codegen-plugin/eclipse-codegen-plugin-assembly.xml?view=auto&rev=503184
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/axis2-eclipse-codegen-plugin/eclipse-codegen-plugin-assembly.xml
(added)
+++ webservices/axis2/trunk/java/modules/tool/axis2-eclipse-codegen-plugin/eclipse-codegen-plugin-assembly.xml
Sat Feb  3 00:54:37 2007
@@ -0,0 +1,36 @@
+<assembly>
+    <id>axis2-eclipse-codege-plugin</id>
+    <includeBaseDirectory>false</includeBaseDirectory>
+    <formats>
+        <format>zip</format>
+    </formats>
+    <fileSets>
+        <fileSet>
+            <directory>./target/classes</directory>
+            <outputDirectory>classes</outputDirectory>
+     	</fileSet>
+    </fileSets>
+	<dependencySets>
+        <dependencySet>
+            <outputDirectory>lib</outputDirectory>
+            <includes>
+                <include>javax.activation:activation:jar</include>
+                <include>annogen:annogen:jar</include>
+                <include>org.apache.ws.commons.axiom:axiom-api:jar</include>
+                <include>org.apache.ws.commons.axiom:axiom-dom:jar</include>
+                <include>org.apache.ws.commons.axiom:axiom-impl:jar</include>
+                <include>commons-logging:commons-logging:jar</include>
+                <include>org.apache.axis2:axis2:jar</include>
+                <include>org.codehaus.woodstox:wstx-asl:jar</include>
+                <include>org.apache.neethi:neethi:jar</include>
+                <include>stax:stax-api:jar</include>
+                <include>wsdl4j:wsdl4j:jar</include>
+                <include>xmlbeans:xbean:jar</include>
+                <include>org.apache.ws.commons.schema:XmlSchema:jar</include>
+                <include>log4j:log4j:jar</include>
+                <include>org.apache.woden:woden:jar</include>
+                <include>ant:ant:jar</include>
+            </includes>
+        </dependencySet>
+	</dependencySets>
+</assembly>

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=503184&r1=503183&r2=503184
==============================================================================
--- 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 Sat Feb
 3 00:54:37 2007
@@ -19,146 +19,317 @@
         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>
-    <groupId>axis2.eclipse.codegen.plugin</groupId>
-    <artifactId>axis2-eclipse-codegen-plugin</artifactId>
+
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.apache.axis2</groupId>
+    <artifactId>eclipse.codegen.plugin</artifactId>
     <version>SNAPSHOT</version>
     <name>Apache Axis 2.0 - Eclipse Codegen Plugin</name>
     <packaging>maven-plugin</packaging>
     <description>The Axis 2 Eclipse Plugin</description>
-    <repositories>
-        <repository>            
+    <repositories>
+        <repository>
             <id>ws-zones</id>
             <name>ws.zones maven repository</name>
             <url>http://ws.zones.apache.org/repository2</url>
-           <layout>legacy</layout>
-        </repository>
+        </repository>
         <repository>
             <id>eclipse-repo</id>
             <name>eclipse maven repository</name>
             <url>http://repo1.maven.org/eclipse</url>
-        </repository>
+        </repository>
+        <repository>
+            <id>maven2</id>
+            <name>maven2 repository</name>
+            <url>http://repo1.maven.org/maven2</url>
+        </repository>
+        <repository>
+            <id>maven2</id>
+            <name>maven2 repository</name>
+            <url>http://repo1.maven.org/maven2</url>
+        </repository>
     </repositories>
-
-    <dependencies>
-       <dependency>
+
+    <dependencies>
+        <dependency>
             <groupId>org.eclipse.core</groupId>
             <artifactId>org.eclipse.core.jobs</artifactId>
             <version>3.2.0</version>
-        </dependency>
-	<dependency>
+        </dependency>
+        <dependency>
             <groupId>org.eclipse.core</groupId>
             <artifactId>org.eclipse.core.resources</artifactId>
             <version>3.2.0</version>
-        </dependency>    
-	<dependency>
+        </dependency>
+        <dependency>
             <groupId>org.eclipse.core</groupId>
             <artifactId>org.eclipse.core.runtime</artifactId>
             <version>3.2.0</version>
-        </dependency>    
-	<dependency>
+        </dependency>
+        <dependency>
             <groupId>org.eclipse.equinox</groupId>
             <artifactId>org.eclipse.equinox.common</artifactId>
             <version>3.2.0</version>
-        </dependency>  
-	<dependency>
+        </dependency>
+        <dependency>
             <groupId>org.eclipse.jface</groupId>
             <artifactId>org.eclipse.jface</artifactId>
             <version>3.2.0</version>
-        </dependency>    
-	<dependency>
+        </dependency>
+        <dependency>
             <groupId>org.eclipse.osgi</groupId>
             <artifactId>org.eclipse.osgi</artifactId>
             <version>3.2.0</version>
-        </dependency>    
-	<dependency>
+        </dependency>
+        <dependency>
             <groupId>org.eclipse.swt</groupId>
             <artifactId>org.eclipse.swt</artifactId>
             <version>3.2.0</version>
-        </dependency>   
-	<dependency>
+        </dependency>
+        <dependency>
             <groupId>org.eclipse.swt</groupId>
             <artifactId>org.eclipse.swt.win32.win32.x86</artifactId>
             <version>3.2.0</version>
-        </dependency>  
-	<dependency>
+        </dependency>
+        <dependency>
             <groupId>org.eclipse.ui</groupId>
             <artifactId>org.eclipse.ui.ide</artifactId>
             <version>3.2.0</version>
-        </dependency>
-
-	<dependency>
-		<groupId>org.apache.axis2</groupId>
-		<artifactId>axis2-codegen</artifactId>
-		<version>SNAPSHOT</version>
-	</dependency>
-	<dependency>
-		<groupId>org.apache.axis2</groupId>
-		<artifactId>axis2-kernel</artifactId>
-		<version>SNAPSHOT</version>
-	</dependency>
-	<dependency>
-		<groupId>org.apache.axis2</groupId>
-		<artifactId>axis2-adb</artifactId>
-		<version>SNAPSHOT</version>
-	</dependency>
-	<dependency>
-		<groupId>org.apache.axis2</groupId>
-		<artifactId>axis2-adb-codegen</artifactId>
-		<version>SNAPSHOT</version>
-	</dependency>
-	<dependency>
-		<groupId>org.apache.axis2</groupId>
-		<artifactId>axis2-java2wsdl</artifactId>
-		<version>SNAPSHOT</version>
-	</dependency>
-	<dependency>
-		<groupId>org.apache.ws.commons.axiom</groupId>
-		<artifactId>axiom-api</artifactId>
-		<version>1.2</version>
-	</dependency>
-	<dependency>
-		<groupId>org.apache.ws.commons.axiom</groupId>
-		<artifactId>axiom-impl</artifactId>
-		<version>1.2</version>
-	</dependency>
-	<dependency>
-		<groupId>org.apache.ws.commons.axiom</groupId>
-		<artifactId>axiom-dom</artifactId>
-		<version>1.2</version>
-	</dependency>
-	<dependency>
-		<groupId>woodstox</groupId>
-		<artifactId>wstx</artifactId>
-		<version>asl-3.0.0</version>
-	</dependency>
-	<dependency>
-		<groupId>stax</groupId>
-		<artifactId>stax-api</artifactId>
-		<version>1.0.1</version>
-	</dependency>
-	<dependency>
-		<groupId>javax.mail</groupId>
-		<artifactId>mail</artifactId>
-		<version>1.4</version>
-	</dependency>
-	<dependency>
-		<groupId>javax.activation</groupId>
-		<artifactId>activation</artifactId>
-		<version>1.1</version>
-	</dependency>
-	<dependency>
-		<groupId>wsdl4j</groupId>
-		<artifactId>wsdl4j</artifactId>
-		<version>1.5.2</version>
-	</dependency>
-	<dependency>
-	 	<groupId>ant</groupId>
-	 	<artifactId>ant</artifactId>
-	 	<version>1.6.5</version>
-	</dependency>
-    </dependencies>
-
+        </dependency>
+
+
+
+        <dependency>
+            <groupId>javax.activation</groupId>
+            <artifactId>activation</artifactId>
+            <version>1.1</version>
+        </dependency>
+        <dependency>
+            <groupId>annogen</groupId>
+            <artifactId>annogen</artifactId>
+            <version>0.1.0</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.ws.commons.axiom</groupId>
+            <artifactId>axiom-api</artifactId>
+            <version>SNAPSHOT</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.ws.commons.axiom</groupId>
+            <artifactId>axiom-dom</artifactId>
+            <version>SNAPSHOT</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.ws.commons.axiom</groupId>
+            <artifactId>axiom-impl</artifactId>
+            <version>SNAPSHOT</version>
+        </dependency>
+        <dependency>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
+            <version>1.1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>axis2</artifactId>
+            <version>SNAPSHOT</version>
+        </dependency>
+        <dependency>
+            <groupId>org.codehaus.woodstox</groupId>
+            <artifactId>wstx-asl</artifactId>
+            <version>3.2.0</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.neethi</groupId>
+            <artifactId>neethi</artifactId>
+            <version>SNAPSHOT</version>
+        </dependency>
+        <dependency>
+            <groupId>stax</groupId>
+            <artifactId>stax-api</artifactId>
+            <version>1.0.1</version>
+        </dependency>
+        <dependency>
+            <groupId>wsdl4j</groupId>
+            <artifactId>wsdl4j</artifactId>
+            <version>1.6.2</version>
+        </dependency>
+        <dependency>
+            <groupId>xmlbeans</groupId>
+            <artifactId>xbean</artifactId>
+            <version>2.2.0</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.ws.commons.schema</groupId>
+            <artifactId>XmlSchema</artifactId>
+            <version>1.2</version>
+        </dependency>
+        <dependency>
+            <groupId>ant</groupId>
+            <artifactId>ant</artifactId>
+            <version>1.6.5</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.woden</groupId>
+            <artifactId>woden</artifactId>
+            <version>1.0-incubating-SNAPSHOT</version>
+        </dependency>
+        <dependency>
+            <groupId>log4j</groupId>
+            <artifactId>log4j</artifactId>
+            <version>1.2.13</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <resources>
+            <resource>
+                <directory>src/main/java</directory>
+            </resource>
+        </resources>
+
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <version>2.1</version>
+                <executions>
+                    <execution>
+                        <id>distribution-package</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>attached</goal>
+                        </goals>
+                        <configuration>
+                            <descriptors>
+                                <descriptor>./eclipse-codegen-plugin-assembly.xml</descriptor>
+                            </descriptors>
+                            <finalName>dist</finalName>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <version>1.1</version>
+                <executions>
+                    <execution>
+                        <id>package</id>
+                        <phase>package</phase>
+                        <configuration>
+                            <tasks>
+                                <property name="codegen.plugin.version" value="Axis2_Codegen_Wizard_1.2.0"></property>
+                                <property name="codegen.plugin.zip.name" value="axis2-eclipse-codegen-wizard.zip"></property>
+                                <property name="codegen.plugin.jar.name" value="Axis2CodegenWizard.jar"></property>
+
+                                <property name="src" value="./src"></property>
+                                <property name="codegen.src.dir" value="../axis2-eclipse-codegen-plugin/src/main/java"></property>
+                                <property name="output" value="../target/eclipse_plugins"></property>
+                                <property name="output.target" value="${output}/release"></property>
+                                <property name="plugin.output.dir" value="${output}/plugin"></property>
+                                <property name="codegen.output.dir" value="${output}/code-gen"></property>
+                                <property name="codegen.plugin.output.dir" value="${plugin.output.dir}/${codegen.plugin.version}"></property>
+
+                                <property name="source.dir.name" value="src"></property>
+                                <property name="lib.dir.name" value="lib"></property>
+                                <property name="bin.dir.name" value="bin"></property>
+                                <property name="help.dir.name" value="help"></property>
+                                <property name="icons.dir.name" value="icons"></property>
+
+                                <property name="plugin.project.file.name" value=".project"></property>
+                                <property name="plugin.classpath.file.name" value=".classpath"></property>
+                                <property name="plugin.help.file.name" value="help_toc.xml"></property>
+
+                                <property name="codegen.resource.dir" value="../conf/codegen"></property>
+                                <property name="codegen.help.resource.file" value="../../../xdocs/tools/1_1/eclipse/wsdl2java-plugin.html"></property>
+                                <property name="codegen.help.images.dir" value="../../../xdocs/tools/1_1/eclipse/images"></property>
+                                <property name="axis2.lib.dir" value="../../../target/lib"></property>
+                                <property name="codegen.resource.dir" value="../conf/codegen"></property>
+
+                                <delete dir="./target/plugin/${codegen.plugin.version}"/>
+                                <mkdir dir="./target/plugin/${codegen.plugin.version}"/>
+
+                                <delete dir="./target/dist"/>
+                                <mkdir dir="./target/dist"/>
+
+                                <!--Filter tockens for the copy command to filter the
versions of external dependencies -->
+                                <filter token="version_number" value="SNAPSHOT" />
+                                <filter token="activation.version" value="1.1" />
+                                <filter token="annogen.version" value="0.1.0" />
+                                <filter token="ant.version" value="1.6.5" />
+                                <filter token="axiom.version" value="SNAPSHOT" />
+                                <filter token="commons.logging.version" value="1.1" />
+                                <filter token="neethi.version" value="SNAPSHOT" />
+                                <filter token="stax.api.version" value="1.0.1" />
+                                <filter token="stax.impl.version" value="asl-3.2.0" />
+                                <filter token="xbean.version" value="2.2.0" />
+                                <filter token="XmlSchema.version" value="1.2" />
+                                <filter token="log4j.version" value="1.2.13" />
+                                <filter token="wsdl4j.version" value="1.6.2" />
+                                <filter token="woden.version" value="1.0-incubating-SNAPSHOT"
/>
+
+
+                                <unzip src="./target/dist-axis2-eclipse-codege-plugin.zip"
+                                       dest="./target/plugin/${codegen.plugin.version}"/>
+
+                                <!-- Copy to the same position with the filtering on-->
+                                <copy todir="./target/plugin/${codegen.plugin.version}"
filtering="on" >
+                                    <fileset dir="${codegen.resource.dir}">
+                                        <include name="plugin.xml" />
+                                        <include name="build.properties" />
+                                        <include name="${plugin.classpath.file.name}"
/>
+                                    </fileset>
+                                </copy>
+
+                                <!-- copy the help directory -->
+                                <mkdir dir="./target/plugin/${codegen.plugin.version}/${help.dir.name}"
/>
+                                <mkdir dir="./target/plugin/${codegen.plugin.version}/${help.dir.name}/${icons.dir.name}"
/>
+                                <copy todir="./target/plugin/${codegen.plugin.version}/${help.dir.name}">
+                                    <fileset file="${codegen.help.resource.file}"></fileset>
+                                </copy>
+                                <copy todir="./target/plugin/${codegen.plugin.version}/${help.dir.name}/${icons.dir.name}">
+                                    <fileset dir="${codegen.help.images.dir}"></fileset>
+                                </copy>
+
+                                <!-- copy the  icons-->
+                                <mkdir dir="./target/plugin/${codegen.plugin.version}/${icons.dir.name}"
/>
+                                <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>
+
+                                <!--Zip the eclipse plugins to eclipse_plugins/target
-->
+                                <zip destfile="./target/plugin/${codegen.plugin.version}/${codegen.plugin.jar.name}"
+                                     basedir="./target/plugin/${codegen.plugin.version}/classes"
+                                     update="true"
+                                        />
+
+                                <delete dir="./target/plugin/${codegen.plugin.version}/classes"
/>
+
+                                <!--Zip the eclipse plugins to eclipse_plugins/target
-->
+                                <zip destfile="./target/dist/${codegen.plugin.zip.name}"
+                                     basedir="./target/plugin"
+                                     update="true"
+                                        />
+
+                                <delete dir="./target/temp" />
+                                <delete dir="./target/classes" />
+                                <delete dir="./target/test-classes" />
 
+                            </tasks>
+                        </configuration>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
 </project>



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


Mime
View raw message