You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by Lance Norskog <go...@gmail.com> on 2011/09/15 10:16:10 UTC

Maven repository problem in mahout/examples

There is some Maven-ish problem in examples. It wants a "jcommon" thing that
is not there, at least on my two laptops.

[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building Mahout Examples
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] snapshot org.apache.mahout:mahout-core:0.6-SNAPSHOT: checking for
updates from apache.snapshots
[INFO] snapshot org.apache.mahout:mahout-math:0.6-SNAPSHOT: checking for
updates from apache.snapshots
[INFO] snapshot org.apache.mahout:mahout-integration:0.6-SNAPSHOT: checking
for updates from apache.snapshots
Downloading:
http://repo1.maven.org/maven2/jfree/jcommon/1.0.16/jcommon-1.0.16.pom
[INFO] Unable to find resource 'jfree:jcommon:pom:1.0.16' in repository
central
(http://repo1.maven.org/maven2)
[INFO] [compiler:compile {execution: default-compile}]

-- 
Lance Norskog
goksron@gmail.com

Re: Maven repository problem in mahout/examples

Posted by Lance Norskog <go...@gmail.com>.
Rebuilt with all-new .m2/.

It has something to do with easymock, and Maven gets the back-rev 1.0.12
instead of the specified 1.0.16.

If this is the worst "RPM hell" that Maven has to offer, that's cool. Never
mind.

On Thu, Sep 15, 2011 at 2:52 AM, Dan Brickley <da...@danbri.org> wrote:

> On 15 September 2011 10:48, Sean Owen <sr...@gmail.com> wrote:
> > Hmm, I don't see this, anyone else?
> > You could run with -x (I think, or is it -v?) to have it show you the
> > dependency tree and what's pulling this in.
>
> I did a clean and rebuild from trunk (OSX here), didn't get any
> problems; but I had that library in ~/.m2/ already. So -
>
> If I zap my ~/.m2/ and retry 'maven package -DskipTests' in
> $MAHOUT_HOME, after a while I see it was fetched:
>
> .m2/repository/jfree/jcommon
> .m2/repository/jfree/jcommon/1.0.12
> .m2/repository/jfree/jcommon/1.0.12/_maven.repositories
> .m2/repository/jfree/jcommon/1.0.12/jcommon-1.0.12.jar
> .m2/repository/jfree/jcommon/1.0.12/jcommon-1.0.12.jar.sha1
> .m2/repository/jfree/jcommon/1.0.12/jcommon-1.0.12.pom
> .m2/repository/jfree/jcommon/1.0.12/jcommon-1.0.12.pom.sha1
>
> (and then builds successfully; as does cd examples; mvn package
> -DskipTests subsequently)
>
> If you start fresh without Maven's old ~/.m2/ does that help?
>
> Dan
>



-- 
Lance Norskog
goksron@gmail.com

Re: Maven repository problem in mahout/examples

Posted by Dan Brickley <da...@danbri.org>.
On 15 September 2011 10:48, Sean Owen <sr...@gmail.com> wrote:
> Hmm, I don't see this, anyone else?
> You could run with -x (I think, or is it -v?) to have it show you the
> dependency tree and what's pulling this in.

I did a clean and rebuild from trunk (OSX here), didn't get any
problems; but I had that library in ~/.m2/ already. So -

If I zap my ~/.m2/ and retry 'maven package -DskipTests' in
$MAHOUT_HOME, after a while I see it was fetched:

.m2/repository/jfree/jcommon
.m2/repository/jfree/jcommon/1.0.12
.m2/repository/jfree/jcommon/1.0.12/_maven.repositories
.m2/repository/jfree/jcommon/1.0.12/jcommon-1.0.12.jar
.m2/repository/jfree/jcommon/1.0.12/jcommon-1.0.12.jar.sha1
.m2/repository/jfree/jcommon/1.0.12/jcommon-1.0.12.pom
.m2/repository/jfree/jcommon/1.0.12/jcommon-1.0.12.pom.sha1

(and then builds successfully; as does cd examples; mvn package
-DskipTests subsequently)

If you start fresh without Maven's old ~/.m2/ does that help?

Dan

Re: Maven repository problem in mahout/examples

Posted by Sean Owen <sr...@gmail.com>.
Hmm, I don't see this, anyone else?
You could run with -x (I think, or is it -v?) to have it show you the
dependency tree and what's pulling this in.

On Thu, Sep 15, 2011 at 9:16 AM, Lance Norskog <go...@gmail.com> wrote:
> There is some Maven-ish problem in examples. It wants a "jcommon" thing that
> is not there, at least on my two laptops.
>
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Mahout Examples
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO] snapshot org.apache.mahout:mahout-core:0.6-SNAPSHOT: checking for
> updates from apache.snapshots
> [INFO] snapshot org.apache.mahout:mahout-math:0.6-SNAPSHOT: checking for
> updates from apache.snapshots
> [INFO] snapshot org.apache.mahout:mahout-integration:0.6-SNAPSHOT: checking
> for updates from apache.snapshots
> Downloading:
> http://repo1.maven.org/maven2/jfree/jcommon/1.0.16/jcommon-1.0.16.pom
> [INFO] Unable to find resource 'jfree:jcommon:pom:1.0.16' in repository
> central
> (http://repo1.maven.org/maven2)
> [INFO] [compiler:compile {execution: default-compile}]
>
> --
> Lance Norskog
> goksron@gmail.com
>