myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Crose <ipblackh...@gmail.com>
Subject Re: JSCookMenu now supports ActionListener
Date Fri, 06 Jan 2006 20:24:16 GMT
Bernd,

Sorry, I jumped right over the "cd myfaces-current/build" line. The build
was successful on the second run of mvn install command.  Thanks for all you
help in this matter...!!


On 1/6/06, Bernd Bohmann <bernd.bohmann@atanion.com> wrote:
>
> Unfortunately,
>
> you have to go to the build dir.
>
> See: http://wiki.apache.org/myfaces/Building_With_Maven
> -----
> svn co https://svn.apache.org/repos/asf/myfaces/current myfaces-current
> cd myfaces-current/build
> mvn install
> ----
>
> Regards
>
> Bernd
>
> William Crose schrieb:
> > Bernd,
> >
> > I download and installed the latest maven.  I run the test to confirm
> > that maven is installed correctly.  The test indicated maven is
> > installed correctly.  Followed the instruction and ran: mvn
> > -Dmaven.test.failure.ignore=true install.  The following output is the
> > result from the run.
> >
> > D:\Development\MyFacesSource>mvn -e install
> > + Error stacktraces are turned on.
> > [INFO] Scanning for projects...
> > [INFO]
> >
> ----------------------------------------------------------------------------
> >
> > [INFO] Building Maven Default Project
> > [INFO]    task-segment: [install]
> > [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:555)
> >         at
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> > (DefaultLifecycleExecutor.java:472)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> DefaultLifecycleExecutor.java:451)
> >         at
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> > (DefaultLifecycleExecutor.java:303)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> DefaultLifecycleExecutor.java:270)
> >         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> > (DefaultLifecycleExecutor.java:139)
> >         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:249)
> >         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.x
> > ml, but the build is not using one.
> >         at
> > org.apache.maven.plugin.DefaultPluginManager.executeMojo(
> DefaultPluginManager.java:359)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java:530)
> >         ... 16 more
> > [INFO]
> >
> ----------------------------------------------------------------------------
> > [INFO] Total time: 2 seconds
> > [INFO] Finished at: Fri Jan 06 07:57:00 PST 2006
> > [INFO] Final Memory: 2M/4M
> > [INFO]
> >
> ----------------------------------------------------------------------------
> >
> > According to the online docs I may need to run the command more then
> > once however, everytime I run the command I get the same error.
> >
> > When I checked out Myfaces using SVN it created a sub-directory for each
> > (project?) tomahawk, sandbox, and etc.  I ran the above command in the
> > root directory which contains all of the project sub-directory.  During
> > the checkout SVN didn't checkout any pom.xml in the root.  Each project
> > has a pom.xml file in there root.  Example D:\MyFacesSource\tomahawk has
> > a pom.xml file.  So, I changed to the tomahawk sub-directory and ran the
> > maven command again.  This command fails with:
> >
> > D:\Development\MyFacesSource\tomahawk>mvn
> > -Dmaven.test.failure.ignore=true install
> > [INFO] Scanning for projects...
> > [INFO]
> >
> ----------------------------------------------------------------------------
> > [ERROR] FATAL ERROR
> > [INFO]
> >
> ----------------------------------------------------------------------------
> > [INFO] Failed to resolve artifact.
> >
> > GroupId: org.apache.myfaces
> > ArtifactId: myfaces
> > Version: 1.1.2-SNAPSHOT
> >
> > Reason: Unable to download the artifact from any repository
> >
> >   org.apache.myfaces:myfaces:pom:1.1.2-SNAPSHOT
> >
> > from the specified remote repositories:
> >   central (http://repo1.maven.org/maven2)
> >
> >
> > [INFO]
> >
> ----------------------------------------------------------------------------
> >
> > [INFO] Trace
> > org.apache.maven.reactor.MavenExecutionException: POM
> > 'org.apache.myfaces:myfaces' not found in repository: Unable to download
> > the arti
> > fact from any repository
> >
> >   org.apache.myfaces:myfaces:pom:1.1.2-SNAPSHOT
> >
> > from the specified remote repositories:
> >   central (http://repo1.maven.org/maven2)
> >
> >         at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java
> :365)
> >         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java
> :278)
> >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
> >         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.project.ProjectBuildingException: POM '
> > org.apache.myfaces:myfaces' not found in repository: Unable to downl
> > oad the artifact from any repository
> >
> >   org.apache.myfaces:myfaces:pom:1.1.2-SNAPSHOT
> >
> > from the specified remote repositories:
> >   central ( http://repo1.maven.org/maven2)
> >
> >         at
> >
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository
> (DefaultMavenProjectBuilder.java:430)
> >         at
> > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage
> > (DefaultMavenProjectBuilder.java:988)
> >         at
> > org.apache.maven.project.DefaultMavenProjectBuilder.build(
> DefaultMavenProjectBuilder.java:594)
> >         at
> > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFile
> > (DefaultMavenProjectBuilder.java:304)
> >         at
> > org.apache.maven.project.DefaultMavenProjectBuilder.build(
> DefaultMavenProjectBuilder.java:274)
> >         at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java
> :515)
> >         at
> > org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:447)
> >         at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java
> :351)
> >         ... 11 more
> > Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException
> > : Unable to download the artifact from any repository
> >
> >   org.apache.myfaces:myfaces:pom:1.1.2-SNAPSHOT
> >
> > from the specified remote repositories:
> >   central (http://repo1.maven.org/maven2 <http://repo1.maven.org/maven2
> >)
> >
> >         at
> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(
> DefaultArtifactResolver.java:136)
> >         at
> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(
> DefaultArtifactResolver.java
> > :63)
> >         at
> >
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository
> (DefaultMavenProjectBuilder.java:387)
> >         ... 18 more
> > Caused by: org.apache.maven.wagon.ResourceDoesNotExistException : Unable
> > to download the artifact from any repository
> >         at
> > org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(
> DefaultWagonManager.java:260)
> >         at
> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve
> > (DefaultArtifactResolver.java:124)
> >         ... 20 more
> > [INFO]
> >
> ----------------------------------------------------------------------------
> > [INFO] Total time: < 1 second
> > [INFO] Finished at: Fri Jan 06 07:58:10 PST 2006
> > [INFO] Final Memory: 1M/2M
> > [INFO]
> >
> ----------------------------------------------------------------------------
> >
> > It appears I am missing a root pom.xml or the pom.xml in tomahawk has
> > errors in it.  Please let me know how to get all required pom.xml files
> > so I can build myfaces....!!
> >
> > Thanks in advance...
> >
> >
> > On 1/5/06, *Bernd Bohmann* <bernd.bohmann@atanion.com
> > <mailto:bernd.bohmann@atanion.com>> wrote:
> >
> >     Hello,
> >
> >     myfaces is using maven now.
> >
> >     See:
> >
> >     http://wiki.apache.org/myfaces/Building_With_Maven
> >
> >     Regards
> >
> >     Bernd
> >
> >     William Crose schrieb:
> >      > Thomas,
> >      >
> >      > I have checked out the latest source from SVN.  Where can I get
> >     the ant
> >      > build xml files to build the project?  assuming the myfaces (an
> >     apache
> >      > project) is using the apache's ant project to do the building.  I
> >     would
> >      > like to get the jscookmenu working..!
> >      >
> >      > Thanks in advance...
> >
> >     --
> >     Dipl.-Ing. Bernd Bohmann - Atanion GmbH - Software Development
> >     Bismarckstr. 13, 26122 Oldenburg, http://www.atanion.com
> >     phone: +49 441 4082312, mobile: +49 173 8839471, fax: +49 441
> 4082333
> >
> >
>
> --
> Dipl.-Ing. Bernd Bohmann - Atanion GmbH - Software Development
> Bismarckstr. 13, 26122 Oldenburg, http://www.atanion.com
> phone: +49 441 4082312, mobile: +49 173 8839471, fax: +49 441 4082333
>

Mime
View raw message