Oh I see,
Thats kinda along the lines what I was attempting with the url resolver
but it looked like I would have to match the version numbers exactly in
order to pull the latest library builds.
Thanks for your suggestion, I'll try it out.
Leo
Konstantin Ignatyev wrote:
Maven2 integration in Ivy is not ideal, we are
supposed to have own Ivy repo ;) or use WOJ
but you can simply use something like this, and do not
mess with URL resolvers:
<dependency org="incubator-activemq"
name="activeio-core" rev="3.0" >
<artifact name="activeo-core" type="jar"
url="http://people.apache.org/repo/m2-snapshot-repository/incubator-activemq/activeio-core/3.0-SNAPSHOT/activeio-core-3.0-20060324.230126-1.jar"/>
</dependency>
--- Leo Sakhvoruk <[EMAIL PROTECTED]> wrote:
Hi Konstantin,
I'm trying to get Ivy working as per your suggestion
but I'm having
trouble pulling dependencies via a url resolver (as
that seems to be the
only option from what I could gather) for the
4.1.1-SNAPSHOT. Since I'm
trying to retrieve libraries from
http://people.apache.org/repo/m2-snapshot-repository/
I've tried doing
something like this:
<ivyconf>
<conf defaultResolver="default"/>
<resolvers>
<chain name="default">
<url name="public"
m2compatible="true">
...
</url>
<filesystem....>
</filesystem>
</chain>
</resolvers>
</conf>
</ivyconf>
That repository contains maven configuration files
and so I'm getting
errors as Ivy can't read the maven-metadata.xml. Is
there a better way
of doing this or am I missing something?
Thanks,
Leo
Konstantin Ignatyev wrote:
Just curious, why do you like the pain? What kind
of
rewards do you expects after going through the
Maven
pain?
I mean Ant+IVY painlessly take care of dependency
management (better than maven dep manager) and
build
related activities.
Jetty is just Java process so debugger can be
attached
to that...
--- Leo Sakhvoruk <[EMAIL PROTECTED]> wrote:
Wow,
What a serious pain in the butt! I've been trying
to
set up Eclipse to
use Maven and Jetty for my project and it has
turned
out a horrendous
affair and a time sink. I am yet to see Jetty run
once and be able to
debug my project. Right now I'm getting the
following error:
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin
'org.apache.maven.plugins:maven-jetty6-plugin'
does
not exist or no valid version could be found
This is insane from what I can see since I don't
even have
maven-jetty6-plugin declared in my pom file!!!
I'm
trying to use
maven-jetty-plugin 6.1-SNAPSHOT.
Does anyone have a clue why it's trying to use
maven-jetty6-plugin?
Please help.
---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
Konstantin Ignatyev
PS: If this is a typical day on planet earth,
humans will add fifteen million tons of carbon to
the atmosphere, destroy 115 square miles of tropical
rainforest, create seventy-two miles of desert,
eliminate between forty to one hundred species,
erode seventy-one million tons of topsoil, add 2,700
tons of CFCs to the stratosphere, and increase their
population by 263,000
Bowers, C.A. The Culture of Denial: Why the
Environmental Movement Needs a Strategy for
Reforming Universities and Public Schools. New
York: State University of New York Press, 1997: (4)
(5) (p.206)
---------------------------------------------------------------------
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]