Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63285 - dev-java/maven - Project Management and Comprehension Tool for Java
Summary: dev-java/maven - Project Management and Comprehension Tool for Java
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
: 72711 88912 117200 (view as bug list)
Depends on: 175034 70607 70625 70843 70847 70892 70893 70900 70903 70904 71178 75663 75856 77194
Blocks:
  Show dependency tree
 
Reported: 2004-09-08 08:25 UTC by Thomas Matthijs (RETIRED)
Modified: 2018-06-07 18:25 UTC (History)
9 users (show)

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


Attachments
New ebuild for maven-bin (maven-bin-1.0.ebuild,2.44 KB, text/plain)
2004-11-05 13:08 UTC, Vibhav Garg (RETIRED)
Details
Ebuild for maven-1.0 from source (maven-1.0.ebuild,1.37 KB, text/plain)
2004-11-08 11:18 UTC, Saleem Abdulrasool (RETIRED)
Details
maven-20041106.tar.bz2 (maven-20041106.tar.bz2,530.97 KB, application/x-bzip)
2004-11-08 11:19 UTC, Saleem Abdulrasool (RETIRED)
Details
maven-plugins-20041106.tbz2 (maven-plugins-20041106.tbz2,1.60 MB, application/x-bzip)
2004-11-08 11:20 UTC, Saleem Abdulrasool (RETIRED)
Details
25maven (25maven,61 bytes, text/plain)
2004-11-08 23:54 UTC, Saleem Abdulrasool (RETIRED)
Details
maven-1.0.ebuild (maven-1.0.ebuild,1.60 KB, text/plain)
2004-11-09 00:35 UTC, Saleem Abdulrasool (RETIRED)
Details
maven-1.0.2.ebuild (maven-1.0.2.ebuild,1.74 KB, text/plain)
2004-12-20 09:10 UTC, Saleem Abdulrasool (RETIRED)
Details
maven-20041219.tbz2 (maven-20041219.tbz2,532.96 KB, application/x-bzip)
2004-12-20 09:11 UTC, Saleem Abdulrasool (RETIRED)
Details
maven-1.0.2.ebuild (maven-1.0.2.ebuild,1.88 KB, text/plain)
2004-12-20 10:37 UTC, Saleem Abdulrasool (RETIRED)
Details
maven-1.0.2.ebuild (maven-1.0.2.ebuild,2.60 KB, text/plain)
2004-12-25 16:31 UTC, Saleem Abdulrasool (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Matthijs (RETIRED) gentoo-dev 2004-09-08 08:25:13 UTC
The ebuild needs to be updated to build the packages from source
Comment 1 Vibhav Garg (RETIRED) gentoo-dev 2004-11-05 13:08:16 UTC
Created attachment 43360 [details]
New ebuild for maven-bin
Comment 2 Vibhav Garg (RETIRED) gentoo-dev 2004-11-05 13:13:20 UTC
I have created a new ebuild to build some pacakges from source. Some of the problems encountered are
1. SOme pacakges like commons-jelly do not exist in portage
2. Maven (actually Forehead) seems to want to load ant-optional-1.5.3-1.jar directly. THis jar contains all the optional tasks for ant. Gentoo installs ant-tasks where each task has a seperate jar. How do we work around this?
3. Some of the packages are older than the ones is portage.
Comment 3 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-11-05 16:29:04 UTC
1) Then we need to add it. Make out a new bug that we need it, and make
   this bug depend on it.
2) Download ant-optional-1.5.3-1.jar from the maven repo, unpack it and see
   what's inside. I have a hunch the stuff in ant-tasks covers it, so you have to
   rewrite the build script for Forehead to use the jar files from ant-tasks
   instead this one monolithic jar file.
3) Try with the newer ones and see if it works. If it doesnt' open a new bug
   for each package we need to create an older ebuild for, and make this bug
   depend on them. Typically, DEPEND/RDEPEND should be on the form
   =dev-java/<lib>-<major>.<minor>*, as <major>.<minor> typically has the same
   SLOT (but this is not strictly guaranteed).

Comment 4 Saleem Abdulrasool (RETIRED) gentoo-dev 2004-11-07 10:51:34 UTC
Im not sure if I am misunderstanding the ebuild.  But I believe you are just using the binaries and then replacing a few of the dependent library.
Comment 5 Saleem Abdulrasool (RETIRED) gentoo-dev 2004-11-08 11:18:41 UTC
Created attachment 43538 [details]
Ebuild for maven-1.0 from source

The sources are required (also attached).
Comment 6 Saleem Abdulrasool (RETIRED) gentoo-dev 2004-11-08 11:19:41 UTC
Created attachment 43539 [details]
maven-20041106.tar.bz2
Comment 7 Saleem Abdulrasool (RETIRED) gentoo-dev 2004-11-08 11:20:38 UTC
Created attachment 43540 [details]
maven-plugins-20041106.tbz2
Comment 8 Saleem Abdulrasool (RETIRED) gentoo-dev 2004-11-08 11:23:46 UTC
The build suffers from a sandbox access violation.  The problem is with the second build (building maven using maven).  The build is still successful.  It is the test that is failing.

Hopefully someone can figure this out, or help to figure it out.
Comment 9 Saleem Abdulrasool (RETIRED) gentoo-dev 2004-11-08 23:54:39 UTC
Created attachment 43586 [details]
25maven

place this file in the files directory
Comment 10 Saleem Abdulrasool (RETIRED) gentoo-dev 2004-11-09 00:35:46 UTC
Created attachment 43593 [details]
maven-1.0.ebuild
Comment 11 Saleem Abdulrasool (RETIRED) gentoo-dev 2004-11-09 00:37:11 UTC
Sandbox violation fixed, additional architectures added (Only tested on x86).
Comment 12 Jose Gonzalez Gomez 2004-11-19 02:18:59 UTC
Maybe the first release of this ebuild would change to maven 1.0.1? This version was released just a week ago.
Comment 13 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-12-18 16:24:26 UTC
*** Bug 72711 has been marked as a duplicate of this bug. ***
Comment 14 Saleem Abdulrasool (RETIRED) gentoo-dev 2004-12-20 09:10:07 UTC
Created attachment 46446 [details]
maven-1.0.2.ebuild
Comment 15 Saleem Abdulrasool (RETIRED) gentoo-dev 2004-12-20 09:11:51 UTC
Created attachment 46447 [details]
maven-20041219.tbz2
Comment 16 Saleem Abdulrasool (RETIRED) gentoo-dev 2004-12-20 09:16:04 UTC
Updated to maven-1.0.2 as people are really asking for this.  The issue of the jars being pulled from the web still exist.  However, this is still being worked on.

There was renaming of the cvs pulls and major clean up of the ebuild.

All testing is welcome, and please post any errors or suggestions.

Saleem
Comment 17 Saleem Abdulrasool (RETIRED) gentoo-dev 2004-12-20 10:37:26 UTC
Created attachment 46457 [details]
maven-1.0.2.ebuild

Fixes jikes support
Comment 18 Saleem Abdulrasool (RETIRED) gentoo-dev 2004-12-25 16:31:47 UTC
Created attachment 46886 [details]
maven-1.0.2.ebuild

Adds the RDEPENDs.  Please DO NOT use this ebuild as it will most likely not
work.  The ebuild here is more for documentation purposes.  It lists the needed
dependencies (most of which dont exist in portage with the name in the ebuild).


Saleem
Comment 19 Maxwell Grender-Jones 2005-01-18 04:21:31 UTC
just a small one, but I suspect you want maven.home.local in that ebuild, not naven.home.local.
Comment 20 Saleem Abdulrasool (RETIRED) gentoo-dev 2005-04-13 19:21:53 UTC
*** Bug 88912 has been marked as a duplicate of this bug. ***
Comment 21 Josh Nichols (RETIRED) gentoo-dev 2005-09-06 20:32:49 UTC
I've used the most recent ebuild, and added it to experimental. It turns out
that there ar e number more dependencies than initially thought... the ones
already listed were just for bootstrapping maven.

The big thing I did is to attempt to recreate a maven repository at
${WORKDIR}/.maven/repository, and populate it with symlinks a la
java-pkg_jar-from . Once maven is bootstrapped, I patched it to be in offline
mode, so now its a matter of attempting to 'ebuild compile', let it fail, then
see what jars it once.
Comment 22 Jakub Moc (RETIRED) gentoo-dev 2005-12-30 07:30:30 UTC
*** Bug 117200 has been marked as a duplicate of this bug. ***
Comment 23 Jakub Moc (RETIRED) gentoo-dev 2006-03-29 00:56:47 UTC
*** Bug 127952 has been marked as a duplicate of this bug. ***