You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by ishara premadasa <id...@gmail.com> on 2011/08/20 20:06:54 UTC

Build Error in ODE axis2-war module

Hi,
I get the following error when building ODE(Last Changed Rev: 1149561) in a
clean repo, at the axis2-war module.

Downloading:
http://repo1.maven.org/eclipse/javax/xml/jsr173/1.0/jsr173-1.0.jar
[INFO] Unable to find resource 'javax.xml:jsr173:jar:1.0' in repository
eclipse-repo (http://repo1.maven.org/eclipse)
Downloading:
https://maven-repository.dev.java.net/nonav/repository//javax.xml/jars/jsr173-1.0.jar
[WARNING] Unable to get resource 'javax.xml:jsr173:jar:1.0' from repository
java.net (https://maven-repository.dev.java.net/nonav/repository/): Error
transferring file: java.security.cert.CertificateException: No subject
alternative DNS name matching maven-repository.dev.java.net found.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve dependencies for one or more projects in the
reactor. Reason: Missing:
----------
1) javax.xml:jsr173:jar:1.0

  Try downloading the file manually from:
      http://ftpna2.bea.com/pub/downloads/jsr173.jar

  Then, install it using the command:
      mvn install:install-file -DgroupId=javax.xml -DartifactId=jsr173
-Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
      mvn deploy:deploy-file -DgroupId=javax.xml -DartifactId=jsr173
-Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]

  Path to dependency:
   1) org.apache.ode:ode-axis2-war:pom:1.4-SNAPSHOT
   2) org.apache.axis2:axis2-fastinfoset:jar:1.5.1
   3) com.sun.xml.fastinfoset:FastInfoset:jar:1.1.8
   4) javax.xml:jsr173:jar:1.0

----------
1 required artifact is missing.

for artifact:
  org.apache.ode:ode-axis2-war:pom:1.4-SNAPSHOT

from the specified remote repositories:
  apache.snapshots (http://repository.apache.org/snapshots),
  central (http://repo1.maven.org/maven2/),
  servicemix-repo (https://repository.apache.org/content/groups/public),
  saxon-repo (http://people.apache.org/~rr/saxon-repo),
  jboss-public-repository-group (
http://repository.jboss.org/nexus/content/groups/public/)


The following dependency must have cause this, because the build goes fine
when i removed it from the dependancies in the axis2-war POM.
       <dependency>
            <groupId>org.apache.axis2</groupId>
            <artifactId>axis2-fastinfoset</artifactId>
            <version>${axis2.version}</version>
        </dependency>

Is this an error in the pom file or what can be the reason for this error?
FYI: I am using Ubuntu 10.04

-- 
*Best Regards.*

*Ishara Premadasa,*
Trainee Software Engineer/Undergraduate,
Dept. of Computer Science & Engineering,
University of Moratuwa
Sri Lanka.