seems like a bug :(

can you record it in JIRA? I'll fix it asap.

You'll probably find that if you run with -u (allowing updates), it
will work, and then the settings you have will work after that.

- Brett

On 5/19/05, Malcolm Wong Ho <[EMAIL PROTECTED]> wrote:
> Exception :
> 
> java.lang.NullPointerException
>         at
> org.apache.maven.artifact.transform.AbstractVersionTransformation.resolveVersion(AbstractVersionTransformation.java:140)
>         at
> org.apache.maven.artifact.transform.ReleaseArtifactTransformation.transformForResolve(ReleaseArtifactTransformation.java:52)
>         at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:99)
>         at
> org.codehaus.plexus.DefaultArtifactEnabledContainer.addComponent(DefaultArtifactEnabledContainer.java:104)
>         at
> org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:285)
>         at
> org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:241)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:389)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.configureMojo(DefaultLifecycleExecutor.java:337)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.processGoals(DefaultLifecycleExecutor.java:135)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:90)
>         at
> org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:253)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:167)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:246)
>         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: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)
> 
> > change <repository> to <pluginRepository/ > (sorry, the docs are in
> > error).
> >
> > - Brett
> >
> > On 5/19/05, Malcolm Wong Ho <[EMAIL PROTECTED]> wrote:
> >> I get an error, the proxy here is blocking the download site.
> >>
> >> [INFO] Reason: Failed to parse model from file
> >> 'C:\blackbird\projects\spring\mypetstore\pom.xml'.
> >> Error: 'TEXT must be immediately followed by END_TAG and not START_TAG
> >> (position: START_TAG seen ...<repository>\r\n\t\t\t<id>... @9:8) '
> >>
> >>
> >> Sample pom.xml :
> >>
> >> <project>
> >>         <modelVersion>4.0.0</modelVersion>
> >>         <groupId>za.co.mypetstore</groupId>
> >>         <artifactId>mypetstore</artifactId>
> >>         <packaging>war</packaging>
> >>         <version>1.0-SNAPSHOT</version>
> >>         <pluginRepositories>
> >>                 <repository>
> >>                         <id>central</id>
> >>                         <name>central</name>
> >>                         <snapshotPolicy>never</snapshotPolicy>
> >>                 </repository>
> >>         </pluginRepositories>
> >> </project>
> >>
> >> ---------------------------- Original Message
> >> ----------------------------
> >> Subject: Re: Disable Automatic Plugin Updates in Maven ?
> >> From:    "Brett Porter" <[EMAIL PROTECTED]>
> >> Date:    Thu, May 19, 2005 9:04 am
> >> To:      "Maven Users List" <[email protected]>
> >> --------------------------------------------------------------------------
> >>
> >> A couple of ways presently:
> >>
> >> - use -o on the command line (it can be in MAVEN_OPTS), but this
> >> disables all downloads
> >> - ad a pluginRepository to your project (or one you inherit from) with
> >> id
> >> = central and <snapshotPolicy>never</snapshotPolicy>
> >> - explicitly list all plugins you use in pom.xml with their versions.
> >>
> >> We intend to improve this in the next release:
> >> http://jira.codehaus.org/browse/MNG-379
> >>
> >> Note that plugin updates should only be checked, and published after
> >> sufficient testing so there should be no harm in leaving it enabled at
> >> the
> >> moment.
> >>
> >> Regards,
> >> Brett
> >>
> >> On 5/19/05, Malcolm Wong Ho <[EMAIL PROTECTED]> wrote:
> >> >
> >> > How do i disable the Automatic Maven Plugin Updates in Maven2 ?
> >> >
> >> > --
> >> > Malcolm Wong Ho
> >> >
> >> > May you live in uninteresting times. -- Chinese proverb
> >> >
> >> > ---------------------------------------------------------------------
> >> 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]
> >>
> >>
> >>
> >>
> >>
> >> --
> >> Malcolm Wong Ho
> >> [EMAIL PROTECTED]
> >>
> >> May you live in uninteresting times. -- Chinese proverb
> >>
> >> ---------------------------------------------------------------------
> >> 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]
> >
> >
> >
> 
> 
> --
> Malcolm Wong Ho
> [EMAIL PROTECTED]
> 
> May you live in uninteresting times. -- Chinese proverb
> 
> ---------------------------------------------------------------------
> 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