Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 402617

Summary: netbeans-apisupport-7.1 compiles only with maven 3.0.3
Product: Gentoo Linux Reporter: Marco Confalonieri <marco.confalonieri>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal CC: bdouxx-gentoo, mark+gentoobugs, zmedico
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log showing failure with maven-bin-3.0.4
build log showing failure with maven-bin-3.0.4

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)