cancel
Showing results for 
Search instead for 
Did you mean: 

maven repo for activiti

rock_star
Champ in-the-making
Champ in-the-making
Hi Guys,

I am using activiti 5.1 with Spring, maven 2.2.1 and added dependency into project as below. But artifact does not get downloaded.

I have added the maven repo link as http://maven.alfresco.com/nexus/content/repositories/activiti to our central repo.

Please let me know if the repo link or maven artifact is wrong.
Thanks


<dependency>
         <groupId>org.activiti</groupId>
         <artifactId>activiti-engine</artifactId>
         <version>5.1</version>
      </dependency>
7 REPLIES 7

frederikherema1
Star Contributor
Star Contributor
Maven repo is correct, artifact group and id as wel (http://maven.alfresco.com/nexus/content/repositories/activiti/org/activiti/activiti-engine/5.1/).

Is your central maven repo mirroring the activiti-repo (is it a nexus or proximity typish thing)?

tombaeyens
Champ in-the-making
Champ in-the-making
can you share the exact problem that maven spits out?

jdev
Champ in-the-making
Champ in-the-making
We have probably the same problem, our nexus repository works as proxy, but fails to download any pom from the activiti repository.
We don't have problems with other repositories.

These are our logs…

2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - org.mortbay.log               - call servlet nexus
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.r.ContentPlex~          - Created ResourceStore request for /groups/public/org/activiti/activiti-root/5.1/activiti-root-5.1.pom
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Group~          - getTargetsForRequest() :: public:/org/activiti/activiti-root/5.1/activiti-root-5.1.pom
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.t.DefaultTa~          - Resolving targets for repository='public' for path='/org/activiti/activiti-root/5.1/activiti-root-5.1.pom'
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.a.DefaultNe~          - Checking isPermitted() with perms: [nexus:target:1Smiley Tongueublic:read, nexus:target:3Smiley Tongueublic:read, nexus:target:anySmiley Tongueublic:read]
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.s.a.ExceptionCa~          - Realm: XmlAuthenticatingRealm user: anonymous does NOT have permisison: nexus:target:1Smiley Tongueublic:read
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.s.a.ExceptionCa~          - Realm: org.sonatype.security.realms.XmlAuthorizingRealm user: anonymous has permisison: nexus:target:1Smiley Tongueublic:read
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Group~          - public.retrieveItem() :: /org/activiti/activiti-root/5.1/activiti-root-5.1.pom
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Group~          - The path /org/activiti/activiti-root/5.1/activiti-root-5.1.pom is in NFC and still active, throwing ItemNotFoundException.
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.s.l.f.Defau~          - /org/activiti/activiti-root/5.1/activiti-root-5.1.pom –> C:\data\apps\nexus\nexus-oss-webapp-1.8.0.1\.\..\sonatype-work\nexus\storage\public\org\activiti\activiti-root\5.1\activiti-root-5.1.pom
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Group~          - Item /org/activiti/activiti-root/5.1/activiti-root-5.1.pom not found in local storage.
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.DefaultRe~          - No mapping exists for request path [/org/activiti/activiti-root/5.1/activiti-root-5.1.pom]
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Repos~          - releases.retrieveItem() :: /org/activiti/activiti-root/5.1/activiti-root-5.1.pom
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Repos~          - The path /org/activiti/activiti-root/5.1/activiti-root-5.1.pom is in NFC and still active, throwing ItemNotFoundException.
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Repos~          - snapshots.retrieveItem() :: /org/activiti/activiti-root/5.1/activiti-root-5.1.pom
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Repos~          - The path /org/activiti/activiti-root/5.1/activiti-root-5.1.pom is in NFC and still active, throwing ItemNotFoundException.
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Repos~          - thirdparty.retrieveItem() :: /org/activiti/activiti-root/5.1/activiti-root-5.1.pom
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Repos~          - The path /org/activiti/activiti-root/5.1/activiti-root-5.1.pom is in NFC and still active, throwing ItemNotFoundException.
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Repos~          - central.retrieveItem() :: /org/activiti/activiti-root/5.1/activiti-root-5.1.pom
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Repos~          - The path /org/activiti/activiti-root/5.1/activiti-root-5.1.pom is in NFC and still active, throwing ItemNotFoundException.
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Repos~          - java.net-m2.retrieveItem() :: /org/activiti/activiti-root/5.1/activiti-root-5.1.pom
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Repos~          - The path /org/activiti/activiti-root/5.1/activiti-root-5.1.pom is in NFC and still active, throwing ItemNotFoundException.
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Layou~          - java.net-m1-m2.retrieveItem() :: /org/activiti/activiti-root/5.1/activiti-root-5.1.pom
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Layou~          - The path /org/activiti/activiti-root/5.1/activiti-root-5.1.pom is in NFC and still active, throwing ItemNotFoundException.
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Repos~          - google.retrieveItem() :: /org/activiti/activiti-root/5.1/activiti-root-5.1.pom
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Repos~          - The path /org/activiti/activiti-root/5.1/activiti-root-5.1.pom is in NFC and still active, throwing ItemNotFoundException.
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Repos~          - apache-snapshots.retrieveItem() :: /org/activiti/activiti-root/5.1/activiti-root-5.1.pom
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Repos~          - The path /org/activiti/activiti-root/5.1/activiti-root-5.1.pom is in NFC and still active, throwing ItemNotFoundException.
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Repos~          - codehaus-snapshots.retrieveItem() :: /org/activiti/activiti-root/5.1/activiti-root-5.1.pom
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Repos~          - The path /org/activiti/activiti-root/5.1/activiti-root-5.1.pom is in NFC and still active, throwing ItemNotFoundException.
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Repos~          - blazeds.retrieveItem() :: /org/activiti/activiti-root/5.1/activiti-root-5.1.pom
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Repos~          - The path /org/activiti/activiti-root/5.1/activiti-root-5.1.pom is in NFC and still active, throwing ItemNotFoundException.
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Repos~          - flexmojo.retrieveItem() :: /org/activiti/activiti-root/5.1/activiti-root-5.1.pom
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Repos~          - The path /org/activiti/activiti-root/5.1/activiti-root-5.1.pom is in NFC and still active, throwing ItemNotFoundException.
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Repos~          - jboss.retrieveItem() :: /org/activiti/activiti-root/5.1/activiti-root-5.1.pom
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Repos~          - The path /org/activiti/activiti-root/5.1/activiti-root-5.1.pom is in NFC and still active, throwing ItemNotFoundException.
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Repos~          - SunJEE6.retrieveItem() :: /org/activiti/activiti-root/5.1/activiti-root-5.1.pom
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Repos~          - The path /org/activiti/activiti-root/5.1/activiti-root-5.1.pom is in NFC and still active, throwing ItemNotFoundException.
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Group~          - public retrieveItem() :: NOT FOUND public:/org/activiti/activiti-root/5.1/activiti-root-5.1.pom
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - o.s.n.p.m.m.M2Group~          - Adding path /org/activiti/activiti-root/5.1/activiti-root-5.1.pom to NFC.
2011-01-10 13:52:24 ERROR [ti-root-5.1.pom] - o.s.n.r.ContentPlex~          - Got exception during processing request "GET http://nexus-ext.kbcsecurities.net:8081/nexus/content/groups/public/org/activiti/activiti-root/5.1/a...": Item not found on path "/org/activiti/activiti-root/5.1/activiti-root-5.1.pom" in repository "public"!
2011-01-10 13:52:24 DEBUG [ti-root-5.1.pom] - org.mortbay.log               - RESPONSE /nexus/content/groups/public/org/activiti/activiti-root/5.1/activiti-root-5.1.pom  404
2011-01-10 13:52:24 DEBUG [or@0.0.0.0:8081] - org.mortbay.log               - seeing JVM BUG(s) - cancelling interestOps==0

Thanks

jdev
Champ in-the-making
Champ in-the-making
Does no one knows a solution?
Regards,

pverhoye
Champ in-the-making
Champ in-the-making
Hi,

We have the same problem in our project as jdev (all activiti stuff hits NFC status). Now from what I found on the internet, it might be a nexus issue. I've noticed that the nexus version alfresco is using is relatively old (1.4.0). Maybe an upgrade should be done?

frederikherema1
Star Contributor
Star Contributor
Have you tried to flush the cache on your Nexus (right click, Expire Caches)? This will reset the NFC (Not Found Cache).

pverhoye
Champ in-the-making
Champ in-the-making
Hi!

Yep, caches were flushed, we even stopped/started the server after it…no help there. I'm really starting to thing that it must be something on the repo side of Activiti. We have no problem with other repos that also use nexus (but do have newer versions, being 1.7+)