jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • XFire
  • XFIRE-227

xfire-parent pom missing in global Maven repository

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0-M5
  • Fix Version/s: 1.1
  • Component/s: Annotations
  • Labels:
    None
  • Environment:
    All

Description

I'm willing to use XFire Annotations with Maven 2, and the global Maven 2 repository :

<dependency>
<groupId>org.codehaus.xfire</groupId>
<artifactId>xfire-annotations</artifactId>
<version>1.0-M5</version>
<scope>compile</scope>
</dependency>

This unfortunately fails because its depends on xfire-parent, which has no pom defined in the global Maven repository :

Downloading: http://repo1.maven.org/maven2/org/codehaus/xfire/xfire-parent/1.0-M5/xfire-parent-1.0-M5.pom
[WARNING] Unable to get resource from repository maven2 (http://repo1.maven.org/maven2)

I know there is also a distribution available on http://dist.codehaus.org, but it's not using the standard package names (xfire instead of org.codehaus.xfire), and I don't want another repository in my build.

I can help you create it / test it if you want to.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Julien Dubois added a comment - 08/Jan/06 2:16 PM

Sorry, I didn't see the xfire/ repository on the global Maven repository.

In that case, my bug is different :
1- you should use the standard Maven 2 names (org.codehaus.xfire)
2- if you do not use the standard names, please clean up this org.codehaus.xfire repository, as it's error-prone.

Show
Julien Dubois added a comment - 08/Jan/06 2:16 PM Sorry, I didn't see the xfire/ repository on the global Maven repository. In that case, my bug is different : 1- you should use the standard Maven 2 names (org.codehaus.xfire) 2- if you do not use the standard names, please clean up this org.codehaus.xfire repository, as it's error-prone.
Hide
Permalink
Christoph Sturm added a comment - 08/Jan/06 3:20 PM

hey julien!

the poms with group id xfire are maven1 poms that are automatically converted to m2 poms. (the m2 repo on ibiblio does that)
the poms with groupId org.codehaus.xfire are built with our new maven2 build. This build was not working correctly when M5 was released. We now have a much better maven 2 build, and will release 1.0rc soon.

probably the best option right now is to use groupId xfire for now, and switch to the new groupId when the rc is released.

-chris

Show
Christoph Sturm added a comment - 08/Jan/06 3:20 PM hey julien! the poms with group id xfire are maven1 poms that are automatically converted to m2 poms. (the m2 repo on ibiblio does that) the poms with groupId org.codehaus.xfire are built with our new maven2 build. This build was not working correctly when M5 was released. We now have a much better maven 2 build, and will release 1.0rc soon. probably the best option right now is to use groupId xfire for now, and switch to the new groupId when the rc is released. -chris
Hide
Permalink
Julien Dubois added a comment - 08/Jan/06 3:42 PM

Hi chris,

There's also a problem with xmlbeans-jsr173-api-2.0-dev.jar missing in the global Maven repository. I know this stuff is pretty hard to get working, with the Maven global repository constantly changing (I'm the releaser for DWR).

I'm going to use XFire with Tudu Lists (http://tudu.sf.net), my pet application : I can be a tester/reviewer for your next builds if you want to.

Julien.

Show
Julien Dubois added a comment - 08/Jan/06 3:42 PM Hi chris, There's also a problem with xmlbeans-jsr173-api-2.0-dev.jar missing in the global Maven repository. I know this stuff is pretty hard to get working, with the Maven global repository constantly changing (I'm the releaser for DWR). I'm going to use XFire with Tudu Lists (http://tudu.sf.net), my pet application : I can be a tester/reviewer for your next builds if you want to. Julien.
Hide
Permalink
Christoph Sturm added a comment - 08/Jan/06 4:05 PM

hey!

that jsr173 dependency is a bogus dependency that doesnt exist. the xmlbeans maven plugin seems to pull it in sometimes

if I do a mvn clean
and then a mvn install
it fails
if i do a mvn install again, it works.

maybe that could work for you too.

also you could try if mvn -N install in the root xfire dir before mvn install fixes that issue.

-chris

Show
Christoph Sturm added a comment - 08/Jan/06 4:05 PM hey! that jsr173 dependency is a bogus dependency that doesnt exist. the xmlbeans maven plugin seems to pull it in sometimes if I do a mvn clean and then a mvn install it fails if i do a mvn install again, it works. maybe that could work for you too. also you could try if mvn -N install in the root xfire dir before mvn install fixes that issue. -chris
Hide
Permalink
Julien Dubois added a comment - 08/Jan/06 4:23 PM

Well, I've been putting the latest XMLBeans in my private Maven repository in order to make that work.

But if you're telling me it's a bogus dependency, I'll just exclude it from my pom. Thanks!

In case this interests anybody reading this thread, my pom is here :
http://cvs.sourceforge.net/viewcvs.py/tudu/tudu/

Show
Julien Dubois added a comment - 08/Jan/06 4:23 PM Well, I've been putting the latest XMLBeans in my private Maven repository in order to make that work. But if you're telling me it's a bogus dependency, I'll just exclude it from my pom. Thanks! In case this interests anybody reading this thread, my pom is here : http://cvs.sourceforge.net/viewcvs.py/tudu/tudu/
Hide
Permalink
Julien Dubois added a comment - 22/Jan/06 12:40 PM

After some verification, this dependency is definitely needed. If you exclude it from your POM you will get errors when running XFire.

Show
Julien Dubois added a comment - 22/Jan/06 12:40 PM After some verification, this dependency is definitely needed. If you exclude it from your POM you will get errors when running XFire.
Hide
Permalink
Andrew Perepelytsya added a comment - 23/Apr/06 2:23 PM

I'm experiencing the same problem (missing xfire-parent), but now for xfire 1.1-beta-1. This really blocks us (Mule project) from upgrading in m2 build. m1 seems to be ok.

Show
Andrew Perepelytsya added a comment - 23/Apr/06 2:23 PM I'm experiencing the same problem (missing xfire-parent), but now for xfire 1.1-beta-1. This really blocks us (Mule project) from upgrading in m2 build. m1 seems to be ok.
Hide
Permalink
Dan Diephouse added a comment - 24/Apr/06 7:35 AM

The solution is to add the dist.codehaus.org repo to your build:

<repository>
<id>codehaus</id>
<name>codehaus</name>
<url>http://dist.codehaus.org</url>
<layout>legacy</layout>
</repository>

The m2 repo guys have some crazy rewrite rules that aren't working quite right, hence our pom isn't showing up.

Show
Dan Diephouse added a comment - 24/Apr/06 7:35 AM The solution is to add the dist.codehaus.org repo to your build: <repository> <id>codehaus</id> <name>codehaus</name> <url>http://dist.codehaus.org</url> <layout>legacy</layout> </repository> The m2 repo guys have some crazy rewrite rules that aren't working quite right, hence our pom isn't showing up.
Hide
Permalink
Andrew Perepelytsya added a comment - 24/Apr/06 4:35 PM

Thanks Dan,

That did the trick

Show
Andrew Perepelytsya added a comment - 24/Apr/06 4:35 PM Thanks Dan, That did the trick
Hide
Permalink
Christoph Sturm added a comment - 26/Jun/06 1:07 PM

i think this is already working since at least 1.1

Show
Christoph Sturm added a comment - 26/Jun/06 1:07 PM i think this is already working since at least 1.1

People

  • Assignee:
    Christoph Sturm
    Reporter:
    Julien Dubois
Vote (1)
Watch (2)

Dates

  • Created:
    08/Jan/06 2:11 PM
    Updated:
    26/Jun/06 1:07 PM
    Resolved:
    26/Jun/06 1:07 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.