You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2006/09/08 03:07:36 UTC
svn commit: r441314 - in /webservices/axis2/trunk/java/modules/tool:
axis2-idea-plugin/ axis2-idea-plugin/plugin/META-INF/
axis2-idea-plugin/plugin/org/ axis2-idea-plugin/src/
axis2-idea-plugin/src/main/ axis2-idea-plugin/src/main/java/
axis2-idea-plug...
Author: dims
Date: Thu Sep 7 18:07:35 2006
New Revision: 441314
URL: http://svn.apache.org/viewvc?view=rev&rev=441314
Log:
convert idea plugin to m2
Added:
webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/
- copied from r441304, webservices/axis2/trunk/java/modules/tool/ideaplugin/
webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/pom.xml
webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/
webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/
webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/
webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/
- copied from r441304, webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/org/
webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/resources/
webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/resources/META-INF/
webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/resources/META-INF/plexus/
webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/resources/META-INF/plexus/components.xml
webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/resources/META-INF/plugin.xml
- copied, changed from r441304, webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/META-INF/plugin.xml
webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/site/
webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/site/apt/
webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/site/apt/howto.apt
webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/site/apt/introduction.apt
webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/site/site.xml
Removed:
webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/plugin/META-INF/plugin.xml
webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/plugin/org/
webservices/axis2/trunk/java/modules/tool/ideaplugin/
Modified:
webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/bean/CodegenBean.java
webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/ideaplugin/plugin/Axis2PluginAction.java
Added: webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/pom.xml?view=auto&rev=441314
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/pom.xml (added)
+++ webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/pom.xml Thu Sep 7 18:07:35 2006
@@ -0,0 +1,179 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ !
+ ! Copyright 2006 The Apache Software Foundation.
+ !
+ ! Licensed 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">
+ <parent>
+ <groupId>org.apache.axis2.maven2</groupId>
+ <artifactId>axis2-maven-tools</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>axis2-idea-plugin</artifactId>
+ <packaging>maven-plugin</packaging>
+ <name>Axis 2 Intellij IDEA Plugin</name>
+ <description>
+ A Intellij IDEA plugin for Service Archive creation and Code Generation
+ </description>
+ <repositories>
+ <repository>
+ <id>repo1</id>
+ <name>maven repository</name>
+ <url>http://repo1.maven.org/maven2/</url>
+ </repository>
+ <repository>
+ <id>ibiblio</id>
+ <name>ibiblio repository</name>
+ <url>http://ibiblio.org/maven/</url>
+ <layout>legacy</layout>
+ </repository>
+ <repository>
+ <id>apache-m1</id>
+ <name>apache m1-ibiblio-rsync repository</name>
+ <url>http://people.apache.org/repo/m1-ibiblio-rsync-repository/</url>
+ <layout>legacy</layout>
+ </repository>
+ <repository>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <id>apache-people-repo</id>
+ <name>apache people maven repository</name>
+ <url>http://people.apache.org/repository/</url>
+ <layout>legacy</layout>
+ </repository>
+ <repository>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <id>ws-zones</id>
+ <name>ws.zones maven repository</name>
+ <url>http://ws.zones.apache.org/~dims/maven/</url>
+ <layout>legacy</layout>
+ </repository>
+ </repositories>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-plugin-api</artifactId>
+ <version>2.0.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-project</artifactId>
+ <version>2.0.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-archiver</artifactId>
+ <version>2.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-utils</artifactId>
+ <version>1.0.5</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-artifact</artifactId>
+ <version>2.0</version>
+ </dependency>
+ <dependency>
+ <groupId>axis2</groupId>
+ <artifactId>axis2-codegen</artifactId>
+ <version>SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>axis2</groupId>
+ <artifactId>axis2-common</artifactId>
+ <version>SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>axis2</groupId>
+ <artifactId>axis2-kernel</artifactId>
+ <version>SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>axis2</groupId>
+ <artifactId>axis2-adb</artifactId>
+ <version>SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>axis2</groupId>
+ <artifactId>axis2-adb-codegen</artifactId>
+ <version>SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>axis2</groupId>
+ <artifactId>axis2-java2wsdl</artifactId>
+ <version>SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>ws-commons</groupId>
+ <artifactId>axiom-api</artifactId>
+ <version>SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>ws-commons</groupId>
+ <artifactId>axiom-impl</artifactId>
+ <version>SNAPSHOT</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>com.intellij</groupId>
+ <artifactId>openapi</artifactId>
+
+ <version>5.0</version>
+ </dependency>
+ <dependency>
+ <groupId>com.intellij</groupId>
+ <artifactId>extensions</artifactId>
+ <version>5.0</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.2</version>
+ </dependency>
+ </dependencies>
+</project>
Modified: webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/bean/CodegenBean.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/bean/CodegenBean.java?view=diff&rev=441314&r1=441304&r2=441314
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/bean/CodegenBean.java (original)
+++ webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/bean/CodegenBean.java Thu Sep 7 18:07:35 2006
@@ -1,7 +1,7 @@
package org.apache.axis2.tools.bean;
import org.apache.axis2.description.AxisService;
-import org.apache.axis2.description.WSDL2AxisServiceBuilder;
+import org.apache.axis2.description.WSDL11ToAxisServiceBuilder;
import org.apache.axis2.util.URLProcessor;
import org.apache.axis2.wsdl.codegen.CodeGenConfiguration;
import org.apache.axis2.wsdl.codegen.CodeGenerationEngine;
@@ -229,8 +229,8 @@
}
- WSDL2AxisServiceBuilder builder =
- new WSDL2AxisServiceBuilder(url.openConnection().getInputStream());
+ WSDL11ToAxisServiceBuilder builder =
+ new WSDL11ToAxisServiceBuilder(url.openConnection().getInputStream());
builder.setBaseUri(getBaseUri(wsdlURI));
return builder.populateService();
Modified: webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/ideaplugin/plugin/Axis2PluginAction.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/ideaplugin/plugin/Axis2PluginAction.java?view=diff&rev=441314&r1=441304&r2=441314
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/ideaplugin/plugin/Axis2PluginAction.java (original)
+++ webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/java/org/apache/ideaplugin/plugin/Axis2PluginAction.java Thu Sep 7 18:07:35 2006
@@ -43,7 +43,7 @@
Application application =
ApplicationManager.getApplication();
Axis2IdeaPlugin axis2component =
- application.getComponent(Axis2IdeaPlugin.class);
+ (Axis2IdeaPlugin)application.getComponent(Axis2IdeaPlugin.class);
axis2component.showTool();
}
Added: webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/resources/META-INF/plexus/components.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/resources/META-INF/plexus/components.xml?view=auto&rev=441314
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/resources/META-INF/plexus/components.xml (added)
+++ webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/resources/META-INF/plexus/components.xml Thu Sep 7 18:07:35 2006
@@ -0,0 +1,34 @@
+<component-set>
+ <components>
+ <component>
+ <role>org.apache.maven.artifact.handler.ArtifactHandler</role>
+ <role-hint>aar</role-hint>
+ <implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation>
+ <configuration>
+ <classifier></classifier>
+ <extension>aar</extension>
+ <type>aar</type>
+ <packaging>jar</packaging>
+ <language>java</language>
+ <addedToClasspath>false</addedToClasspath>
+ </configuration>
+ </component>
+ <component>
+ <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
+ <role-hint>aar</role-hint>
+ <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
+ <configuration>
+ <phases>
+ <process-resources>org.apache.maven.plugins:maven-resources-plugin:resources</process-resources>
+ <compile>org.apache.maven.plugins:maven-compiler-plugin:compile</compile>
+ <process-test-resources>org.apache.maven.plugins:maven-resources-plugin:testResources</process-test-resources>
+ <test-compile>org.apache.maven.plugins:maven-compiler-plugin:testCompile</test-compile>
+ <test>org.apache.maven.plugins:maven-surefire-plugin:test</test>
+ <package>org.apache.axis2.maven2:axis2-aar-maven-plugin:aar</package>
+ <install>org.apache.maven.plugins:maven-install-plugin:install</install>
+ <deploy>org.apache.maven.plugins:maven-deploy-plugin:deploy</deploy>
+ </phases>
+ </configuration>
+ </component>
+ </components>
+</component-set>
Copied: webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/resources/META-INF/plugin.xml (from r441304, webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/META-INF/plugin.xml)
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/resources/META-INF/plugin.xml?view=diff&rev=441314&p1=webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/META-INF/plugin.xml&r1=441304&p2=webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/resources/META-INF/plugin.xml&r2=441314
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/META-INF/plugin.xml (original)
+++ webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/main/resources/META-INF/plugin.xml Thu Sep 7 18:07:35 2006
@@ -6,7 +6,7 @@
<name>Axis2 IDEA tools</name>
<!-- Description -->
- <description> Service Archive creation and Codegenaration </description>
+ <description> Service Archive creation and Code Generation </description>
<!-- Plugin version -->
<version>1.0</version>
Added: webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/site/apt/howto.apt
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/site/apt/howto.apt?view=auto&rev=441314
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/site/apt/howto.apt (added)
+++ webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/site/apt/howto.apt Thu Sep 7 18:07:35 2006
@@ -0,0 +1,23 @@
+ ------
+ Maven 2 Aar Plugin: configuration examples
+ ------
+ Jochen Wiedmann
+ <jo...@gmail.com>
+ ------
+
+Introduction
+
+ The Aar plugin allows the packaging of an Axis 2 service aar in 3 different modes:
+
+ * aar (default): generates the aar artifact
+
+ * inplace: package the aar in the source tree
+
+ * exploded : package an exploded aar application
+
+ Each mode is materialized by a goal. For instance, to generate an exploded
+ sar from the current project, one would type
+
++--------
+ mvn aar:exploded
++---------
Added: webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/site/apt/introduction.apt
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/site/apt/introduction.apt?view=auto&rev=441314
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/site/apt/introduction.apt (added)
+++ webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/site/apt/introduction.apt Thu Sep 7 18:07:35 2006
@@ -0,0 +1,15 @@
+ ------
+ Maven 2 Aar Plugin
+ ------
+ Jochen Wiedmann
+ <jo...@gmail.com>
+ ------
+
+Introduction
+
+ This plugin generates an Axis 2 service file (AAR file).
+
+ The full description of goals is available {{{howto.html}here}}.
+
+
+
Added: webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/site/site.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/site/site.xml?view=auto&rev=441314
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/site/site.xml (added)
+++ webservices/axis2/trunk/java/modules/tool/axis2-idea-plugin/src/site/site.xml Thu Sep 7 18:07:35 2006
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ *
+ * Licensed 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 name="Maven Axis 2 AAR Plugin">
+ <bannerLeft>
+ <name>Maven Axis 2 AAR Plugin</name>
+ <src>http://maven.apache.org/images/apache-maven-project.png</src>
+ <href>http://maven.apache.org/</href>
+ </bannerLeft>
+ <bannerRight>
+ <src>http://maven.apache.org/images/maven-small.gif</src>
+ </bannerRight>
+ <body>
+ <links>
+ <item name="Maven 2" href="http://maven.apache.org/maven2/"/>
+ </links>
+
+ <menu name="Overview">
+ <item name="Introduction" href="introduction.html"/>
+ <item name="How to Use" href="howto.html"/>
+ </menu>
+ ${reports}
+ </body>
+</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org