Hi, Because that artifact isn't in maven central repo ------------- Freeman(Yue) Fang
Red Hat, Inc. FuseSource is now part of Red Hat Web: http://fusesource.com | http://www.redhat.com/ Twitter: freemanfang Blog: http://freemanfang.blogspot.com http://blog.sina.com.cn/u/1473905042 weibo: @Freeman小屋 On 2013-6-11, at 下午6:19, Ioan Eugen Stan wrote: > Hello Freeman, > > I've added the Alfresco repo and it works as expected. Thanks for the > help. However I'm not sure why the strange behavior with Central. > Running 'mvn install' fails with missing artifact, but manually > getting the artifact with the bellow command succeeds. Too bad I don't > have time to investigate. > > Cheers, > > mvn install:install-file -DgroupId=org.objectweb.asm > -DartifactId=com.springsource.org.objectweb.asm.util -Dversion=2.2.3 > -Dpackaging=jar -Dfile=/path/to/file > > --- > <repositories> > <repository> > <id>alfresco-releases</id> > <releases> > <enabled>true</enabled> > <updatePolicy>always</updatePolicy> > <checksumPolicy>warn</checksumPolicy> > </releases> > <snapshots> > <enabled>false</enabled> > </snapshots> > <name>Alfresco Public Artifacts</name> > > <url>https://artifacts.alfresco.com/nexus/content/groups/public/</url> > </repository> > </repositories> > > On Fri, Jun 7, 2013 at 4:11 AM, Freeman Fang <freeman.f...@gmail.com> wrote: >> Hi, >> >> I can find one repo here[1], could you add it into your pom.xml? >> >> [1]https://maven.alfresco.com/nexus/content/repositories/com.springsource.repository.bundles.external/org/objectweb/asm/com.springsource.org.objectweb.asm.util/2.2.3/ >> >> ------------- >> Freeman(Yue) Fang >> >> Red Hat, Inc. >> FuseSource is now part of Red Hat >> Web: http://fusesource.com | http://www.redhat.com/ >> Twitter: freemanfang >> Blog: http://freemanfang.blogspot.com >> http://blog.sina.com.cn/u/1473905042 >> weibo: @Freeman小屋 >> >> www.camelone.org : The open source integration conference: >> >> On 2013-6-7, at 上午12:42, Ioan Eugen Stan wrote: >> >> Hello Freeman, >> >> I have the repo (checked in effective-pom). I removed the directory >> but it's still doesn't work. It's also strange that search.maven.org >> does not seem to find it either [1]. >> >> Cheers, >> >> [1] >> http://search.maven.org/#search%7Cga%7C1%7Ccom.springsource.org.objectweb.asm.util >> >> > > > > -- > Ioan Eugen Stan > 0720 898 747