Keith, because the mar plugin pom get included in the 'overall pom'
for the build, I suspect that when it can't be found, for some reason
the custom repository on ws.zones isn't included.That or there was an
intermittent problem with ws.zones!
David

On 23/10/2007, keith chapman <[EMAIL PROTECTED]> wrote:
> The error you got when installing WSDL4J can be mitigated by going into
> modules/tools/axis2-mar-maven-plugin and doing mvn install
>
> I wonder why maven could not download wsdl4j in the first place though.
>
> Thanks,
> Keith.
>
>
> On 10/22/07, Michael Mole <[EMAIL PROTECTED]> wrote:
> >
> > I'm having trouble building Axis2/Java from source.  Can anyone tell me if
> I'm doing something wrong?
> >
> > When I try to build Axis2 from source, it tells me this:
> > ( I use this command: %mvn install )
> > 2) wsdl4j:wsdl4j:jar:1.6.2
> >
> >   Try downloading the file manually from the project website.
> >
> >   Then, install it using the command:
> >       mvn install:install-file -DgroupId=wsdl4j -DartifactId=wsdl4j \
> >           -Dversion=1.6.2 -Dpackaging=jar -Dfile=/path/to/file
> > Alternatively, if you host your own repository you can deploy the file
> there:       mvn deploy:deploy-file -Dg
> > roupId=wsdl4j -DartifactId=wsdl4j \
> >           -Dversion=1.6.2 -Dpackaging=jar -Dfile=/path/to/file \
> >            -Durl=[url] -DrepositoryId=[id]
> >
> >   Path to dependency:
> >         1) org.apache.axis2:axis2-kernel:jar:1.3
> >         2) wsdl4j:wsdl4j:jar:1.6.2
> >
> >
> > However, I get another error when I try to manually install wsdl4j, using
> this command:
> > C:\axis2java-1.3-src>mvn install:install-file
> -Dfile="C:\WSDL4J\wsdl4j-1_6_2\lib\wsdl4j.jar"
> -DgroupId=wsdl4j
> > -DartifactId=wsdl4j -Dversion=1.6.2 -Dpackaging=jar
> >
> > [INFO] Scanning for projects...
> > [INFO] Reactor build order:
> > [INFO]   Apache Axis 2.0 - Parent
> > [INFO]   Apache Axis 2.0 - Data Binding
> > [INFO]   Apache Axis 2.0 - Kernel
> > [INFO]   Apache Axis 2.0 - Code Generation
> > [INFO]   Apache Axis 2.0 - ADB Codegen
> > [INFO]   Apache Axis 2.0 - tool - MAR Maven Plugin
> > [INFO]   Apache Axis 2.0 - Addressing
> > [INFO]   Apache Axis 2.0 - Java2WSDL
> > [INFO]   Apache Axis 2.0 - Fast Infoset
> > [INFO]   Apache Axis 2.0 - MTOM Policy
> > [INFO]   Apache Axis 2.0 - SAAJ API
> > [INFO]   Apache Axis 2.0 - SAAJ
> > [INFO]   Apache Axis 2.0 - JAXWS API
> > [INFO]   Apache Axis 2.0 - JWS API
> > [INFO]   Apache Axis 2.0 - Metadata
> > [INFO]   Apache Axis 2.0 - JSON
> > [INFO]   Apache Axis 2.0 - Clustering
> > [INFO]   Apache Axis 2.0 - JAXWS
> > [INFO]   Apache Axis 2.0 - Scripting
> > [INFO]   Apache Axis 2.0 - JAXB-RI Data Binding
> > [INFO]   Apache Axis 2.0 - JiBX Data Binding
> > [INFO]   Apache Axis 2.0 - spring
> > [INFO]   Apache Axis 2.0 - XMLBeans Data Binding
> > [INFO]   Apache Axis 2.0 - Integration
> > [INFO]   Apache Axis 2.0 - MEX
> > [INFO]   Apache Axis 2.0 - MEX-Module
> > [INFO]   Apache Axis 2.0 - Ping
> > [INFO]   Apache Axis 2.0 - tool - AAR Maven Plugin
> > [INFO]   Apache Axis 2.0 - Version Service
> > [INFO]   Apache Axis 2.0 - SOAP Monitor
> > [INFO]   Apache Axis 2.0 - tool - Ant Plugin
> > [INFO]   Apache Axis 2.0 - Root
> > [INFO]   Apache Axis 2.0 - tool - Eclipse Codegen Plugin
> > [INFO]   Apache Axis 2.0 - tool - Eclipse service Plugin
> > [INFO]   Apache Axis 2.0 - tool - Intellij IDEA Plugin
> > [INFO]   Apache Axis 2.0 - tool - Java2WSDL Maven Plugin
> > [INFO]   Apache Axis 2.0 - tool - WSDL2Code Maven Plugin
> > [INFO]   Apache Axis 2.0 - Web Application module
> > [INFO]   Apache Axis 2.0 - Samples
> > [INFO] Searching repository for plugin with prefix: 'install'.
> > Downloading:
> http://ws.zones.apache.org/repository2/org/apache/axis2/axis2-mar-maven-plugin/1.6.2/axis2-mar-ma
> > ven-plugin-1.6.2.pom
> > Downloading:
> http://repo1.maven.org/maven2/org/apache/axis2/axis2-mar-maven-plugin/1.6.2/axis2-mar-maven-plugi
> > n-1.6.2.pom
> > Downloading:
> http://ws.zones.apache.org/repository2/org/apache/axis2/axis2-mar-maven-plugin/1.6.2/axis2-mar-ma
> > ven-plugin-1.6.2.pom
> > Downloading:
> http://tomcat.apache.org/dev/dist/m2-repository/org/apache/axis2/axis2-mar-maven-plugin/1.6.2/axi
> > s2-mar-maven-plugin-1.6.2.pom
> > Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/axis2/axis2-mar-maven-plugin/1.
> > 6.2/axis2-mar-maven-plugin-1.6.2.pom
> > Downloading:
> http://repo1.maven.org/eclipse/org/apache/axis2/axis2-mar-maven-plugin/1.6.2/axis2-mar-maven-plug
> > in-1.6.2.pom
> > Downloading:
> http://jibx.sourceforge.net/maven/org.apache.axis2/poms/axis2-mar-maven-plugin-1.6.2.pom
> > Downloading:
> http://download.java.net/maven/1//org.apache.axis2/poms/axis2-mar-maven-plugin-1.6.2.pom
> > Downloading:
> http://repo1.maven.org/maven2/org/apache/axis2/axis2-mar-maven-plugin/1.6.2/axis2-mar-maven-plugi
> > n-1.6.2.pom
> > [INFO]
> ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> ------------------------------------------------------------------------
> > [INFO] Error building POM (may not be this project's POM).
> >
> >
> > Project ID: org.apache.axis2:axis2-mar-maven-plugin
> >
> > Reason: POM 'org.apache.axis2:axis2-mar-maven-plugin' not
> found in repository: Unable to download the artifact
> >  from any repository
> >
> >   org.apache.axis2:axis2-mar-maven-plugin:pom:1.6.2
> >
> > from the specified remote repositories:
> >   apache.snapshots
> (http://people.apache.org/repo/m2-snapshot-repository ),
> >   eclipse-repo (http://repo1.maven.org/eclipse),
> >   ws-zones (http://ws.zones.apache.org/repository2),
> >   jibx (http://jibx.sourceforge.net/maven),
> >   apache-ws-snapshots2
> (http://ws.zones.apache.org/repository2 ),
> >   central (http://repo1.maven.org/maven2),
> >   apache-incubating
> (http://people.apache.org/repo/m2-incubating-repository ),
> >   tomcat-repository
> (http://tomcat.apache.org/dev/dist/m2-repository ),
> >   java.net ( http://download.java.net/maven/1/),
> >   apache-snapshots
> (http://people.apache.org/repo/m2-snapshot-repository )
> >  for project org.apache.axis2:axis2-mar-maven-plugin
> >
> >
> > [INFO]
> ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> ------------------------------------------------------------------------
> > [INFO] Total time: 13 seconds
> > [INFO] Finished at: Mon Oct 22 12:18:06 EDT 2007
> > [INFO] Final Memory: 9M/29M
> > [INFO]
> ------------------------------------------------------------------------
> >
> >
> > Thanks,
> > Mike
> >
> > Michael J Molé
> > Software Engineer
> > IBM Software Group - Rational
> > (781)676-2710
>
>
>
> --
> Keith Chapman
> WSO2 Inc.
> Oxygen for Web Services Developers.
> http://wso2.org/


-- 
David Illsley - IBM Web Services Development

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to