Issue Details (XML | Word | Printable)

Key: MNG-1214
Type: New Feature New Feature
Status: Closed Closed
Resolution: Won't Fix
Priority: Minor Minor
Assignee: Unassigned
Reporter: Damien Raude-Morvan
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Maven 2

Build Maven2 on free java SDK

Created: 15/Oct/05 04:44 PM   Updated: 08/Apr/07 06:30 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Environment: Ubuntu breezy with GCJ 4.0.1

Complexity: Intermediate


 Description  « Hide
It would make maven2 more "GNU Classpath" friendly if there is less flexibility in maven 2 bootstraping ode.
For example in maven-mboot2/src/main/java/compile/JavacCompiler.java, the class "com.sun.tools.javac.Main" is hardcoded. This result in a NullPointerException when trying to build maven2 with GCJ.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Brett Porter added a comment - 15/Oct/05 06:33 PM
shouldn't GCJ implement that class? AFAIK that is the standard API for accessing a javac-like compiler.

Anyway, we should definitely have other alternatives in the bootstrap. We could probably download the plexus compilers we use instead of having one hardcoded in the bootstrap


Trygve Laugstol added a comment - 17/Oct/05 03:45 AM
Damien: I have a set of tools that builds Maven 2 with free tools only. I haven't use any of the GNU tools, only the java-based ones but it shouldn't be hard adding support for GCJ and co. I can publish these somewhere if there's an interest in that.

Brett: The biggest issue with the MBoot for the Linux distros is that it's downloading stuff of the internet which is not something that builds are allowed to do. I have a technique in my scripts that basically builds everything (including dependencies) from source.


Trygve Laugstol added a comment - 17/Oct/05 03:48 AM
Brett: Not that downloading the implementation isn't useful

Brett Porter added a comment - 20/Oct/05 08:36 PM
sure, I'm still writing that mail on how I see us addressing this.

Jason van Zyl added a comment - 24/Mar/07 09:10 AM
We will build and test against released and certified JDKs, trying to support all variants of GJC is untentable.