You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stanbol.apache.org by Sitapati das / Joshua J Wulf <si...@worldsankirtan.net> on 2012/05/30 11:00:37 UTC

Build error with 0.9.0: com.sun.jersey:jersey-server:jar:1.7

I downloaded 0.9.0-incubating + dependencies zips, unzipped them in the
same place, then ran


mvn clean install.

I get the following error:

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: null:jersey-server:bundle:null

Reason: Cannot find parent: com.sun.jersey:jersey-project for project:
null:jersey-server:bundle:null for project null:jersey-server:bundle:null


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 52 seconds
[INFO] Finished at: Wed May 30 11:17:07 EEST 2012
[INFO] Final Memory: 120M/247M
[INFO]
------------------------------------------------------------------------


I tried mvn clean, then mvn clean install again. Same error.

With stack trace on:

Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException:
Unable to get dependency information: Unable to read the metadata file for
artifact 'com.sun.jersey:jersey-server:jar': Cannot find parent:
com.sun.jersey:jersey-project for project: null:jersey-server:bundle:null
for project null:jersey-server:bundle:null
  com.sun.jersey:jersey-server:jar:1.7

from the specified remote repositories:
  apache.snapshots (http://repository.apache.org/snapshots),
  central (http://repo1.maven.org/maven2),
  __jpp_pom_repo__ (file:///usr/share/maven-poms),
  __jpp_repo2__ (file:///usr/share/maven/repository),
  __jpp_repo__ (file:///usr/share/maven2/repository)

Path to dependency:
1)
org.apache.stanbol:org.apache.stanbol.commons.web.base:bundle:0.9.0-incubating

Any pointers?

thanks!

Re: Build error with 0.9.0: com.sun.jersey:jersey-server:jar:1.7

Posted by Fabian Christ <ch...@googlemail.com>.
2012/5/30 Sitapati das / Joshua J Wulf <si...@worldsankirtan.net>:
> Boom!
>
> mvn links to maven 2 on Fedora 15. mvn3 is the command to use. Thanks for
> that.

Great.

> Now, with maven 3, I get a 404 for
> http://repo1.maven.org/maven2/net/sourceforge/owlapi/owlapi/3.2.3/owlapi-3.2.3.jar
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Stanbol OWL libraries 0.9.0-incubating
> [INFO]
> ------------------------------------------------------------------------
> Downloading:
> http://repo1.maven.org/maven2/net/sourceforge/owlapi/owlapi/3.2.3/owlapi-3.2.3.pom
> [WARNING] The POM for net.sourceforge.owlapi:owlapi:jar:3.2.3 is missing,
> no dependency information available
> Downloading:
> http://repo1.maven.org/maven2/net/sourceforge/owlapi/owlapi/3.2.3/owlapi-3.2.3.jar

Did you reinstall the -deps package after you cleaned your local repo?

Best,
 - Fabian

Re: Build error with 0.9.0: com.sun.jersey:jersey-server:jar:1.7

Posted by Sitapati das / Joshua J Wulf <si...@worldsankirtan.net>.
Boom!

mvn links to maven 2 on Fedora 15. mvn3 is the command to use. Thanks for
that.

Now, with maven 3, I get a 404 for
http://repo1.maven.org/maven2/net/sourceforge/owlapi/owlapi/3.2.3/owlapi-3.2.3.jar

[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Stanbol OWL libraries 0.9.0-incubating
[INFO]
------------------------------------------------------------------------
Downloading:
http://repo1.maven.org/maven2/net/sourceforge/owlapi/owlapi/3.2.3/owlapi-3.2.3.pom
[WARNING] The POM for net.sourceforge.owlapi:owlapi:jar:3.2.3 is missing,
no dependency information available
Downloading:
http://repo1.maven.org/maven2/net/sourceforge/owlapi/owlapi/3.2.3/owlapi-3.2.3.jar


On Wed, May 30, 2012 at 2:51 PM, Anuj Kumar <an...@gmail.com> wrote:

> Hi Sitapati,
>
> I have faced this issue before. Upgrading to Maven 3 and cleaning up my
> existing ~/.m2 repository worked for me.
>
> Regards,
> Anuj
>
> On Wed, May 30, 2012 at 5:18 PM, Sitapati das / Joshua J Wulf <
> sitapati@worldsankirtan.net> wrote:
>
> > Thanks for the quick reply Fabian.
> >
> > [jwulf@radhe apache-stanbol-0.9.0-incubating]$ rpm -q maven
> > maven-3.0.3-7.fc15.noarch
> >
> > Looks like that was maven 3.....
> >
> > On Wed, May 30, 2012 at 12:21 PM, Fabian Christ <
> > christ.fabian@googlemail.com> wrote:
> >
> > > Hi,
> > >
> > > the problem is not directly related to Stanbol but to the Jersey
> > > packages on Maven central. Someone moved (I don't know why people are
> > > doing such things) the Jersey 1.7 artifacts on the Maven central
> > > server after our 0.9.0-incubating release. The server responds with a
> > > "Moved permanently" and points to the new location. The problem is
> > > that Maven 2 seems not to handle this correctly which results in the
> > > null values here
> > >
> > > Reason: Cannot find parent: com.sun.jersey:jersey-project for project:
> > > null:jersey-server:bundle:null for project
> null:jersey-server:bundle:null
> > >
> > > Can you please try it with Maven 3?
> > >
> > > Best,
> > >  - Fabian
> > >
> > > 2012/5/30 Sitapati das / Joshua J Wulf <si...@worldsankirtan.net>:
> > > > I downloaded 0.9.0-incubating + dependencies zips, unzipped them in
> the
> > > > same place, then ran
> > > >
> > > >
> > > > mvn clean install.
> > > >
> > > > I get the following error:
> > > >
> > > > [INFO]
> > > >
> > ------------------------------------------------------------------------
> > > > [ERROR] BUILD ERROR
> > > > [INFO]
> > > >
> > ------------------------------------------------------------------------
> > > > [INFO] Error building POM (may not be this project's POM).
> > > >
> > > >
> > > > Project ID: null:jersey-server:bundle:null
> > > >
> > > > Reason: Cannot find parent: com.sun.jersey:jersey-project for
> project:
> > > > null:jersey-server:bundle:null for project
> > null:jersey-server:bundle:null
> > > >
> > > >
> > > > [INFO]
> > > >
> > ------------------------------------------------------------------------
> > > > [INFO] For more information, run Maven with the -e switch
> > > > [INFO]
> > > >
> > ------------------------------------------------------------------------
> > > > [INFO] Total time: 52 seconds
> > > > [INFO] Finished at: Wed May 30 11:17:07 EEST 2012
> > > > [INFO] Final Memory: 120M/247M
> > > > [INFO]
> > > >
> > ------------------------------------------------------------------------
> > > >
> > > >
> > > > I tried mvn clean, then mvn clean install again. Same error.
> > > >
> > > > With stack trace on:
> > > >
> > > > Caused by:
> > > org.apache.maven.artifact.resolver.ArtifactResolutionException:
> > > > Unable to get dependency information: Unable to read the metadata
> file
> > > for
> > > > artifact 'com.sun.jersey:jersey-server:jar': Cannot find parent:
> > > > com.sun.jersey:jersey-project for project:
> > null:jersey-server:bundle:null
> > > > for project null:jersey-server:bundle:null
> > > >  com.sun.jersey:jersey-server:jar:1.7
> > > >
> > > > from the specified remote repositories:
> > > >  apache.snapshots (http://repository.apache.org/snapshots),
> > > >  central (http://repo1.maven.org/maven2),
> > > >  __jpp_pom_repo__ (file:///usr/share/maven-poms),
> > > >  __jpp_repo2__ (file:///usr/share/maven/repository),
> > > >  __jpp_repo__ (file:///usr/share/maven2/repository)
> > > >
> > > > Path to dependency:
> > > > 1)
> > > >
> > >
> >
> org.apache.stanbol:org.apache.stanbol.commons.web.base:bundle:0.9.0-incubating
> > > >
> > > > Any pointers?
> > > >
> > > > thanks!
> > >
> > >
> > >
> > > --
> > > Fabian
> > > http://twitter.com/fctwitt
> > >
> >
>

Re: Build error with 0.9.0: com.sun.jersey:jersey-server:jar:1.7

Posted by Anuj Kumar <an...@gmail.com>.
Hi Sitapati,

I have faced this issue before. Upgrading to Maven 3 and cleaning up my
existing ~/.m2 repository worked for me.

Regards,
Anuj

On Wed, May 30, 2012 at 5:18 PM, Sitapati das / Joshua J Wulf <
sitapati@worldsankirtan.net> wrote:

> Thanks for the quick reply Fabian.
>
> [jwulf@radhe apache-stanbol-0.9.0-incubating]$ rpm -q maven
> maven-3.0.3-7.fc15.noarch
>
> Looks like that was maven 3.....
>
> On Wed, May 30, 2012 at 12:21 PM, Fabian Christ <
> christ.fabian@googlemail.com> wrote:
>
> > Hi,
> >
> > the problem is not directly related to Stanbol but to the Jersey
> > packages on Maven central. Someone moved (I don't know why people are
> > doing such things) the Jersey 1.7 artifacts on the Maven central
> > server after our 0.9.0-incubating release. The server responds with a
> > "Moved permanently" and points to the new location. The problem is
> > that Maven 2 seems not to handle this correctly which results in the
> > null values here
> >
> > Reason: Cannot find parent: com.sun.jersey:jersey-project for project:
> > null:jersey-server:bundle:null for project null:jersey-server:bundle:null
> >
> > Can you please try it with Maven 3?
> >
> > Best,
> >  - Fabian
> >
> > 2012/5/30 Sitapati das / Joshua J Wulf <si...@worldsankirtan.net>:
> > > I downloaded 0.9.0-incubating + dependencies zips, unzipped them in the
> > > same place, then ran
> > >
> > >
> > > mvn clean install.
> > >
> > > I get the following error:
> > >
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [ERROR] BUILD ERROR
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Error building POM (may not be this project's POM).
> > >
> > >
> > > Project ID: null:jersey-server:bundle:null
> > >
> > > Reason: Cannot find parent: com.sun.jersey:jersey-project for project:
> > > null:jersey-server:bundle:null for project
> null:jersey-server:bundle:null
> > >
> > >
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] For more information, run Maven with the -e switch
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Total time: 52 seconds
> > > [INFO] Finished at: Wed May 30 11:17:07 EEST 2012
> > > [INFO] Final Memory: 120M/247M
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > >
> > >
> > > I tried mvn clean, then mvn clean install again. Same error.
> > >
> > > With stack trace on:
> > >
> > > Caused by:
> > org.apache.maven.artifact.resolver.ArtifactResolutionException:
> > > Unable to get dependency information: Unable to read the metadata file
> > for
> > > artifact 'com.sun.jersey:jersey-server:jar': Cannot find parent:
> > > com.sun.jersey:jersey-project for project:
> null:jersey-server:bundle:null
> > > for project null:jersey-server:bundle:null
> > >  com.sun.jersey:jersey-server:jar:1.7
> > >
> > > from the specified remote repositories:
> > >  apache.snapshots (http://repository.apache.org/snapshots),
> > >  central (http://repo1.maven.org/maven2),
> > >  __jpp_pom_repo__ (file:///usr/share/maven-poms),
> > >  __jpp_repo2__ (file:///usr/share/maven/repository),
> > >  __jpp_repo__ (file:///usr/share/maven2/repository)
> > >
> > > Path to dependency:
> > > 1)
> > >
> >
> org.apache.stanbol:org.apache.stanbol.commons.web.base:bundle:0.9.0-incubating
> > >
> > > Any pointers?
> > >
> > > thanks!
> >
> >
> >
> > --
> > Fabian
> > http://twitter.com/fctwitt
> >
>

Re: Build error with 0.9.0: com.sun.jersey:jersey-server:jar:1.7

Posted by Sitapati das / Joshua J Wulf <si...@worldsankirtan.net>.
Thanks for the quick reply Fabian.

[jwulf@radhe apache-stanbol-0.9.0-incubating]$ rpm -q maven
maven-3.0.3-7.fc15.noarch

Looks like that was maven 3.....

On Wed, May 30, 2012 at 12:21 PM, Fabian Christ <
christ.fabian@googlemail.com> wrote:

> Hi,
>
> the problem is not directly related to Stanbol but to the Jersey
> packages on Maven central. Someone moved (I don't know why people are
> doing such things) the Jersey 1.7 artifacts on the Maven central
> server after our 0.9.0-incubating release. The server responds with a
> "Moved permanently" and points to the new location. The problem is
> that Maven 2 seems not to handle this correctly which results in the
> null values here
>
> Reason: Cannot find parent: com.sun.jersey:jersey-project for project:
> null:jersey-server:bundle:null for project null:jersey-server:bundle:null
>
> Can you please try it with Maven 3?
>
> Best,
>  - Fabian
>
> 2012/5/30 Sitapati das / Joshua J Wulf <si...@worldsankirtan.net>:
> > I downloaded 0.9.0-incubating + dependencies zips, unzipped them in the
> > same place, then ran
> >
> >
> > mvn clean install.
> >
> > I get the following error:
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Error building POM (may not be this project's POM).
> >
> >
> > Project ID: null:jersey-server:bundle:null
> >
> > Reason: Cannot find parent: com.sun.jersey:jersey-project for project:
> > null:jersey-server:bundle:null for project null:jersey-server:bundle:null
> >
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 52 seconds
> > [INFO] Finished at: Wed May 30 11:17:07 EEST 2012
> > [INFO] Final Memory: 120M/247M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> >
> > I tried mvn clean, then mvn clean install again. Same error.
> >
> > With stack trace on:
> >
> > Caused by:
> org.apache.maven.artifact.resolver.ArtifactResolutionException:
> > Unable to get dependency information: Unable to read the metadata file
> for
> > artifact 'com.sun.jersey:jersey-server:jar': Cannot find parent:
> > com.sun.jersey:jersey-project for project: null:jersey-server:bundle:null
> > for project null:jersey-server:bundle:null
> >  com.sun.jersey:jersey-server:jar:1.7
> >
> > from the specified remote repositories:
> >  apache.snapshots (http://repository.apache.org/snapshots),
> >  central (http://repo1.maven.org/maven2),
> >  __jpp_pom_repo__ (file:///usr/share/maven-poms),
> >  __jpp_repo2__ (file:///usr/share/maven/repository),
> >  __jpp_repo__ (file:///usr/share/maven2/repository)
> >
> > Path to dependency:
> > 1)
> >
> org.apache.stanbol:org.apache.stanbol.commons.web.base:bundle:0.9.0-incubating
> >
> > Any pointers?
> >
> > thanks!
>
>
>
> --
> Fabian
> http://twitter.com/fctwitt
>

Re: Build error with 0.9.0: com.sun.jersey:jersey-server:jar:1.7

Posted by Fabian Christ <ch...@googlemail.com>.
Hi,

the problem is not directly related to Stanbol but to the Jersey
packages on Maven central. Someone moved (I don't know why people are
doing such things) the Jersey 1.7 artifacts on the Maven central
server after our 0.9.0-incubating release. The server responds with a
"Moved permanently" and points to the new location. The problem is
that Maven 2 seems not to handle this correctly which results in the
null values here

Reason: Cannot find parent: com.sun.jersey:jersey-project for project:
null:jersey-server:bundle:null for project null:jersey-server:bundle:null

Can you please try it with Maven 3?

Best,
 - Fabian

2012/5/30 Sitapati das / Joshua J Wulf <si...@worldsankirtan.net>:
> I downloaded 0.9.0-incubating + dependencies zips, unzipped them in the
> same place, then ran
>
>
> mvn clean install.
>
> I get the following error:
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: null:jersey-server:bundle:null
>
> Reason: Cannot find parent: com.sun.jersey:jersey-project for project:
> null:jersey-server:bundle:null for project null:jersey-server:bundle:null
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 52 seconds
> [INFO] Finished at: Wed May 30 11:17:07 EEST 2012
> [INFO] Final Memory: 120M/247M
> [INFO]
> ------------------------------------------------------------------------
>
>
> I tried mvn clean, then mvn clean install again. Same error.
>
> With stack trace on:
>
> Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException:
> Unable to get dependency information: Unable to read the metadata file for
> artifact 'com.sun.jersey:jersey-server:jar': Cannot find parent:
> com.sun.jersey:jersey-project for project: null:jersey-server:bundle:null
> for project null:jersey-server:bundle:null
>  com.sun.jersey:jersey-server:jar:1.7
>
> from the specified remote repositories:
>  apache.snapshots (http://repository.apache.org/snapshots),
>  central (http://repo1.maven.org/maven2),
>  __jpp_pom_repo__ (file:///usr/share/maven-poms),
>  __jpp_repo2__ (file:///usr/share/maven/repository),
>  __jpp_repo__ (file:///usr/share/maven2/repository)
>
> Path to dependency:
> 1)
> org.apache.stanbol:org.apache.stanbol.commons.web.base:bundle:0.9.0-incubating
>
> Any pointers?
>
> thanks!



-- 
Fabian
http://twitter.com/fctwitt