2011-02-05 7 views
2

svn에서 체크 아웃 한 maven 2 웹 프로젝트가 있습니다.Maven 프로젝트 빌드 문제

내 설정 파일에 미러가 구성되어 있습니다.

클린 설치를하면 maven이 미러에서 jar를 다운로드하려고하는데 jar 파일을 찾을 수 없어 빌드가 실패합니다.

하지만 내 로컬 저장소를 확인하면 필요한 모든 병이 보입니다.

로컬 위치를 미러 위치로 변경할 수 있습니까?

올바른 방법입니까?


내가 경고 그런

[WARNING] Missing POM for org.apache.ws.security:wss4j:jar:1.5.2 
[WARNING] Missing POM for org.richfaces.ui:richfaces-ui:jar:3.3.3.Final 
[WARNING] Missing POM for cglib:cglib:jar:2.2 
[WARNING] Missing POM for org.richfaces.framework:richfaces-impl:jar:3.3.3.Final 
[WARNING] Missing POM for opensymphony:oscache:jar:2.3 
[WARNING] Missing POM for commons-digester:commons-digester:jar:1.8 
[WARNING] Missing POM for org.richfaces.framework:richfaces-api:jar:3.3.3.Final 
[WARNING] Missing POM for com.sun.facelets:jsf-facelets:jar:1.1.14.P1 
[WARNING] Missing POM for javax.faces:jsf-api:jar:1.2_12 
[WARNING] Missing POM for javax.faces:jsf-impl:jar:1.2_12 
[WARNING] Missing POM for javax.servlet:servlet-api:jar:2.4 
[WARNING] Missing POM for javax.servlet.jsp:jsp-api:jar:2.1 
[WARNING] Missing POM for org.jboss.el:jboss-el:jar:2.0.1.GA 
[WARNING] Missing POM for org.jboss.seam:jboss-seam:jar:2.0.1.GA 
[WARNING] Missing POM for org.jboss.seam:jboss-seam-debug:jar:2.0.1.GA 
[WARNING] Missing POM for org.jboss.seam:jboss-seam-ui:jar:2.0.1.GA 
[WARNING] Missing POM for org.jboss.seam:jboss-seam-ioc:jar:2.0.1.GA 
[WARNING] Missing POM for org.springframework:spring:jar:2.5 
[WARNING] Missing POM for commons-math:commons-math:jar:1.2 
[WARNING] Missing POM for org.springframework:spring-mock:jar:2.0.6 
[WARNING] Missing POM for javax.persistence:persistence-api:jar:1.0 
[WARNING] Missing POM for hibernate:hibernate3:jar:3.2.4.SP1 
[WARNING] Missing POM for hibernate-annotations:hibernate-annotations:jar:3.3.0.GA 
[WARNING] Missing POM for hibernate-entitymanager:hibernate-entitymanager:jar:3.3.1.GA 
[WARNING] Missing POM for org.hibernate:hibernate-validator:jar:3.0.0.ga 
[WARNING] Missing POM for org.apache.lucene:lucene-core:jar:2.4.0 
[WARNING] Missing POM for commons-lang:commons-lang:jar:2.3 
[WARNING] Missing POM for commons-validator:commons-validator:jar:1.1.3 
[WARNING] Missing POM for org.slf4j:slf4j-api:jar:1.5.6 
[WARNING] Missing POM for org.slf4j:slf4j-log4j12:jar:1.5.6 
[WARNING] Missing POM for opensymphony:quartz:jar:1.6.3 
[WARNING] Missing POM for opensymphony:quartz-oracle:jar:1.6.3 
[WARNING] Missing POM for jfree:jfreechart:jar:1.0.12 
[WARNING] Missing POM for com.itextpdf:itextpdf:jar:5.0.5 
[WARNING] Missing POM for org.springmodules:spring-modules-cache:jar:0.9 
[WARNING] Missing POM for com.thoughtworks.xstream:xstream:jar:1.3.1 
[WARNING] Missing POM for ehcache:ehcache:jar:1.2.3 

의 집합을 얻을 내 오류

먼저 게시 할 질문을 편집 내가 얻을 오류

  1) nekohtml:nekohtml:jar:0.9.5 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=nekohtml -DartifactId=nekohtml -Dversion=0.9.5 -Dpackaging=jar -Dfile=/path/to/file 

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

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) nekohtml:nekohtml:jar:0.9.5 

    2) ehcache:ehcache:jar:1.2.3 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=ehcache -DartifactId=ehcache -Dversion=1.2.3 -Dpackaging=jar -Dfile=/path/to/file 

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

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) ehcache:ehcache:jar:1.2.3 

    3) org.jboss.seam:jboss-seam-ioc:jar:2.0.1.GA 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=org.jboss.seam -DartifactId=jboss-seam-ioc -Dversion=2.0.1.GA -Dpackaging=jar -Dfile=/path/to/file 

     Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.jboss.seam -DartifactId=jboss-seam-ioc -Dversion=2.0.1.GA -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] 

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) org.jboss.seam:jboss-seam-ioc:jar:2.0.1.GA 

    4) commons-validator:commons-validator:jar:1.1.3 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=commons-validator -DartifactId=commons-validator -Dversion=1.1.3 -Dpackaging=jar -Dfile=/path/to/file 

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

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) commons-validator:commons-validator:jar:1.1.3 

    5) org.apache.lucene:lucene-core:jar:2.4.0 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=org.apache.lucene -DartifactId=lucene-core -Dversion=2.4.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=org.apache.lucene -DartifactId=lucene-core -Dversion=2.4.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] 

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) org.apache.lucene:lucene-core:jar:2.4.0 

    6) org.richfaces.ui:richfaces-ui:jar:3.3.3.Final 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=org.richfaces.ui -DartifactId=richfaces-ui -Dversion=3.3.3.Final -Dpackaging=jar -Dfile=/path/to/file 

     Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.richfaces.ui -DartifactId=richfaces-ui -Dversion=3.3.3.Final -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] 

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) org.richfaces.ui:richfaces-ui:jar:3.3.3.Final 

    7) org.richfaces.framework:richfaces-api:jar:3.3.3.Final 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=org.richfaces.framework -DartifactId=richfaces-api -Dversion=3.3.3.Final -Dpackaging=jar -Dfile=/path/to/file 

     Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.richfaces.framework -DartifactId=richfaces-api -Dversion=3.3.3.Final -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] 

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) org.richfaces.framework:richfaces-api:jar:3.3.3.Final 

    8) commons-digester:commons-digester:jar:1.8 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=commons-digester -DartifactId=commons-digester -Dversion=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=commons-digester -DartifactId=commons-digester -Dversion=1.8 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] 

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) commons-digester:commons-digester:jar:1.8 

    9) org.richfaces.framework:richfaces-impl:jar:3.3.3.Final 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=org.richfaces.framework -DartifactId=richfaces-impl -Dversion=3.3.3.Final -Dpackaging=jar -Dfile=/path/to/file 

     Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.richfaces.framework -DartifactId=richfaces-impl -Dversion=3.3.3.Final -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] 

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) org.richfaces.framework:richfaces-impl:jar:3.3.3.Final 

    10) commons-lang:commons-lang:jar:2.3 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=commons-lang -DartifactId=commons-lang -Dversion=2.3 -Dpackaging=jar -Dfile=/path/to/file 

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

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) commons-lang:commons-lang:jar:2.3 

    11) com.thoughtworks.xstream:xstream:jar:1.3.1 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=com.thoughtworks.xstream -DartifactId=xstream -Dversion=1.3.1 -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.thoughtworks.xstream -DartifactId=xstream -Dversion=1.3.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] 

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) com.thoughtworks.xstream:xstream:jar:1.3.1 

    12) org.springframework:spring:jar:2.5 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=org.springframework -DartifactId=spring -Dversion=2.5 -Dpackaging=jar -Dfile=/path/to/file 

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

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) org.springframework:spring:jar:2.5 

    13) org.slf4j:slf4j-api:jar:1.5.6 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=org.slf4j -DartifactId=slf4j-api -Dversion=1.5.6 -Dpackaging=jar -Dfile=/path/to/file 

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

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) org.slf4j:slf4j-api:jar:1.5.6 

    14) org.slf4j:slf4j-log4j12:jar:1.5.6 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=org.slf4j -DartifactId=slf4j-log4j12 -Dversion=1.5.6 -Dpackaging=jar -Dfile=/path/to/file 

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

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) org.slf4j:slf4j-log4j12:jar:1.5.6 

    15) cglib:cglib:jar:2.2 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=cglib -DartifactId=cglib -Dversion=2.2 -Dpackaging=jar -Dfile=/path/to/file 

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

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) cglib:cglib:jar:2.2 

    16) opensymphony:oscache:jar:2.3 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=opensymphony -DartifactId=oscache -Dversion=2.3 -Dpackaging=jar -Dfile=/path/to/file 

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

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) opensymphony:oscache:jar:2.3 

    17) com.sun.facelets:jsf-facelets:jar:1.1.14.P1 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=com.sun.facelets -DartifactId=jsf-facelets -Dversion=1.1.14.P1 -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.facelets -DartifactId=jsf-facelets -Dversion=1.1.14.P1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] 

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) com.sun.facelets:jsf-facelets:jar:1.1.14.P1 

    18) javax.faces:jsf-api:jar:1.2_12 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=javax.faces -DartifactId=jsf-api -Dversion=1.2_12 -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.faces -DartifactId=jsf-api -Dversion=1.2_12 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] 

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) javax.faces:jsf-api:jar:1.2_12 

    19) javax.faces:jsf-impl:jar:1.2_12 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=javax.faces -DartifactId=jsf-impl -Dversion=1.2_12 -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.faces -DartifactId=jsf-impl -Dversion=1.2_12 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] 

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) javax.faces:jsf-impl:jar:1.2_12 

    20) javax.servlet:servlet-api:jar:2.4 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=javax.servlet -DartifactId=servlet-api -Dversion=2.4 -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.servlet -DartifactId=servlet-api -Dversion=2.4 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] 

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) javax.servlet:servlet-api:jar:2.4 

    21) javax.servlet.jsp:jsp-api:jar:2.1 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=javax.servlet.jsp -DartifactId=jsp-api -Dversion=2.1 -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.servlet.jsp -DartifactId=jsp-api -Dversion=2.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] 

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) javax.servlet.jsp:jsp-api:jar:2.1 

    22) org.jboss.el:jboss-el:jar:2.0.1.GA 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=org.jboss.el -DartifactId=jboss-el -Dversion=2.0.1.GA -Dpackaging=jar -Dfile=/path/to/file 

     Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.jboss.el -DartifactId=jboss-el -Dversion=2.0.1.GA -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] 

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) org.jboss.el:jboss-el:jar:2.0.1.GA 

    23) org.jboss.seam:jboss-seam:jar:2.0.1.GA 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=org.jboss.seam -DartifactId=jboss-seam -Dversion=2.0.1.GA -Dpackaging=jar -Dfile=/path/to/file 

     Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.jboss.seam -DartifactId=jboss-seam -Dversion=2.0.1.GA -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] 

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) org.jboss.seam:jboss-seam:jar:2.0.1.GA 

    24) org.jboss.seam:jboss-seam-debug:jar:2.0.1.GA 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=org.jboss.seam -DartifactId=jboss-seam-debug -Dversion=2.0.1.GA -Dpackaging=jar -Dfile=/path/to/file 

     Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.jboss.seam -DartifactId=jboss-seam-debug -Dversion=2.0.1.GA -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] 

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) org.jboss.seam:jboss-seam-debug:jar:2.0.1.GA 

    25) org.jboss.seam:jboss-seam-ui:jar:2.0.1.GA 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=org.jboss.seam -DartifactId=jboss-seam-ui -Dversion=2.0.1.GA -Dpackaging=jar -Dfile=/path/to/file 

     Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.jboss.seam -DartifactId=jboss-seam-ui -Dversion=2.0.1.GA -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] 

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) org.jboss.seam:jboss-seam-ui:jar:2.0.1.GA 

    26) commons-math:commons-math:jar:1.2 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=commons-math -DartifactId=commons-math -Dversion=1.2 -Dpackaging=jar -Dfile=/path/to/file 

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

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) commons-math:commons-math:jar:1.2 

    27) org.springframework:spring-mock:jar:2.0.6 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=org.springframework -DartifactId=spring-mock -Dversion=2.0.6 -Dpackaging=jar -Dfile=/path/to/file 

     Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.springframework -DartifactId=spring-mock -Dversion=2.0.6 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] 

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) org.springframework:spring-mock:jar:2.0.6 

    28) javax.persistence:persistence-api:jar:1.0 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=javax.persistence -DartifactId=persistence-api -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.persistence -DartifactId=persistence-api -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] 

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) javax.persistence:persistence-api:jar:1.0 

    29) hibernate:hibernate3:jar:3.2.4.SP1 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=hibernate -DartifactId=hibernate3 -Dversion=3.2.4.SP1 -Dpackaging=jar -Dfile=/path/to/file 

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

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) hibernate:hibernate3:jar:3.2.4.SP1 

    30) hibernate-annotations:hibernate-annotations:jar:3.3.0.GA 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=hibernate-annotations -DartifactId=hibernate-annotations -Dversion=3.3.0.GA -Dpackaging=jar -Dfile=/path/to/file 

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

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) hibernate-annotations:hibernate-annotations:jar:3.3.0.GA 

    31) hibernate-entitymanager:hibernate-entitymanager:jar:3.3.1.GA 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=hibernate-entitymanager -DartifactId=hibernate-entitymanager -Dversion=3.3.1.GA -Dpackaging=jar -Dfile=/path/to/file 

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

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) hibernate-entitymanager:hibernate-entitymanager:jar:3.3.1.GA 

    32) org.hibernate:hibernate-validator:jar:3.0.0.ga 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=org.hibernate -DartifactId=hibernate-validator -Dversion=3.0.0.ga -Dpackaging=jar -Dfile=/path/to/file 

     Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.hibernate -DartifactId=hibernate-validator -Dversion=3.0.0.ga -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] 

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) org.hibernate:hibernate-validator:jar:3.0.0.ga 

    33) opensymphony:quartz:jar:1.6.3 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=opensymphony -DartifactId=quartz -Dversion=1.6.3 -Dpackaging=jar -Dfile=/path/to/file 

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

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) opensymphony:quartz:jar:1.6.3 

    34) org.springmodules:spring-modules-cache:jar:0.9 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=org.springmodules -DartifactId=spring-modules-cache -Dversion=0.9 -Dpackaging=jar -Dfile=/path/to/file 

     Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.springmodules -DartifactId=spring-modules-cache -Dversion=0.9 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] 

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) org.springmodules:spring-modules-cache:jar:0.9 

    35) jfree:jfreechart:jar:1.0.12 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=jfree -DartifactId=jfreechart -Dversion=1.0.12 -Dpackaging=jar -Dfile=/path/to/file 

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

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) jfree:jfreechart:jar:1.0.12 

    36) opensymphony:quartz-oracle:jar:1.6.3 

     Try downloading the file manually from the project website. 

     Then, install it using the command: 
      mvn install:install-file -DgroupId=opensymphony -DartifactId=quartz-oracle -Dversion=1.6.3 -Dpackaging=jar -Dfile=/path/to/file 

     Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=opensymphony -DartifactId=quartz-oracle -Dversion=1.6.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] 

     Path to dependency: 
     1) myproject:war:1.0.0-SNAPSHOT 
     2) opensymphony:quartz-oracle:jar:1.6.3 

이러한 모든 종속성 다음 세트 내 버전의 저장소에 이미 동일한 버전이 있습니다. 팁도 있지만 쓸모가 없다.

+0

모든 종속성에 버전이 있어야합니다. – Nishant

답변

1

로컬 플래그 만 사용하도록 Maven -o에서 오프라인 플래그를 사용할 수 있습니다. 그런 다음 빌드가 여전히 종속성에 대해 불만을 토로하는 경우 문제는 다른 곳에서 발생합니다 (어쩌면 로컬 버전에 다른 버전이 포함될 수도 있습니다).

+0

알았어. 알았어. 내 오류 로그는 내 로컬 저장소에 이미있는 종속성에 대한 누락 된 항목에 관한 많은 경고를 표시합니다. 그러면 나는 어떻게 이것들을위한 poms를 생성합니까? –

+0

이러한 종속성이 원격 저장소에있는 경우 로컬 repo에서 삭제 한 다음 mvn을 다시 실행하십시오. 다른 유용한 정보 maven deploy plugin (http://maven.apache.org/plugins/maven-install-plugin/usage.html 참조)을 옵션'-DgeneratePom = true'와 함께 사용하면 새로운 pom 012o로 로컬 repo에 다시 설치할 수 있습니다. – lweller

+0

안녕하세요, 오프라인 빌드를 한 후에도이 오류가 발생합니다. 목표 org.richfaces.cdk를 실행하지 못했습니다. maven-resource-dependency-plugin : 3.3.3.Final : assembly-resources (기본값) –

1

Maven은 미러/원격 저장소를 쿼리하기 전에 로컬 저장소를 먼저 봅니다. 로컬 저장소에는 jar 파일이 있지만 pom 파일은없는 것 같습니다. 이것들은 수동으로 복사/배치 할 수 있습니까? 그렇기 때문에 메이븐에게는 유용하지 않습니다.

문제를 해결하는 방법에는 두 가지가 있습니다.

  • 인터넷에 연결하여 종속성을 다운로드하도록 허용합니다 (미러에 항아리가없는 경우). 이것은 기본적으로 발생합니다. 프록시를 사용하고있는 경우, maven이 프록시를 통해 중앙 저장소에 연결되도록 <proxy> 설정을 구성 할 수 있습니다.

  • 로컬 저장소에 maven install:install-file 명령을 사용하여 각 종속 jar를 수동으로 설치하십시오. 이렇게하면 자동으로 항아리 더미가 생성되어 이후 실행에서 메이븐에 사용할 수 있습니다.

+0

프록시를 구성했으며 maven install : install-file 명령도 시도했습니다. 설치 명령을 시도 할 때 항아리가 이미 저장소에 있으므로 빌드 실패라고 표시됩니다. –

+1

@Anand. 관련 종속성이있는 폴더를 제거하고 다시 시도하십시오. – Raghuram

+0

@Raghuram은 특정 jar를 제거하고 maven 의존성을 다시 검사하는 것이 저에게 효과적이었습니다. – ashwinsakthi