On Wed, 19 Oct 2005, Andreas Sahlbach wrote:

Don't give up that easily!

First, Trygvis is already working on creating a debian source package;
there might be some stuff you can re-use (contact him if he doesn't
respond to this: [EMAIL PROTECTED]).

Second, maven2 is hosted at apache in a subversion repository [1]. We use
branches and tags. You can just check out the beta-3 tag [2] and work with
that code (put together the info in 1 and 2 for the correct svn url for
the tag). I don't think we ever released full source archives of maven2
because everybody can check out the source.

Hope this helps, and sorry there wasn't any reply - we might have thought
people could figure out for themselves :)

-- Kenney

[1] http://maven.apache.org/maven2/source-repository.html
[2] http://svn.apache.org/viewcvs.cgi/maven/components/tags/maven-2.0-beta-3/


> I haven't got any answer for my questions, so I have to assume that it
> is not possible to somehow get the source code for the beta3 build and
> rebuild maven2 from scratch. This is kind of funny, because I though
> that the ability to recreate a build in a stable development
> environment is one of the main requirements that a build tool should
> fulfill (maybe together with a source code repository).
>
> Ok then, so I will not create a gentoo build for maven2. I fear that
> there are a number of other Linux distributions that will have serious
> trouble with this kind of release tactics.
>
> Fare well guys,
>
> Andreas
>
>
> ---------- Forwarded message ----------
> From: Andreas Sahlbach <[EMAIL PROTECTED]>
> Date: 17.10.2005 10:10
> Subject: Re: Beta3 Build
> To: Maven Developers List <dev@maven.apache.org>
>
>
> Brett,
>
> as I said I am trying to make a gentoo build for maven2. This means
> that I have to build maven2 from scratch. All I have is a base unix
> system (together with a java sdk and some dependencies if you need
> it).
>
> I followed the instructions of the build page, but this failed. So,
> please just tell me,
> 1) where can I download the sourcecode for the beta3
> 2) how can I build it without having already maven or maven2 installed
>
> I searched the archive for these problems, but haven't found
> something. Actually I found too much, because searching for build
> problems in the archives of a build tool founds nearly everything. :-)
>
> If there is some doku somewhere I haven't found yet, I apologize.
> Please point me to it and I will follow the instructions myself.
>
> 2005/10/17, Brett Porter <[EMAIL PROTECTED]>:
> > Andreas,
> >
> > The bootstrap is not intended for tagged builds.
> >
> > Please use "m2 install" from the root projecft, and m2 assembly:assembly 
> > from
> > the maven-core project.
> >
> > Note that each plugin is released individually and has their own tags - 
> > while
> > there is a snapshot of the plugin code in the tag these would not be the
> > current releases at that time. In the near future we will be separating them
> > out (see the other thread on this list).
> >
> > - Brett
> >
> > Quoting Andreas Sahlbach <[EMAIL PROTECTED]>:
> >
> > > Hi!
> > >
> > > I am trying to set up a gentoo build for maven2 Beta3, but I failed
> > > unfortunately. I basically
> > > 1) checked out the subversion tag maven-2.0-beta-3,
> > > 2) set the maven home directory to an empty directory,
> > >     export M2_HOME="/var/tmp/portage/maven-2.0_beta3/work/m2_home"
> > > 3) set the maven repository to an empty directory
> > >     export
> > > MAVEN_OPTS="-Dmaven.repo.local=/var/tmp/portage/maven-
> > 2.0_beta3/work/m2_repo/"
> > > and
> > > 4) called the bootstrap build (./m2-bootstrap-all.sh).
> > > A bunch of components were downloaded and the build started. The first
> > > problem was that the build bailed out here:
> > > ============================= cut 
> > > ==========================================
> > > Building project in
> > > /var/tmp/portage/maven-2.0_beta3/work/maven-2.0-beta-3/maven-plugins/maven-
> > jar-plugin
> > > ...
> > > --------------------------------------------------------------------
> > > Building project in
> > > /var/tmp/portage/maven-2.0_beta3/work/maven-2.0-beta-3/maven-plugins/maven-
> > jar-plugin
> > > Error reading POM:
> > > /var/tmp/portage/maven-2.0_beta3/work/maven-2.0-beta-3/maven-plugins/maven-
> > jar-plugin/pom.xml
> > > Exception in thread "main" java.io.FileNotFoundException:
> > > /var/tmp/portage/maven-2.0_beta3/work/m2_repo/org/apache/maven/maven-
> > archiver/2.0-beta-3-SNAPSHOT/maven-archiver-2.0-beta-3-SNAPSHOT.pom
> > > (No such file or directory)
> > >         at model.ModelReader.retrievePom(ModelReader.java:513)
> > >         at model.ModelReader.resolveDependencies(ModelReader.java:439)
> > >         at model.ModelReader.endElement(ModelReader.java:410)
> > >         at 
> > > org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1720)
> > >         at 
> > > org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
> > >         at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
> > >         at
> > > org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
> > >         at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
> > >         at util.AbstractReader.parse(AbstractReader.java:63)
> > >         at MBoot.buildProject(MBoot.java:508)
> > >         at MBoot.run(MBoot.java:382)
> > >         at MBoot.main(MBoot.java:124)
> > > ============================= cut 
> > > ==========================================
> > > The snapshot directory it was trying to read was empty.
> > > I patched maven-jar-plugin's pom.xml to refer to 2.0-beta-3 instead of
> > > 2.0-beta-3-SNAPSHOT to let the build continue. After this I restarted
> > > the build and got another error:
> > > ============================= cut 
> > > ==========================================
> > > Building project in
> > > /var/tmp/portage/maven-2.0_beta3/work/maven-2.0-beta-3/maven-plugins/maven-
> > plugin-plugin
> > > ...
> > > --------------------------------------------------------------------
> > > Building project in
> > > /var/tmp/portage/maven-2.0_beta3/work/maven-2.0-beta-3/maven-plugins/maven-
> > plugin-plugin
> > > Downloading
> > > http://snapshots.maven.codehaus.org/maven2//org/apache/maven/plugins/maven-
> > plugin-parent/2.0-beta-3-SNAPSHOT/maven-metadata.xml
> > > WARNING: remote metadata version not found, using local:
> > > http://snapshots.maven.codehaus.org/maven2//org/apache/maven/plugins/maven-
> > plugin-parent/2.0-beta-3-SNAPSHOT/maven-metadata.xml
> > > (HTTP Error: 404 Not Found)
> > > Downloading
> > > http://snapshots.maven.codehaus.org/maven2//org/apache/maven/plugins/maven-
> > plugin-parent/2.0-beta-3-SNAPSHOT/maven-plugin-parent-2.0-beta-3-SNAPSHOT.pom
> > > Artifact not found at
> > > [http://snapshots.maven.codehaus.org/maven2//org/apache/maven/plugins/maven-
> > plugin-parent/2.0-beta-3-SNAPSHOT/maven-plugin-parent-2.0-beta-3-SNAPSHOT.pom]
> > > Error reading POM:
> > > /var/tmp/portage/maven-2.0_beta3/work/maven-2.0-beta-3/maven-plugins/maven-
> > plugin-plugin/pom.xml
> > > Exception in thread "main" download.DownloadFailedException: Failed to
> > > download
> > > org.apache.maven.plugins:maven-plugin-parent:2.0-beta-3-SNAPSHOT:pom
> > >         at model.ModelReader.retrievePom(ModelReader.java:521)
> > >         at model.ModelReader.endElement(ModelReader.java:233)
> > >         at 
> > > org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1720)
> > >         at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
> > >         at 
> > > org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
> > >         at 
> > > org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
> > >         at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
> > >         at
> > > org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
> > >         at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
> > >         at util.AbstractReader.parse(AbstractReader.java:63)
> > >         at MBoot.buildProject(MBoot.java:509)
> > >         at MBoot.run(MBoot.java:383)
> > >         at MBoot.main(MBoot.java:124)
> > > ============================= cut 
> > > ==========================================
> > >
> > > This time the plugin could not even be found to download! At this
> > > point I gave up...  :-(
> > >
> > > Do you guys really think, that people will trust a build tool, that
> > > cannot even provide a stable snapshot of it's own build? I am not
> > > talking about maven2 functionality. This is beta and noone will expect
> > > a bug free software here. But excuse me, you must be capable of
> > > providing a well-defined source-snapshot of your own releases!
> > >
> > > Because if you cannot provide this, then I really have to assume that,
> > > if I will use maven2 for my projects then I will end up in the same
> > > mess like you. And that's something that every professional software
> > > developer should try to avoid like hell.
> > >
> > > ---
> > > Andreas Sahlbach
> > >
> > >
> > >
> > >
> > > --
> > > Andreas Sahlbach
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Andreas Sahlbach
>
>
> --
> Andreas Sahlbach
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to