Hi, I am getting build error when building axis2 trunk. [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Axis2 - Fast Infoset [INFO] task-segment: [clean, install] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] Downloading: http://ws.zones.apache.org/repository2/com/sun/xml/fastinfoset/FastInfoset/1.1.8/FastInfoset-1.1.8.pom [WARNING] Unable to get resource 'com.sun.xml.fastinfoset:FastInfoset:pom:1.1.8' from repository apache-ws-snapshots2 (http://ws.zones.apache.org/repository2): Authorization failed: Access denied to: http://ws.zones.apache.org/repository2/com/sun/xml/fastinfoset/FastInfoset/1.1.8/FastInfoset-1.1.8.pom Downloading: http://tomcat.apache.org/dev/dist/m2-repository/com/sun/xml/fastinfoset/FastInfoset/1.1.8/FastInfoset-1.1.8.pom [INFO] Unable to find resource 'com.sun.xml.fastinfoset:FastInfoset:pom:1.1.8' in repository tomcat-repository (http://tomcat.apache.org/dev/dist/m2-repository) Downloading: http://repo1.maven.org/eclipse/com/sun/xml/fastinfoset/FastInfoset/1.1.8/FastInfoset-1.1.8.pom [INFO] Unable to find resource 'com.sun.xml.fastinfoset:FastInfoset:pom:1.1.8' in repository eclipse-repo ( http://repo1.maven.org/eclipse) Downloading: http://download.java.net/maven/1/com.sun.xml.fastinfoset/poms/FastInfoset-1.1.8.pom [INFO] Unable to find resource 'com.sun.xml.fastinfoset:FastInfoset:pom:1.1.8' in repository java.net ( http://download.java.net/maven/1) Downloading: http://repo1.maven.org/maven2/com/sun/xml/fastinfoset/FastInfoset/1.1.8/FastInfoset-1.1.8.pom [INFO] Unable to find resource 'com.sun.xml.fastinfoset:FastInfoset:pom:1.1.8' in repository central ( http://repo1.maven.org/maven2) Downloading: http://ws.zones.apache.org/repository2/com/sun/xml/fastinfoset/FastInfoset/1.1.8/FastInfoset-1.1.8.jar [WARNING] Unable to get resource 'com.sun.xml.fastinfoset:FastInfoset:jar:1.1.8' from repository apache-ws-snapshots2 (http://ws.zones.apache.org/repository2): Authorization failed: Access denied to: http://ws.zones.apache.org/repository2/com/sun/xml/fastinfoset/FastInfoset/1.1.8/FastInfoset-1.1.8.jar Downloading: http://tomcat.apache.org/dev/dist/m2-repository/com/sun/xml/fastinfoset/FastInfoset/1.1.8/FastInfoset-1.1.8.jar [INFO] Unable to find resource 'com.sun.xml.fastinfoset:FastInfoset:jar:1.1.8' in repository tomcat-repository (http://tomcat.apache.org/dev/dist/m2-repository) Downloading: http://repo1.maven.org/eclipse/com/sun/xml/fastinfoset/FastInfoset/1.1.8/FastInfoset-1.1.8.jar [INFO] Unable to find resource 'com.sun.xml.fastinfoset:FastInfoset:jar:1.1.8' in repository eclipse-repo ( http://repo1.maven.org/eclipse) Downloading: http://download.java.net/maven/1/com.sun.xml.fastinfoset/jars/FastInfoset-1.1.8.jar [INFO] Unable to find resource 'com.sun.xml.fastinfoset:FastInfoset:jar:1.1.8' in repository java.net ( http://download.java.net/maven/1) Downloading: http://repo1.maven.org/maven2/com/sun/xml/fastinfoset/FastInfoset/1.1.8/FastInfoset-1.1.8.jar [INFO] Unable to find resource 'com.sun.xml.fastinfoset:FastInfoset:jar:1.1.8' in repository central ( http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) com.sun.xml.fastinfoset:FastInfoset:jar:1.1.8
Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.sun.xml.fastinfoset -DartifactId=FastInfoset -Dversion=1.1.8 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.sun.xml.fastinfoset -DartifactId=FastInfoset -Dversion=1.1.8 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.axis2:axis2-fastinfoset:jar:SNAPSHOT 2) com.sun.xml.fastinfoset:FastInfoset:jar:1.1.8 ---------- 1 required artifact is missing. for artifact: org.apache.axis2:axis2-fastinfoset:jar:SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), eclipse-repo (http://repo1.maven.org/eclipse), java.net (http://download.java.net/maven/1), tomcat-repository (http://tomcat.apache.org/dev/dist/m2-repository), apache.snapshots (http://repository.apache.org/snapshots), apache-ws-snapshots2 (http://ws.zones.apache.org/repository2) i really appreciate if anyone can give advice regarding this. thanks & regards, Chamara silva