OK, it's building again, I think I figured out the problem.

net.java.dev.rome:rome-propono:1.0.0 has a dependency on net.java.dev.rome:rome:1.0, which doesn't exist, only net.java.dev.rome:rome:1.0.0 (two zeros) exists. So we need to explicitly declare net.java.dev.rome:rom:1.0.0, which allows for rome-propono's dependency request for the non-existent 1.0 version to be ignored (an dependency exclusion for rome:1.0 in rome-propono is not enough for it not to try to find that dependency).

The latest org.rometools:rome-fetcher is 1.2, which depends on rome:rome 1.0. (There's also a rome:rome-fetcher with the same dependency.) Low priority, but if we could have an org.rometools:propono:1.2 or a rome:propono:1.0 with a dependency on rome:rome:1.0 we won't need any rome dependency in our pom anymore (as rome:rome will be brought in transitively), and we can possibly upgrade to the latest rome-fetcher that way.

Glen

On 06/29/2013 05:53 PM, Glen Mazza wrote:
Hi, an mvn clean install from roller-trunk is returning this error for me:

[WARNING] The POM for net.java.dev.rome:rome:jar:1.0 is missing, no dependency information available [WARNING] The POM for net.java.dev.rome:rome-fetcher:jar:1.0 is missing, no dependency information available
...
[ERROR] Failed to execute goal on project roller-webapp: Could not resolve dependencies for project org.apache.roller:roller-webapp:war:5.1.0-SNAPSHOT: The following artifacts could not be resolved: net.java.dev.rome:rome:jar:1.0, net.java.dev.rome:rome-fetcher:jar:1.0: Could not find artifact net.java.dev.rome:rome:jar:1.0 in central (http://repo1.maven.org/maven2) -> [Help 1]

(I cleaned out my Maven repository making these dependencies no longer available, and apparently Central doesn't have them anymore either.)

In the app/pom.xml, I tried to switch net.java.dev.rome:rome:1.0 and net.java.dev.rome:rome-fetcher:1.0 to the apparently newer rome:rome:1.0 and rome-fetcher:1.0, and I think that would have fixed it, I just got this error instead:

[ERROR] Failed to execute goal on project roller-webapp: Could not resolve dependencies for project org.apache.roller:roller-webapp:war:5.1.0-SNAPSHOT: Could not find artifact net.java.dev.rome:rome:jar:1.0 in central (http://repo1.maven.org/maven2) -> [Help 1]

But there is no rome:rome-propono, just net.java.dev.rome:rome-propono, and it has a dependency on n.j.d.r:rome and not rome:rome, which appears to be bringing up the above problem. When I comment out the rome-propono dependency, Maven no longer complains but we get compilation errors due to that missing dependency.

Dave, you apparently did some work on Rome Propono, would you be able to issue a new rome:rome-propono:1.0 artifact that depends on rome:rome:1.0 instead of the deprecated java.net version?

Thanks,
Glen

Reply via email to