You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by Per Olesen <po...@nordija.com> on 2003/10/14 22:49:20 UTC
building using maven?
Hi,
I'm having trouble building HEAD sources of cactus using maven. I'm sure it is
a simple thing, but I'm not that experienced using maven.
It cannot find j2ee-1.3.jar. Guess it is not at ibiblio due to some licensing
issues. I then tried a jar override, but either this is not the solution or
I've done it wrong. Cause I get the same error:
------------
BUILD FAILED
File......
file:/home/polesen/jakarta.apache.org/checkouts/cactus/head/jakarta-cactus/
Element... maven:reactor
Line...... 19
Column.... 7
The build cannot continue because of the following unsatisfied dependency:
j2ee-1.3.jar (no download url specified)
------------
Any help?
Regards, Per
---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org
Re: building using maven?
Posted by Julien Dubois <ju...@julien-dubois.com>.
> > I'm the one doing the Maven build. First of all, the Maven build does not
> > work yet for the whole Maven tree, but you should be able to build the
> > framework (which is the most important stuff of course).
>
> Oh, okay. Can I do enough of a build to try out testing with ant and
> weblogic or should I do a ant build then?
It should work ok with Maven, and it's easier to use (IMHO) than the Ant
build.
> Actually, I've set up a maven repository at work and then configured maven
> to lookup there, if ibiblio says it doesn't have a jar. So I just it there
> instead of my local repo, and it worked. (well, maven downloads it to
> exactly where you told me it should go :-)
I've done the same thing at work. BTW, I highly recommand the use of
MavenProxy (http://wiki.codehaus.org/maven/MavenProxy).
> Thanx!
You're welcome!
Julien.
---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org
RE: building using maven?
Posted by Vincent Massol <vm...@pivolis.com>.
> -----Original Message-----
> From: Christopher Lenz [mailto:cmlenz@gmx.de]
> Sent: 19 October 2003 17:04
> To: Cactus Developers List
> Subject: Re: building using maven?
>
> Vincent Massol wrote:
> > Hi Per,
> >
> > You should really use the Ant-based build for now. This is the
current
> > official build and is documented on Cactus web site. The Maven build
is
> > a work in progress, it is far from being finished and is not
documented
> > yet. That's unless you're a Maven expert and wish to help us improve
the
> > Maven build :-)
> >
> > Thanks
> > -Vincent
>
> In the context of our build system, I'd like to eventually experiment
> with Ant 1.6, which I think could considerably simplify our build too.
> The new tasks such as <subant>, <macrodef> and <presetdef> and
<import>
> look pretty damn cool [1]. And as we're targetting a non-released
> version of Maven, it's only fair to compare against the latest and
> greatest of Ant ;-)
I completely agree. There are also several other subtle things like
propertysets/etc which will even further improve the build. I'm all for
an honest comparison!
+0 to you changing the build! Of course the Ant integration must keep
working with Ant 1.5.x. I wouldn't be opposed at mandating Ant 1.6 for
building Cactus from the sources. However, I'd say the generated sample
application build scripts should stay compatible with Ant 1.5.x
>
> I'm not yet convinced about switching to Maven. Looking at the xdoc
> plugin, I'm rather opposed to the approach used (JSL and a bunch of
> color properties) and I find it really hard to believe that the main
> communication channel between the report generators and the
> documentation generation -- the XML document format -- is not even
based
> on a formal schema. The need to provide a jelly script just to enable
> multiple parallel source paths for compilation is just silly -- the
POM
> is obviously too limited here, and it gets worked around with
scripting.
> :-(
There's a better solution: to use a stylesheet (I've posted the solution
some time ago when answering Julien's question on maven). Providing a
custom stylesheet is supported by the maven xdoc plugin (or the site
plugin, can't remember exactly).
-Vincent
---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org
Re: building using maven?
Posted by Christopher Lenz <cm...@gmx.de>.
Vincent Massol wrote:
> Hi Per,
>
> You should really use the Ant-based build for now. This is the current
> official build and is documented on Cactus web site. The Maven build is
> a work in progress, it is far from being finished and is not documented
> yet. That's unless you're a Maven expert and wish to help us improve the
> Maven build :-)
>
> Thanks
> -Vincent
In the context of our build system, I'd like to eventually experiment
with Ant 1.6, which I think could considerably simplify our build too.
The new tasks such as <subant>, <macrodef> and <presetdef> and <import>
look pretty damn cool [1]. And as we're targetting a non-released
version of Maven, it's only fair to compare against the latest and
greatest of Ant ;-)
I'm not yet convinced about switching to Maven. Looking at the xdoc
plugin, I'm rather opposed to the approach used (JSL and a bunch of
color properties) and I find it really hard to believe that the main
communication channel between the report generators and the
documentation generation -- the XML document format -- is not even based
on a formal schema. The need to provide a jelly script just to enable
multiple parallel source paths for compilation is just silly -- the POM
is obviously too limited here, and it gets worked around with scripting. :-(
-chris
[1] http://nagoya.apache.org/wiki/apachewiki.cgi?NewAntFeaturesInDetail
--
Christopher Lenz
/=/ cmlenz at gmx.de
---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org
RE: building using maven?
Posted by Vincent Massol <vm...@pivolis.com>.
Hi Per,
You should really use the Ant-based build for now. This is the current
official build and is documented on Cactus web site. The Maven build is
a work in progress, it is far from being finished and is not documented
yet. That's unless you're a Maven expert and wish to help us improve the
Maven build :-)
Thanks
-Vincent
> -----Original Message-----
> From: Per Olesen [mailto:polesen@nordija.com]
> Sent: 15 October 2003 01:22
> To: Cactus Developers List
> Subject: Re: building using maven?
>
> Hi Julien,
>
> > I'm the one doing the Maven build. First of all, the Maven build
does
> not
> > work yet for the whole Maven tree, but you should be able to build
the
> > framework (which is the most important stuff of course).
>
> Oh, okay. Can I do enough of a build to try out testing with ant and
> weblogic
> or should I do a ant build then?
>
> > You're right about the licensing issues. You should have
j2ee-1.3.jar in
> > your local maven repository, that is :
> > ~/.maven/repository/j2ee/jars/j2ee-1.3.jar
> >
> > I really really dislike this. But I don't see any other alternative.
>
> No, that must be the way then. Thought I should be able to do it with
jar
> override, but couldn't make it work.
>
> Actually, I've set up a maven repository at work and then configured
maven
> to
> lookup there, if ibiblio says it doesn't have a jar. So I just it
there
> instead of my local repo, and it worked. (well, maven downloads it to
> exactly
> where you told me it should go :-)
>
> Thanx!
>
> Regards, Per
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-dev-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org
Re: building using maven?
Posted by Per Olesen <po...@nordija.com>.
Hi Julien,
> I'm the one doing the Maven build. First of all, the Maven build does not
> work yet for the whole Maven tree, but you should be able to build the
> framework (which is the most important stuff of course).
Oh, okay. Can I do enough of a build to try out testing with ant and weblogic
or should I do a ant build then?
> You're right about the licensing issues. You should have j2ee-1.3.jar in
> your local maven repository, that is :
> ~/.maven/repository/j2ee/jars/j2ee-1.3.jar
>
> I really really dislike this. But I don't see any other alternative.
No, that must be the way then. Thought I should be able to do it with jar
override, but couldn't make it work.
Actually, I've set up a maven repository at work and then configured maven to
lookup there, if ibiblio says it doesn't have a jar. So I just it there
instead of my local repo, and it worked. (well, maven downloads it to exactly
where you told me it should go :-)
Thanx!
Regards, Per
---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org
Re: building using maven?
Posted by Julien Dubois <ju...@julien-dubois.com>.
Hi Per,
I'm the one doing the Maven build. First of all, the Maven build does not work
yet for the whole Maven tree, but you should be able to build the framework
(which is the most important stuff of course).
You're right about the licensing issues. You should have j2ee-1.3.jar in your
local maven repository, that is :
~/.maven/repository/j2ee/jars/j2ee-1.3.jar
I really really dislike this. But I don't see any other alternative.
Tell me if it's ok with you. I'm going on holidays on Friday, so ask your
questions before :-)
HTH,
Julien.
Le Mardi 14 Octobre 2003 22:49, Per Olesen a écrit :
> Hi,
>
> I'm having trouble building HEAD sources of cactus using maven. I'm sure it
> is a simple thing, but I'm not that experienced using maven.
>
> It cannot find j2ee-1.3.jar. Guess it is not at ibiblio due to some
> licensing issues. I then tried a jar override, but either this is not the
> solution or I've done it wrong. Cause I get the same error:
>
> ------------
> BUILD FAILED
> File......
> file:/home/polesen/jakarta.apache.org/checkouts/cactus/head/jakarta-cactus/
> Element... maven:reactor
> Line...... 19
> Column.... 7
> The build cannot continue because of the following unsatisfied dependency:
>
> j2ee-1.3.jar (no download url specified)
> ------------
>
>
> Any help?
>
> Regards, Per
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-dev-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org