Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 402617 - netbeans-apisupport-7.1 compiles only with maven 3.0.3
Summary: netbeans-apisupport-7.1 compiles only with maven 3.0.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-08 00:28 UTC by Marco Confalonieri
Modified: 2012-02-19 12:37 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log showing failure with maven-bin-3.0.4 (netbeans-apisupport-7.1:20120219-090300.log.gz,14.42 KB, application/x-gzip)
2012-02-19 09:24 UTC, Zac Medico
Details
build log showing failure with maven-bin-3.0.4 (netbeans-apisupport-7.1-20120219-090300.log,76.34 KB, text/plain)
2012-02-19 09:31 UTC, Zac Medico
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Confalonieri 2012-02-08 00:28:59 UTC
Trying to compile netbeans-apisupport-7.1 in a system with maven-3.0.4 (ARCH: ~amd64) gave me the same error described for netbeans-apisupport-7.0 in bug #364835:

      class file for org.apache.maven.project.MavenProject not found

I had to downgrade to maven 3.0.3 and then it worked perfectly.
Comment 1 Mark Nowiasz 2012-02-18 22:08:15 UTC
Same here - doesn't compile with maven 3.0.4, same error message, also amd64.
Comment 2 Zac Medico gentoo-dev 2012-02-19 09:24:28 UTC
Created attachment 302481 [details]
build log showing failure with maven-bin-3.0.4

The interesting thing about the build log is that it shows it's looking for maven-core-3.0.3.jar even though maven-bin-3.0.4 is installed:

[nb-javac] warning: [path] bad path element "/var/tmp/portage/dev-java/netbeans-apisupport-7.1/work/nbbuild/netbeans/java/maven/lib/maven-core-3.0.3.jar": no such file or directory
Comment 3 Zac Medico gentoo-dev 2012-02-19 09:31:03 UTC
Created attachment 302483 [details]
build log showing failure with maven-bin-3.0.4
Comment 4 Miroslav Šulc gentoo-dev 2012-02-19 12:37:30 UTC
should be fixed now.

*netbeans-java-7.1-r1 (19 Feb 2012)

  19 Feb 2012; Miroslav Šulc <fordfrog@gentoo.org> -netbeans-java-7.1.ebuild,
  +netbeans-java-7.1-r1.ebuild:
  Fixed bug #402617 (Netbeans expects Maven version 3.0.3 and no other so using
  bundled Maven instead of system one)