besides installing and configuring the maven-proxy , executing "mvn 
deploy:deploy-file" (with the propiate arguments)
for every jar file on the server should be enough. Check if the files you want 
to share are available inside the maven-proxy installation.



nmall wrote:
> Hi,
>
>  We are using maven for the first time in our company. 
>
>  I installed maven-proxy on a server machine in our company in the hope that
> everyone doesn't need to do "mvn install:install-file " for every single jar
> file our build depends upon the first time they set up their build. However,
> though it seems to be downloading the dependencies from the  remotemachine
> siteserver, it still throws errors at the end asking to do mvn
> install:install-file on every single jar. Why is that. 
>
>  Do I need to do something more than just set up the maven-proxy, like make
> a local repository on that remote server machine?? Thanks so much for your
> help!!!
>
>  [INFO] Building NewProject
> [INFO]    task-segment: [compile]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> Downloading:
> http://siteserver:9999/repository//org/codehaus/mojo/groovy/1.0-jsr-06/groovy-1.0-jsr-06.pom
> Downloading:
> http://siteserver:9999/repository//org/jruby/jruby/1.0.0RC2/jruby-1.0.0RC2.pom
> Downloading:
> http://siteserver:9999/repository//Beanutils/commons-beanutils/1.6/commons-beanutils-1.6.pom
> Downloading:
> http://siteserver:9999/repository//javaee/javaee-api/5/javaee-api-5.pom
> Downloading:
> http://siteserver:9999/repository//acegisecurity/acegi-security/1.0.3/acegi-security-1.0.3.pom
> Downloading:
> http://siteserver:9999/repository//springframework/spring-core/2.0.3/spring-core-2.0.3.pom
> Downloading:
> http://siteserver:9999/repository//springframework/spring-aop/2.0.3/spring-aop-2.0.3.pom
> Downloading:
> http://siteserver:9999/repository//springframework/spring-beans/2.0.3/spring-beans-2.0.3.pom
> Downloading:
> http://siteserver:9999/repository//springframework/spring/2.0.3/spring-2.0.3.pom
> Downloading:
> http://siteserver:9999/repository//springframework/spring-hibernate/2.0.3/spring-hibernate-2.0.3.pom
> Downloading:
> http://siteserver:9999/repository//springframework/spring-context/2.0.3/spring-context-2.0.3.pom
> Downloading:
> http://siteserver:9999/repository//springframework/spring-dao/2.0.3/spring-dao-2.0.3.pom
> Downloading:
> http://siteserver:9999/repository//pentaho-core/pentaho-core/1.5.3/pentaho-core-1.5.3.pom
> Downloading:
> http://siteserver:9999/repository//pentaho-data/pentaho-data/1.5.3/pentaho-data-1.5.3.pom
> Downloading:
> http://siteserver:9999/repository//pentaho-repository/pentaho-repository/1.5.3/pentaho-repository-1.5.3.pom
> Downloading:
> http://siteserver:9999/repository//pentaho-security/pentaho-security/1.5.3/pentaho-security-1.5.3.pom
> Downloading:
> http://siteserver:9999/repository//pentaho-i18n/pentaho-i18n/1.5.3/pentaho-i18n-1.5.3.pom
> Downloading:
> http://siteserver:9999/repository//pentaho-messages/pentaho-messages/1.5.3/pentaho-messages-1.5.3.pom
> Downloading:
> http://siteserver:9999/repository//pentaho-ui/pentaho-ui/1.5.3/pentaho-ui-1.5.3.pom
> Downloading:
> http://siteserver:9999/repository//pentaho-util/pentaho-util/1.5.3/pentaho-util-1.5.3.pom
> Downloading:
> http://siteserver:9999/repository//pentaho-plugin/pentaho-plugin/1.5.3/pentaho-plugin-1.5.3.pom
> Downloading:
> http://siteserver:9999/repository//jfreereport/jfreereport/0.8.7-10/jfreereport-0.8.7-10.pom
> Downloading:
> http://siteserver:9999/repository//jcommon/jcommon/1.0.6/jcommon-1.0.6.pom
> Downloading:
> http://siteserver:9999/repository//jcommon-xml/jcommon-xml/1.0.6/jcommon-xml-1.0.6.pom
> Downloading:
> http://siteserver:9999/repository//apache-bsf/bsf/2.3.0/bsf-2.3.0.pom
>
> ....
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) jfreereport-output-table-csv:jfreereport-output-table-csv:jar:0.8.7-10
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=jfreereport-output-table-csv
> -DartifactId=jfreereport-output-table-csv \
>           -Dversion=0.8.7-10 -Dpackaging=jar -Dfile=/path/to/file
>
>   Path to dependency: 
>       1) com.mycompany:NewProject:war:1.0-SNAPSHOT
>       2) 
> jfreereport-output-table-csv:jfreereport-output-table-csv:jar:0.8.7-10
>
> 2) jfreereport-gui-xls:jfreereport-gui-xls:jar:0.8.7-10
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=jfreereport-gui-xls
> -DartifactId=jfreereport-gui-xls \
>           -Dversion=0.8.7-10 -Dpackaging=jar -Dfile=/path/to/file
>
>   Path to dependency: 
>       1) com.mycompany:NewProject:war:1.0-SNAPSHOT
>       2) jfreereport-gui-xls:jfreereport-gui-xls:jar:0.8.7-10
>
> 3) jfreereport-output-pageable-graphics:jfreereport-output-pageab
>
> and so on.
>
>   


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

Reply via email to