aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes getting maven error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "getting maven error" Watch "getting maven error" New topic
Author

getting maven error

mangesh phadtare
Greenhorn

Joined: Jul 01, 2013
Posts: 1
getting this error while running the code
the main error is been highlited below

[root@jbossnew gridlogz-master]# mvn clean install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] GridLogZ
[INFO] GridLogZ - Common
[INFO] GridLogZ - Log Handler
[INFO] GridLogZ - Services
[INFO] GridLogZ - Web
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building GridLogZ 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ gridlogz ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ gridlogz ---
[INFO] Installing /home/jbosspkg/gridlogz-master/pom.xml to /root/.m2/repository/com/howtojboss/gridlogz/gridlogz/1.0-SNAPSHOT/gridlogz-1.0-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building GridLogZ - Common 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ gridlogz-common ---
[INFO] Deleting /home/jbosspkg/gridlogz-master/gridlogz-common/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ gridlogz-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jbosspkg/gridlogz-master/gridlogz-common/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ gridlogz-common ---
[INFO] Compiling 1 source file to /home/jbosspkg/gridlogz-master/gridlogz-common/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ gridlogz-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jbosspkg/gridlogz-master/gridlogz-common/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ gridlogz-common ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ gridlogz-common ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ gridlogz-common ---
[INFO] Building jar: /home/jbosspkg/gridlogz-master/gridlogz-common/target/gridlogz-common-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ gridlogz-common ---
[INFO] Installing /home/jbosspkg/gridlogz-master/gridlogz-common/target/gridlogz-common-1.0-SNAPSHOT.jar to /root/.m2/repository/com/howtojboss/gridlogz/gridlogz-common/1.0-SNAPSHOT/gridlogz-common-1.0-SNAPSHOT.jar
[INFO] Installing /home/jbosspkg/gridlogz-master/gridlogz-common/pom.xml to /root/.m2/repository/com/howtojboss/gridlogz/gridlogz-common/1.0-SNAPSHOT/gridlogz-common-1.0-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building GridLogZ - Log Handler 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ gridlogz-loghandler ---
[INFO] Deleting /home/jbosspkg/gridlogz-master/gridlogz-loghandler/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ gridlogz-loghandler ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ gridlogz-loghandler ---
[INFO] Compiling 1 source file to /home/jbosspkg/gridlogz-master/gridlogz-loghandler/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ gridlogz-loghandler ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jbosspkg/gridlogz-master/gridlogz-loghandler/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ gridlogz-loghandler ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ gridlogz-loghandler ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ gridlogz-loghandler ---
[INFO] Building jar: /home/jbosspkg/gridlogz-master/gridlogz-loghandler/target/gridlogz-loghandler-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-assembly-plugin:2.4:single (assembly) @ gridlogz-loghandler ---
[INFO] Reading assembly descriptor: src/main/assembly/src.xml
[INFO] Building zip: /home/jbosspkg/gridlogz-master/gridlogz-loghandler/target/gridlogz-loghandler-1.0-SNAPSHOT-module.zip
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ gridlogz-loghandler ---
[INFO] Installing /home/jbosspkg/gridlogz-master/gridlogz-loghandler/target/gridlogz-loghandler-1.0-SNAPSHOT.jar to /root/.m2/repository/com/howtojboss/gridlogz/gridlogz-loghandler/1.0-SNAPSHOT/gridlogz-loghandler-1.0-SNAPSHOT.jar
[INFO] Installing /home/jbosspkg/gridlogz-master/gridlogz-loghandler/pom.xml to /root/.m2/repository/com/howtojboss/gridlogz/gridlogz-loghandler/1.0-SNAPSHOT/gridlogz-loghandler-1.0-SNAPSHOT.pom
[INFO] Installing /home/jbosspkg/gridlogz-master/gridlogz-loghandler/target/gridlogz-loghandler-1.0-SNAPSHOT-module.zip to /root/.m2/repository/com/howtojboss/gridlogz/gridlogz-loghandler/1.0-SNAPSHOT/gridlogz-loghandler-1.0-SNAPSHOT-module.zip
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building GridLogZ - Services 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] GridLogZ .......................................... SUCCESS [0.903s]
[INFO] GridLogZ - Common ................................. SUCCESS [3.665s]
[INFO] GridLogZ - Log Handler ............................ SUCCESS [3.575s]
[INFO] GridLogZ - Services ............................... FAILURE [0.791s]
[INFO] GridLogZ - Web .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.291s
[INFO] Finished at: Mon Jul 01 15:22:58 IST 2013
[INFO] Final Memory: 18M/43M
[INFO] ------------------------------------------------------------------------
[b][ERROR] Failed to execute goal on project gridlogz-services: Could not resolve dependencies for project com.howtojboss.gridlogz:gridlogz-services:war:1.0-SNAPSHOT: Failed to collect dependencies at org.infinispan:infinispan-cdi:jar:5.2.4.Final-redhat-1 -> org.jboss.solder:solder-impl:jar:3.1.1.Final: Failed to read artifact descriptor for org.jboss.solder:solder-impl:jar:3.1.1.Final: Could not transfer artifact org.jboss.seam:seam-bom:pom:3.1.0.Final from/to jboss-eap-repository (/home/jbosspkg/jboss-eap-6.1.0.GA-maven-repository): No connector available to access repository jboss-eap-repository (/home/jbosspkg/jboss-eap-6.1.0.GA-maven-repository) of type default using the available factories WagonRepositoryConnectorFactory -> [Help 1][/b]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, pleaqse read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :gridlogz-services


please help

regards,
Mangesh Phadtare
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

It appears that you have Maven configured to use /home/jbosspkg/ as the the remote repository. Why? You should be using a remote repository accessible over the network. Since this looks to be JBoss-related code, the remote repository should be https://repository.jboss.org/nexus/content/groups/public-jboss/

The error message means that the necessary artifact is not available in /home/jbosspkg/


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getting maven error