I have corrected the problem in the velocity metadata and am pushing
it out now. It lists a lot of optional dependencies - for now they are
commented out.

- Brett

On 4/30/05, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> comment out the jdbc dependency in the velocity.pom in the m2
> repository. This will enable m2 to generate the project.
> 
> Martijn
> 
> 
> Simon Matic Langford wrote:
> 
> >alas, I'm trying to create the pom file using m2, so I don't have any
> >dependencies
> >yet, I don't even have a pom file.
> >
> >
> >
> >
> >>-----Original Message-----
> >>From: BADIHI David [mailto:[EMAIL PROTECTED]
> >>Sent: 29 April 2005 17:17
> >>To: Maven Users List
> >>Subject: RE: Maven 2 error
> >>
> >>
> >>Hi,
> >>
> >>You can put the missing jar in your repository, then in your
> >>POM file, indicate its name.
> >>
> >>Example :
> >>
> >><dependencies>
> >>    <dependency>
> >>      <groupId>struts</groupId>
> >>      <artifactId>struts</artifactId>
> >>      <version>1.1</version>
> >>    </dependency>
> >></dependencies>
> >>
> >>
> >>-----Message d'origine-----
> >>De : Simon Matic Langford [mailto:[EMAIL PROTECTED]
> >>Envoy� : vendredi 29 avril 2005 18:08
> >>� : [email protected]
> >>Objet : Maven 2 error
> >>
> >>Hi,
> >>
> >>I downloaded maven2 and tried to follow the getting started
> >>instructions, so I ran:
> >>
> >>m2 archetype:create -DgroupId=com.pcmsgroup.v21.common.logging
> >>-DartifactId=v21-common-logging
> >>
> >>as detailed, and once I'd sorted my proxy settings, all
> >>looked well, until I got the little stack trace at the end.
> >>From what I could find on mailing lists it seems to be an
> >>invalid or missing dependency, how can I fix it? Also where'd
> >>the wiki go? FAQ's for M2 would be quite handy.
> >>
> >>Thanks
> >>
> >>Simon
> >>
> >>
> >>org.apache.maven.reactor.ReactorException: Error executing
> >>project within the reactor
> >>        at
> >>org.apache.maven.DefaultMaven.execute(DefaultMaven.java:144)
> >>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:233)
> >>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>        at
> >>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> >>orImpl.jav
> >>a:39)
> >>        at
> >>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> >>odAccessor
> >>Impl.java:25)
> >>        at java.lang.reflect.Method.invoke(Method.java:324)
> >>        at
> >>org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303)
> >>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:243)
> >>        at
> >>org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416)
> >>        at org.codehaus.classworlds.Launcher.main(Launcher.java:363)
> >>Caused by:
> >>org.apache.maven.lifecycle.LifecycleExecutionException: Error
> >>during lifecycle execution
> >>        at
> >>org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(De
> >>faultLifec
> >>ycleExecutor.java:154)
> >>        at
> >>org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:212)
> >>        at
> >>org.apache.maven.DefaultMaven.execute(DefaultMaven.java:136)
> >>        ... 9 more
> >>Caused by:
> >>org.apache.maven.artifact.resolver.ArtifactResolutionException
> >>: Error transitively resolving artifacts:
> >>        at
> >>org.apache.maven.artifact.resolver.DefaultArtifactResolver.res
> >>olveTransi
> >>tively(DefaultArtifactResolver.java:191)
> >>        at
> >>org.codehaus.plexus.DefaultArtifactEnabledContainer.addCompone
> >>nt(Default
> >>ArtifactEnabledContainer.java:183)
> >>        at
> >>org.apache.maven.plugin.DefaultPluginManager.addPlugin(Default
> >>PluginMana
> >>ger.java:299)
> >>        at
> >>org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(Defa
> >>ultPluginM
> >>anager.java:272)
> >>        at
> >>org.apache.maven.plugin.DefaultPluginManager.verifyPluginForGo
> >>al(Default
> >>PluginManager.java:219)
> >>        at
> >>org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyMojo
> >>Phase(Defa
> >>ultLifecycleExecutor.java:377)
> >>        at
> >>org.apache.maven.lifecycle.DefaultLifecycleExecutor.processGoa
> >>lChain(Def
> >>aultLifecycleExecutor.java:353)
> >>        at
> >>org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(De
> >>faultLifec
> >>ycleExecutor.java:136)
> >>        ... 11 more
> >>Caused by:
> >>org.apache.maven.artifact.resolver.TransitiveArtifactResolutio
> >>nException
> >>: Error retrieving metadata [jdbc:jdbc:jar:2.0] :
> >>        at
> >>org.apache.maven.artifact.resolver.DefaultArtifactResolver.col
> >>lect(Defau
> >>ltArtifactResolver.java:307)
> >>        at
> >>org.apache.maven.artifact.resolver.DefaultArtifactResolver.res
> >>olveTransi
> >>tively(DefaultArtifactResolver.java:187)
> >>        ... 18 more
> >>Caused by:
> >>org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
> >>Unable to read the metadata file
> >>        at
> >>org.apache.maven.artifact.MavenMetadataSource.retrieve(MavenMe
> >>tadataSour
> >>ce.java:89)
> >>        at
> >>org.apache.maven.artifact.resolver.DefaultArtifactResolver.col
> >>lect(Defau
> >>ltArtifactResolver.java:303)
> >>        ... 19 more
> >>Caused by: org.apache.maven.project.ProjectBuildingException:
> >>Unable to find artifact: jdbc:jdbc:pom:2.0
> >>        at
> >>org.apache.maven.project.DefaultMavenProjectBuilder.findModelF
> >>romReposit
> >>ory(DefaultMavenProjectBuilder.java:167)
> >>        at
> >>org.apache.maven.project.DefaultMavenProjectBuilder.buildFromR
> >>epository(
> >>DefaultMavenProjectBuilder.java:149)
> >>        at
> >>org.apache.maven.artifact.MavenMetadataSource.retrieve(MavenMe
> >>tadataSour
> >>ce.java:83)
> >>        ... 20 more
> >>
> >>
> >>The information contained in this e-mail is intended only for
> >>the person or entity to which it is addressed and may contain
> >>confidential and/or privileged material. If You are not the
> >>intended recipient of this e-mail, the use of this
> >>information or any disclosure, copying or distribution is
> >>Prohibited and may be unlawful. If you received this in
> >>error, please contact the sender and delete the material from
> >>any computer. The views expressed in this e-mail may not
> >>necessarily be the views of The PCMS Group plc and should not
> >>be taken as authority to carry out any instruction contained.
> >>
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to