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 <[EMAIL PROTECTED]> wrote: > Can anybody give the proper steps to get this > running? > > Thanks, > > On 8/16/06, Pedro Viegas <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> > 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] > > > > ------------------------------------------------------------------------" > > > > > > mojo:resources? A Missing lib? > > > > > > > > > > > > On 8/16/06, Jesse Kuhnert <[EMAIL PROTECTED] > > wrote: > > > > > > > > No, you don't ~have~ to use maven. (And > certainly don't need to > > > > compile > > > > tapestry even if you do). > > > > > > > > > http://people.apache.org/repo/m2-snapshot-repository/org/apache/tapestry/ > > > > > > > > > > > > On 8/16/06, Pedro Viegas <[EMAIL PROTECTED]> > wrote: > > > > > > > > > > Sorry Jesse, i'm really a newbie in Maven. > > > > > I had checked out the maven site and get > Maven installed and > > > > working. > > > > > I checked the getting started section and > saw how to start creating > > > > a > > > > > project, but do a really have to maven > enable my project just to get > > > > the > > > > > 4.1.1-SNAPSHOT and compile it to get the > most recent JAR files? > > > > > > > > > > The pom file in the " > > > > > > http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/ > " > > > > > doesn't work since maven doesn't know witch > repository to search > > > > for. > > > > > Accordingly to > http://tapestry.apache.org/tapestry4.1/download.htmlit's > > > > > the > > > > > " > http://people.apache.org/repo/m2-snapshot-repository/", > and > > > > currently i'm > > > > > searching where to put this reference in. > > > > > Isn't there a ready to go configuration for > this? Sorry if i'm just > > > > being > > > > > an > > > > > anoying maven newbie with silly first day > questions! :-S > > > > > > > > > > I'll keep searching but if someone can give > a jumpstart in this it > > > > would > > > > > help... > > > > > > > > > > Thanks, > > > > > > > > > > On 8/16/06, Jesse Kuhnert < > [EMAIL PROTECTED]> wrote: > > > > > > > === message truncated === --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]