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.html it'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:
> >
> > This page provides some help,
> > http://tapestry.apache.org/tapestry4.1/download.html.
> >
> > For anything else you'll probably have to either go to
maven.apache.orgor
> > look at the pom.xml files setup in tapestry already. (
> > http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/)
> >
> > On 8/16/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi there,
> > >
> > > Been hearing a lot about using MAVEN2 to get the 4.1-SNAPSHOT of
> > tapestry
> > > for the alpha test phase.
> > > Can anybody help me to get this working?
> > > Never used MAVEN before. Just ANT with CVS repositories.
> > > I installed the MAVEN and Subversion Eclipse plugin and and going to
> try
> > > and
> > > make sense of it all. A jump start or detailed instructions would be
> > very
> > > much appreciated!
> > >
> > > Regards,
> > >
> > > --
> > > Pedro Viegas
> > >
> > >
> >
> >
> > --
> > Jesse Kuhnert
> > Tapestry/Dojo/(and a dash of TestNG), team member/developer
> >
> > Open source based consulting work centered around
> > dojo/tapestry/tacos/hivemind.
> >
> >
>
>
> --
> Pedro Viegas
>
>


--
Jesse Kuhnert
Tapestry/Dojo/(and a dash of TestNG), team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.




--
Pedro Viegas

Reply via email to