Hi, 

This seems to be the same issue as reported here:
http://opencast.3480289.n2.nabble.com/Jersey-is-Missing-td7450791.html
Jersey is Missing 

I've just experienced the same and could find a working workaround at least
for me. 
I'm totally new to Maven so bare with me if I'm writing nonsense. 

Apparently the glassfish-repository in the 
http://repository.opencastproject.org/nexus/content/groups/public/com/sun/jersey/jersey-server/1.1.5/jersey-server-1.1.5.pom
jersey-server-1.1.5.pom  is referencing to a discontinued 
http://maven.glassfish.org/content/groups/glassfish URL . 

In order to override the repository's URL I've added a mirror in Maven's
settings.xml. In my case it's under /etc/maven2/. 
/    <mirror>
      <id>jersey_workaround</id>
      <mirrorOf>glassfish-repository</mirrorOf>
      <name>Workaround for missing jersey-project.pom</name>
     
<url>http://repository.opencastproject.org/nexus/content/groups/public</url>
    </mirror>/

Before trying to rebuild again you have to first delete the badly downloaded
jersey-project under Maven's repository directory. As root run
/rm -r ~/.m2/repository/com/sun/jersey/jersey-project//
alternatively you could remove the whole repository in order to build from
scratch 
/rm -r ~/.m2/repository//

Now 
/mvn clean install -DdeployTo=/opt/matterhorn/felix/matterhorn/
should successfully build. 

Regards
Philipp

--
View this message in context: 
http://opencast.3480289.n2.nabble.com/Error-null-jersey-server-tp7464042p7466151.html
Sent from the Opencast Community mailing list archive at Nabble.com.
_______________________________________________
Community mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/community


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to