aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emily Jiang <emijia...@googlemail.com>
Subject Re: local build failed to look at local repo
Date Fri, 27 Jan 2012 13:33:01 GMT
Ignore. A typo. SANP instead of SNAP. :(. Problem solved.

On Fri, Jan 27, 2012 at 1:28 PM, Emily Jiang <emijiang6@googlemail.com>wrote:

> I am trying to change one dependency from depending on the released
> version (org.apache.aries.proxy 0.4) to the trunk
> version((org.apache.aries.proxy 0.4.1-SNAPSHOT). The jar is available in my
> local maven repo. For some reason, the local repo was not looked at by
> looking at the error message. Thoughts?
>
>
>
> C:\apache_aries_dev\trunk\proxy\proxy-itests>mvn clean install
> [INFO] Scanning for projects...
> [WARNING] POM for 'biz.aQute:bndlib:pom:1.15.0:runtime' is invalid.
>
> Its dependencies (if any) will NOT be available to the current build.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Aries Proxy iTests
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> Downloading:
> http://www.mirrorservice.org/sites/download.eclipse.org/eclipseMirror/rt/eclipselink/maven.repo//org/apache/aries/proxy/org.apache.aries.proxy/0.4.1-SANPSHOT/org.apache.aries.proxy-0.4.1-
> SANPSHOT.pom
> [INFO] Unable to find resource
> 'org.apache.aries.proxy:org.apache.aries.proxy:pom:0.4.1-SANPSHOT' in
> repository EclipseLink Repo (
> http://www.mirrorservice.org/sites/download.eclipse.org/eclipseMirror/
> rt/eclipselink/maven.repo/)
> Downloading:
> http://repo1.maven.org/maven2/org/apache/aries/proxy/org.apache.aries.proxy/0.4.1-SANPSHOT/org.apache.aries.proxy-0.4.1-SANPSHOT.pom
> [INFO] Unable to find resource
> 'org.apache.aries.proxy:org.apache.aries.proxy:pom:0.4.1-SANPSHOT' in
> repository central (http://repo1.maven.org/maven2)
> Downloading:
> http://www.mirrorservice.org/sites/download.eclipse.org/eclipseMirror/rt/eclipselink/maven.repo//org/apache/aries/proxy/org.apache.aries.proxy/0.4.1-SANPSHOT/org.apache.aries.proxy-0.4.1-
> SANPSHOT.jar
> [INFO] Unable to find resource
> 'org.apache.aries.proxy:org.apache.aries.proxy:jar:0.4.1-SANPSHOT' in
> repository EclipseLink Repo (
> http://www.mirrorservice.org/sites/download.eclipse.org/eclipseMirror/
> rt/eclipselink/maven.repo/)
> Downloading:
> http://repo1.maven.org/maven2/org/apache/aries/proxy/org.apache.aries.proxy/0.4.1-SANPSHOT/org.apache.aries.proxy-0.4.1-SANPSHOT.jar
> [INFO] Unable to find resource
> 'org.apache.aries.proxy:org.apache.aries.proxy:jar:0.4.1-SANPSHOT' in
> repository central (http://repo1.maven.org/maven2)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.apache.aries.proxy:org.apache.aries.proxy:jar:0.4.1-SANPSHOT
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.apache.aries.proxy
> -DartifactId=org.apache.aries.proxy -Dversion=0.4.1-SANPSHOT
> -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.aries.proxy
> -DartifactId=org.apache.aries.proxy -Dversion=0.4.1-SANPSHOT
> -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>   Path to dependency:
>         1)
> org.apache.aries.proxy:org.apache.aries.proxy.itests:jar:0.4.1-SNAPSHOT
>         2) org.apache.aries.proxy:org.apache.aries.proxy:jar:0.4.1-SANPSHOT
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
>   org.apache.aries.proxy:org.apache.aries.proxy.itests:jar:0.4.1-SNAPSHOT
>
> from the specified remote repositories:
>   EclipseLink Repo (
> http://www.mirrorservice.org/sites/download.eclipse.org/eclipseMirror/rt/eclipselink/maven.repo/
> ),
>   codehaus.snapshots (http://snapshots.repository.codehaus.org),
>   ibiblio.org (http://repo1.maven.org/maven2),
>   apache.snapshots (http://repository.apache.org/snapshots)
>
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3 seconds
> [INFO] Finished at: Fri Jan 27 13:21:33 GMT 2012
> [INFO] Final Memory: 24M/64M
>
> --
> Thanks
> Emily
> =================
> Emily Jiang
> ejiang@apache.org
>
>


-- 
Thanks
Emily
=================
Emily Jiang
ejiang@apache.org

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message