axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Chinthaka Suriarachchi (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-4406) running maven with wsdl2code plugin causes IllegalStateException: The PluginDescriptor for the plugin Plugin [org.apache.axis2.maven2:axis2-wsdl2code-maven-plugin] was not found.
Date Sat, 29 May 2010 17:17:37 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-4406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Amila Chinthaka Suriarachchi resolved AXIS2-4406.
-------------------------------------------------

    Resolution: Fixed

wsdl2code maven plugin works fine with the project given here[1]

[1] https://issues.apache.org/jira/browse/AXIS2-4681

> running maven with wsdl2code plugin causes IllegalStateException: The PluginDescriptor
for the plugin Plugin [org.apache.axis2.maven2:axis2-wsdl2code-maven-plugin] was not found.
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4406
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4406
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.4.1
>         Environment: Maven version: 2.0.10
> Java version: 1.6.0_13
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>            Reporter: Kai Hackemesser
>         Attachments: pom.xml
>
>
> I try to use the wsdl2-code plugin for maven, but I can't get around a configuration
issue. AThe only uncommon thing i did was that the plugin was not available in the repositories
we use here, so I copied it into our proxy repository using this statement:
> C:\java\workspace\UMAWebService>mvn deploy:deploy-file -DgroupId=org.apache.axis2.maven2
-DartifactId=axis2-wsdl2code-maven-plugin -Dversion=1.4.1 -Dpackaging=jar -Dfile=axis2-wsdl2code-maven-plugin-1.4.1.jar
-DpomFile=pom.xml -DrepositoryId=inhouse -Durl=ftp://dev-build/inhouse/storage
> (I extracted the pom.xml from the jar file in advance)
> This is the maven output:
> [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settings\kai
hackemesser.TML\.m2\plugin-registry.xml'
> [DEBUG] Building Maven global-level plugin registry from: 'C:\java\apache-maven-2.0.10\conf\plugin-registry.xml'
> [INFO] Scanning for projects...
> [DEBUG] Wagons could not be registered as the extension container was never created
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Unnamed - com.energyintellect.iE2:UMADS:jar:0.0.1-SNAPSHOT
> [INFO]    task-segment: [compile]
> [INFO] ------------------------------------------------------------------------
> [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins:pom:12 for project:
null:maven-resources-plugin:maven-plugin:2.3 from the repository.
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent:pom:9 for project: org.apache.maven.plugins:maven-plugins:pom:12
from the repository.
> [DEBUG] Retrieving parent-POM: org.apache:apache:pom:4 for project: org.apache.maven:maven-parent:pom:9
from the repository.
> [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins:pom:8 for project:
null:maven-compiler-plugin:maven-plugin:2.0.2 from the repository.
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent:pom:5 for project: org.apache.maven.plugins:maven-plugins:pom:8
from the repository.
> [DEBUG] Retrieving parent-POM: org.apache:apache:pom:3 for project: org.apache.maven:maven-parent:pom:5
from the repository.
> [DEBUG] Retrieving parent-POM: org.apache.axis2:axis2-parent:pom:1.4.1 for project: null:axis2-wsdl2code-maven-plugin:maven-plugin:null
from the repository.
> [DEBUG] Adding managed dependencies for unknown:axis2-wsdl2code-maven-plugin
> [DEBUG]   com.sun.xml.fastinfoset:FastInfoset:jar:1.1.8
> [DEBUG]   org.apache.tomcat:tribes:jar:6.0.14
> [DEBUG]   org.apache.tomcat:juli:jar:6.0.14
> [DEBUG]   xml-apis:xml-apis:jar:1.3.04
> [DEBUG]   xml-resolver:xml-resolver:jar:1.2
> [DEBUG]   xalan:xalan:jar:2.7.0
> [DEBUG]   com.sun.xml.bind:jaxb-impl:jar:2.1.6
> [DEBUG]   com.sun.xml.bind:jaxb-xjc:jar:2.1.6
> [DEBUG]   javax.xml.bind:jaxb-api:jar:2.1
> [DEBUG]   org.springframework:spring-core:jar:2.5.1
> [DEBUG]   org.springframework:spring-beans:jar:2.5.1
> [DEBUG]   org.springframework:spring-context:jar:2.5.1
> [DEBUG]   org.springframework:spring-web:jar:2.5.1
> [DEBUG]   javax.servlet:servlet-api:jar:2.3
> [DEBUG]   org.codehaus.jettison:jettison:jar:1.0-RC2
> [DEBUG]   org.jibx:jibx-bind:jar:1.1.5
> [DEBUG]   org.jibx:jibx-run:jar:1.1.5
> [DEBUG]   org.apache.ant:ant-launcher:jar:1.7.0
> [DEBUG]   org.apache.ws.commons.axiom:axiom-api:jar:1.2.7
> [DEBUG]   org.apache.ws.commons.axiom:axiom-impl:jar:1.2.7
> [DEBUG]   org.apache.ws.commons.axiom:axiom-dom:jar:1.2.7
> [DEBUG]   org.apache.ws.commons.schema:XmlSchema:jar:1.4.2
> [DEBUG]   org.apache.neethi:neethi:jar:2.0.4
> [DEBUG]   org.apache.ant:ant:jar:1.7.0
> [DEBUG]   org.apache.bcel:bcel:jar:5.2
> [DEBUG]   commons-logging:commons-logging:jar:1.1.1
> [DEBUG]   commons-codec:commons-codec:jar:1.3
> [DEBUG]   org.codehaus.woodstox:wstx-asl:jar:3.2.4
> [DEBUG]   org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1
> [DEBUG]   org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0.1
> [DEBUG]   org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.2
> [DEBUG]   org.apache.geronimo.specs:geronimo-jms_1.1_spec:jar:1.1
> [DEBUG]   org.apache.geronimo.specs:geronimo-annotation_1.0_spec:jar:1.1
> [DEBUG]   jaxen:jaxen:jar:1.1.1
> [DEBUG]   annogen:annogen:jar:0.1.0
> [DEBUG]   commons-httpclient:commons-httpclient:jar:3.1
> [DEBUG]   commons-io:commons-io:jar:1.4
> [DEBUG]   org.apache.httpcomponents:httpcore:jar:4.0-beta1
> [DEBUG]   org.apache.httpcomponents:httpcore-nio:jar:4.0-beta1
> [DEBUG]   org.apache.httpcomponents:httpcore-niossl:jar:4.0-beta1
> [DEBUG]   commons-fileupload:commons-fileupload:jar:1.2
> [DEBUG]   wsdl4j:wsdl4j:jar:1.6.2
> [DEBUG]   backport-util-concurrent:backport-util-concurrent:jar:3.1
> [DEBUG]   org.apache.woden:woden-api:jar:1.0M8
> [DEBUG]   org.apache.woden:woden-impl-dom:jar:1.0M8
> [DEBUG]   xmlunit:xmlunit:jar:1.1:test
> [DEBUG]   junit:junit:jar:4.4:test
> [DEBUG]   org.apache.xmlbeans:xmlbeans:jar:2.3.0
> [DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0.7
> [DEBUG]   org.apache.maven:maven-project:jar:2.0.7
> [DEBUG]   org.apache.maven:maven-artifact:jar:2.0.8
> [DEBUG]   org.apache.maven:maven-archiver:jar:2.2
> [DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.4.9
> [DEBUG]   org.apache.maven.shared:maven-plugin-testing-harness:jar:1.1:test
> [DEBUG]   log4j:log4j:jar:1.2.15
> [DEBUG]   org.eclipse.core:org.eclipse.core.jobs:jar:3.2.0
> [DEBUG]   org.eclipse.core:org.eclipse.core.resources:jar:3.2.0
> [DEBUG]   org.eclipse.core:org.eclipse.core.runtime:jar:3.2.0
> [DEBUG]   org.eclipse.equinox:org.eclipse.equinox.common:jar:3.2.0
> [DEBUG]   org.eclipse.jface:org.eclipse.jface:jar:3.2.0
> [DEBUG]   org.eclipse.osgi:org.eclipse.osgi:jar:3.2.0
> [DEBUG]   org.eclipse.swt:org.eclipse.swt:jar:3.2.0
> [DEBUG]   org.eclipse.swt:org.eclipse.swt.win32.win32.x86:jar:3.2.0
> [DEBUG]   org.eclipse.ui:org.eclipse.ui.ide:jar:3.2.0
> [DEBUG]   com.intellij:openapi:jar:5.0
> [DEBUG]   com.intellij:extensions:jar:5.0
> [DEBUG]   rhino:js:jar:1.6R7
> [DEBUG]   bsf:bsf:jar:2.4.0
> [DEBUG]   org.apache.activemq:activemq-core:jar:5.1.0
> [DEBUG]   jalopy:jalopy:jar:1.5rc3
> [DEBUG]   xerces:xercesImpl:jar:2.8.1
> [DEBUG]   org.igniterealtime:smack:jar:3.0.4:provided
> [DEBUG]   commons-lang:commons-lang:jar:2.3:provided
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] The PluginDescriptor for the plugin Plugin [org.apache.axis2.maven2:axis2-wsdl2code-maven-plugin]
was not found.
> [INFO] ------------------------------------------------------------------------
> [DEBUG] Trace
> java.lang.IllegalStateException: The PluginDescriptor for the plugin Plugin [org.apache.axis2.maven2:axis2-wsdl2code-maven-plugin]
was not found.
> 	at org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:327)
> 	at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:212)
> 	at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:176)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1275)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1239)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:1005)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> 	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> 	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> 	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Wed Jun 24 17:48:42 NZST 2009
> [INFO] Final Memory: 2M/6M
> [INFO] ------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message