|
What this is
Other links
The source code<?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. --> <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 <parent> <groupId>org.apache.axis2 <artifactId>axis2-parent <version>1.3 <relativePath>../../parent/pom.xml </parent> <artifactId>axis2.eclipse.codegen.plugin <name>Apache Axis 2.0 - tool - Eclipse Codegen Plugin <packaging>maven-plugin <description>The Axis 2 Eclipse Codegen Plugin for wsdl2java and java2wsdl <dependencies> <dependency> <groupId>org.eclipse.core <artifactId>org.eclipse.core.jobs <exclusions> <exclusion> <groupId>org.eclipse.core <artifactId>org.eclipse.core.commands </exclusion> <exclusion> <groupId>org.eclipse.core <artifactId>org.eclipse.core.variables </exclusion> <exclusion> <groupId>org.eclipse.core <artifactId>org.eclipse.core.contenttype </exclusion> <exclusion> <groupId>org.eclipse.core <artifactId>org.eclipse.core.expressions </exclusion> <exclusion> <groupId>org.eclipse.core <artifactId>org.eclipse.core.filesystem </exclusion> <exclusion> <groupId> org.eclipse.update <artifactId> org.eclipse.update.ui </exclusion> <exclusion> <groupId> org.eclipse.update <artifactId> org.eclipse.update.configurator </exclusion> <exclusion> <groupId> org.eclipse.update <artifactId> org.eclipse.update.core </exclusion> <exclusion> <groupId>org.eclipse.help <artifactId>org.eclipse.help </exclusion> <exclusion> <groupId>org.eclipse.ant <artifactId>org.eclipse.ant.core </exclusion> </exclusions> </dependency> <dependency> <groupId>org.eclipse.core <artifactId>org.eclipse.core.resources </dependency> <dependency> <groupId>org.eclipse.core <artifactId>org.eclipse.core.runtime <exclusions> <exclusion> <groupId>org.eclipse.core <artifactId>org.eclipse.core.runtime.compatibility </exclusion> <exclusion> <groupId>org.eclipse.core <artifactId>org.eclipse.core.runtime.compatibility.auth </exclusion> </exclusions> </dependency> <dependency> <groupId>org.eclipse.equinox <artifactId>org.eclipse.equinox.common <exclusions> <exclusion> <groupId>org.eclipse.equinox <artifactId>org.eclipse.equinox.registry </exclusion> <exclusion> <groupId>org.eclipse.equinox <artifactId>org.eclipse.equinox.preferences </exclusion> </exclusions> </dependency> <dependency> <groupId>org.eclipse.jface <artifactId>org.eclipse.jface </dependency> <dependency> <groupId>org.eclipse.osgi <artifactId>org.eclipse.osgi </dependency> <dependency> <groupId>org.eclipse.swt <artifactId>org.eclipse.swt </dependency> <dependency> <groupId>org.eclipse.swt <artifactId>org.eclipse.swt.win32.win32.x86 </dependency> <dependency> <groupId>org.eclipse.ui <artifactId>org.eclipse.ui.ide <exclusions> <exclusion> <groupId>org.eclipse.ui <artifactId>org.eclipse.ui.forms </exclusion> <exclusion> <groupId>org.eclipse.ui <artifactId>org.eclipse.ui.views </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.geronimo.specs <artifactId>geronimo-javamail_1.4_spec <version>${geronimo.spec.activation.version} </dependency> <dependency> <groupId>annogen <artifactId>annogen <version>${annogen.version} </dependency> <dependency> <groupId>commons-logging <artifactId>commons-logging <version>${commons.logging.version} </dependency> <dependency> <groupId>org.apache.axis2 <artifactId>axis2 <version>${version} </dependency> <dependency> <groupId>org.apache.axis2 <artifactId>axis2-codegen <version>${version} </dependency> <dependency> <groupId>org.apache.axis2 <artifactId>axis2-kernel <version>${version} </dependency> <dependency> <groupId>org.apache.axis2 <artifactId>axis2-adb <version>${version} </dependency> <dependency> <groupId>org.apache.axis2 <artifactId>axis2-adb-codegen <version>${version} </dependency> <dependency> <groupId>org.apache.axis2 <artifactId>axis2-java2wsdl <version>${version} </dependency> <dependency> <groupId>${stax.impl.groupid} <artifactId>${stax.impl.artifactid} <version>${stax.impl.version} </dependency> <dependency> <groupId>org.apache.neethi <artifactId>neethi <version>${neethi.version} </dependency> <dependency> <groupId>wsdl4j <artifactId>wsdl4j <version>${wsdl4j.version} </dependency> <dependency> <groupId>xmlbeans <artifactId>xbean <version>${xbean.version} </dependency> <dependency> <groupId>org.apache.ws.commons.schema <artifactId>XmlSchema <version>${xmlschema.version} </dependency> <dependency> <groupId>org.apache.ant <artifactId>ant <version>${ant.version} </dependency> <dependency> <groupId>org.apache.woden <artifactId>woden <version>${woden.version} </dependency> <dependency> <groupId>commons-httpclient <artifactId>commons-httpclient <version>${commons.httpclient.version} </dependency> <dependency> <groupId>commons-codec <artifactId>commons-codec <version>${commons.codec.version} </dependency> <dependency> <groupId>jibx <artifactId>jibx-bind <version>${jibx.version} </dependency> <dependency> <groupId>jibx <artifactId>jibx-run <version>${jibx.version} </dependency> <dependency> <groupId>log4j <artifactId>log4j <version>${log4j.version} </dependency> </dependencies> <distributionManagement> <repository> <id>apache-repo <name>Maven Central Repository <url>scpexe://people.apache.org//www/people.apache.org/repo/m2-ibiblio-rsync-repository </repository> <snapshotRepository> <id>apache-snapshots <name>Apache Development Repository <url>scpexe://people.apache.org//www/people.apache.org/repo/m2-snapshot-repository </snapshotRepository> </distributionManagement> <build> <resources> <resource> <directory>src/main/java </resource> </resources> <plugins> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-compiler-plugin <configuration> <source>1.4 <target>1.4 </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-assembly-plugin <version>${maven.assembly.version} <executions> <execution> <id>distribution-package <phase>package <goals> <goal>attached </goals> <configuration> <descriptors> <descriptor>${pom.basedir}/eclipse-codegen-plugin-assembly.xml </descriptors> <finalName>dist </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins <artifactId>maven-antrun-plugin <executions> <execution> <id>package <phase>package <configuration> <tasks> <property name="codegen.plugin.version" value="Axis2_Codegen_Wizard_${eclipse.plugins.version}"/> <property name="codegen.plugin.zip.name" value="axis2-eclipse-codegen-wizard.zip"/> <property name="codegen.plugin.jar.name" value="Axis2CodegenWizard.jar"/> <property name="src" value="./src"/> <property name="codegen.src.dir" value="../axis2-eclipse-codegen-plugin/src/main/java"/> <property name="output" value="../target/eclipse_plugins"/> <property name="output.target" value="${output}/release"/> <property name="plugin.output.dir" value="${output}/plugin"/> <property name="codegen.output.dir" value="${output}/code-gen"/> <property name="codegen.plugin.output.dir" value="${plugin.output.dir}/${codegen.plugin.version}"/> <property name="source.dir.name" value="src"/> <property name="lib.dir.name" value="lib"/> <property name="bin.dir.name" value="bin"/> <property name="help.dir.name" value="help"/> <property name="icons.dir.name" value="icons"/> <property name="plugin.project.file.name" value=".project"/> <property name="plugin.classpath.file.name" value=".classpath"/> <property name="plugin.help.file.name" value="help_toc.xml"/> <property name="codegen.resource.dir" value="../conf/codegen"/> <property name="codegen.help.resource.file" value="../../../modules/documentation/xdocs/tools/1_3/eclipse/wsdl2java-plugin.html"/> <property name="codegen.help.images.dir" value="../../../modules/documentation/xdocs/tools/1_3/eclipse/images"/> <property name="axis2.lib.dir" value="../../../target/lib"/> <property name="codegen.resource.dir" value="../conf/codegen"/> <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="eclipse.plugins.version" value="${eclipse.plugins.version}" /> <filter token="version" value="${version}" /> <filter token="geronimo.spec.activation.version" value="${geronimo.spec.activation.version}" /> <filter token="annogen.version" value="${annogen.version}" /> <filter token="ant.version" value="${ant.version}" /> <filter token="axiom.version" value="${axiom.version}" /> <filter token="commons.logging.version" value="${commons.logging.version}" /> <filter token="neethi.version" value="${neethi.version}" /> <filter token="stax.api.version" value="${stax.api.version}" /> <filter token="stax.impl.version" value="${stax.impl.version}" /> <filter token="xbean.version" value="${xbean.version}" /> <filter token="xmlschema.version" value="${xmlschema.version}" /> <filter token="log4j.version" value="${log4j.version}" /> <filter token="wsdl4j.version" value="${wsdl4j.version}" /> <filter token="woden.version" value="${woden.version}" /> <filter token="commons.httpclient.version" value="${commons.httpclient.version}" /> <filter token="commons.codec.version" value="${commons.codec.version}" /> <filter token="jibx.version" value="${jibx.version}" /> <unzip src="./target/axis2.eclipse.codegen.plugin-${pom.version}.jar" 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}"/> </copy> <copy todir="./target/plugin/${codegen.plugin.version}/${help.dir.name}/${icons.dir.name}"> <fileset dir="${codegen.help.images.dir}"/> </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 lib files --> <mkdir dir="./target/plugin/temp"/> <unzip src="./target/dist-axis2-eclipse-codege-plugin.zip" dest="./target/plugin/temp"/> <mkdir dir="./target/plugin/${codegen.plugin.version}/lib"/> <copy todir="./target/plugin/${codegen.plugin.version}/lib"> <fileset dir="./target/plugin/temp/lib"/> </copy> <delete dir="./target/plugin/temp"/> <!-- 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}" basedir="./target/plugin/${codegen.plugin.version}/classes" update="true"/> <delete dir="./target/plugin/${codegen.plugin.version}/classes"/> <!--Zip the eclipse plugin to the target/dist directory --> <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 </goals> </execution> </executions> </plugin> </plugins> </build> </project> |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.