On 14/01/2008, Samuli Saarinen <[EMAIL PROTECTED]> wrote:
>
> Samuli Saarinen wrote:
> > I checked out pax-wicket from svn and tried to build it using command
> > mvn install. It generates the error that is shown below. What should I
> > do to  be able to build it?
> >
> >
> >
> > D:\pax\wicket>mvn install
> > [INFO] Scanning for projects...
> > Downloading:
> > http://repository.ops4j.org/maven2//org/ops4j/pax/project/1.10-SNAP
> > SHOT/project-1.10-SNAPSHOT.pom
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] FATAL ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Failed to resolve artifact.
> >
> > GroupId: org.ops4j.pax
> > ArtifactId: project
> > Version: 1.10-SNAPSHOT
>
> Got past that by modifying pom.xml in wicket directory. But now I get
> the following error:


How exactly did you modify the pom.xml? If you changed it to use a released
version of the parent then that probably won't work, as afaik it needs some
of
the config from the current 1.10-SNAPSHOT (hence the new error).

FYI, if you check out the whole pax project then it should build, because
Maven
will find the project pom snapshot in the checked out tree - otherwise you
can
checkout just the "pax/poms" folder and do "mvn install" to install the
current
snapshots into your local repo.

[INFO] Building OPS4J - Pax Wicket Service
> [INFO]    task-segment: [install]
> [INFO]
> -------------------------------------------------------------------------
> ---
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Cannot find lifecycle mapping for packaging: 'bundle'.
> Component descriptor cannot be found in the component repository:
> org.apache.mav
> en.lifecycle.mapping.LifecycleMappingbundle.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Cannot find
> lifecycle ma
> pping for packaging: 'bundle'.
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.findMappingsForLi
> fecycle(DefaultLifecycleExecutor.java:1071)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForP
> ackaging(DefaultLifecycleExecutor.java:997)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycl
> eMappings(DefaultLifecycleExecutor.java:980)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> ltLifecycleExecutor.java:458)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:311)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:278)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:143)
>          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
>          at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>          at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>          at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>          at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.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.codehaus.plexus.component.repository.exception.ComponentLookupExc
> eption: Component descriptor cannot be found in the component
> repository: org.ap
> ache.maven.lifecycle.mapping.LifecycleMappingbundle.
>          at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> ner.java:323)
>          at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> ner.java:440)
>          at
> org.apache.maven.execution.MavenSession.lookup(MavenSession.java:123)
>
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.findMappingsForLi
> fecycle(DefaultLifecycleExecutor.java:1064)
>          ... 17 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 5 seconds
> [INFO] Finished at: Mon Jan 14 13:27:50 EET 2008
> [INFO] Final Memory: 9M/16M
> [INFO]
> ------------------------------------------------------------------------
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>



-- 
Cheers, Stuart
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to