http://docs.codehaus.org/pages/viewpage.action?pageId=25888

Example: aaa-1.0.jar specifies dependency like on zzz
as [1.0,2.0) that makes build unstable  and
nonrepeatable because it now depends on content of a
repository. 


--- Mark Reynolds <[EMAIL PROTECTED]>
wrote:

> Can you give explain what you mean by "there are
> ranges in the version
> specifications" and perhaps give an example?
> 
> On 8/16/06, Konstantin Ignatyev wrote:
> > Rant:
> >
> > Unfortunately Maven archichitecture and practices
> are
> > not allow repeatable builds because there are
> ranges
> > in the version specifications. And that makes
> build to
> > depend on current repository content and makes it
> > unrepeatable.
> >
> > IMO it would be much nicer if Ant + Ivy was used
> as
> > build system.
> >
> > --- Pedro Viegas wrote:
> >
> > > Can anybody give the proper steps to get this
> > > running?
> > >
> > > Thanks,
> > >
> > > On 8/16/06, Pedro Viegas wrote:
> > > >
> > > > http://mojo.codehaus.org/
> > > >
> > > > OK, I think this is it, what do I have to do?
> > > There's a bunch of plugins
> > > > out there.
> > > > This looks like a trail of breadcrumbs... :-S
> > > >
> > > >
> > > > On 8/16/06, Pedro Viegas wrote:
> > > > >
> > > > > OK, I think I get it, I use the most recent
> pom
> > > I find here right.
> > > > > OK, tried the:
> > > > >
> > > > >
> tapestry-project-4.1.1-20060815.022306-17.pom
> > > > >
> > > > > and issued a "mvn package -e"
> > > > >
> > > > > The error was...
> > > > >
> > > > > "+ Error stacktraces are turned on.
> > > > > [INFO] Scanning for projects...
> > > > > [INFO]
> > > > >
> > >
> >
>
----------------------------------------------------------------------------
> > > > > [INFO] Building Maven Default Project
> > > > > [INFO]    task-segment: [package]
> > > > > [INFO]
> > > > >
> > >
> >
>
----------------------------------------------------------------------------
> > > > >
> > > > > [INFO]
> > > > >
> > >
> >
>
------------------------------------------------------------------------
> > > > > [ERROR] BUILD ERROR
> > > > > [INFO]
> > > > >
> > >
> >
>
------------------------------------------------------------------------
> > > > > [INFO] Cannot execute mojo: resources. It
> > > requires a project with an
> > > > > existing pom.xml, but the build is not using
> > > one.
> > > > > [INFO]
> > > > >
> > >
> >
>
------------------------------------------------------------------------
> > > > > [INFO] Trace
> > > > >
> > >
> >
>
org.apache.maven.lifecycle.LifecycleExecutionException:
> > > Cannot execute
> > > > > mojo: resources. It requires a project with
> an
> > > existing pom.xml, but the
> > > > > build is not using one.
> > > > >         at
> > > > >
> > >
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > > > DefaultLifecycleExecutor.java:559)
> > > > >         at
> > > > >
> > >
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(
> > > > > DefaultLifecycleExecutor.java:475)
> > > > >         at
> > > > >
> > >
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > > > > DefaultLifecycleExecutor.java:454)
> > > > >         at
> > > > >
> > >
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(
> > > > > DefaultLifecycleExecutor.java:306)
> > > > >         at
> > > > >
> > >
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> > > > > DefaultLifecycleExecutor.java:273)
> > > > >         at
> > >
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> > > (
> > > > > DefaultLifecycleExecutor.java:140)
> > > > >         at
> > >
> >
>
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java
> > > > > :322)
> > > > >         at
> > >
> >
>
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> > > > >         at
> org.apache.maven.cli.MavenCli.main
> > > (MavenCli.java:256)
> > > > >         at
> > >
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > Method)
> > > > >         at
> > > sun.reflect.NativeMethodAccessorImpl.invoke(
> > > > > NativeMethodAccessorImpl.java:39)
> > > > >         at
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke
> (
> > > > > DelegatingMethodAccessorImpl.java:25)
> > > > >         at
> > > java.lang.reflect.Method.invoke(Method.java:585)
> > > > >         at
> > >
> org.codehaus.classworlds.Launcher.launchEnhanced(
> > > > > Launcher.java:315)
> > > > >         at
> > > org.codehaus.classworlds.Launcher.launch
> > > (Launcher.java:255)
> > > > >         at
> > >
> org.codehaus.classworlds.Launcher.mainWithExitCode(
> > > > > Launcher.java:430)
> > > > >         at
> > >
> >
>
org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > > > > Caused by:
> > > org.apache.maven.plugin.MojoExecutionException :
> > > Cannot
> > > > > execute mojo: resources. It requires a
> project
> > > with an existing pom.xml,
> > > > > but the build is not using one.
> > > > >         at
> > >
> >
>
org.apache.maven.plugin.DefaultPluginManager.executeMojo(
> > > > > DefaultPluginManager.java:339)
> > > > >         at
> > > > >
> > >
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > > > DefaultLifecycleExecutor.java:534)
> > > > >         ... 16 more
> > > > > [INFO]
> > > > >
> > >
> >
>
------------------------------------------------------------------------
> > > > > [INFO] Total time: 1 second
> > > > > [INFO] Finished at: Wed Aug 16 23:02:27 BST
> 2006
> > > > > [INFO] Final Memory: 2M/4M
> > > > > [INFO]
> 
=== message truncated ===


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]

Reply via email to