You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mi...@lawson.com on 2003/09/19 16:01:13 UTC
Trouble specifying my dependencies/JAR override
I'm trying to use the JAR over-ride feature wh/ I have enabled in the
project.properties file. Below is a project.xml snippet with the
generated output. Please tell me that I've got something obviously wrong
in my dependency grammar..... (My XML editor confirms that the entire
project.xml is well-formed). TIA
<dependencies>
<dependency>
<groupid>java/thirdparty/lawson</groupid>
<artifactid>navigator</artifactid>
<type>jar</type>
<version>0.9.1</version>
<url>http://cvs.lawson.com/</url>
</dependency>
</dependencies>
generates the follwing output....
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0-beta-10
java.lang.NullPointerException
at
org.apache.maven.project.Project.standardToLegacyId(Project.java:1587)
at
org.apache.maven.ArtifactListBuilder.build(ArtifactListBuilder.java:95)
at
org.apache.maven.project.Project.buildArtifactList(Project.java:1469)
at org.apache.maven.project.Project.initialize(Project.java:1292)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:249)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:160)
at
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:324)
at org.apache.maven.MavenSession.initialize(MavenSession.java:234)
at org.apache.maven.cli.App.doMain(App.java:514)
at org.apache.maven.cli.App.main(App.java:1088)
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:324)
at com.werken.forehead.Forehead.run(Forehead.java:543)
at com.werken.forehead.Forehead.main(Forehead.java:573)
Total time: 4 seconds
Mike McGowan
mike.mcgowan@lawson.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Trouble specifying my dependencies/JAR override
Posted by Jason van Zyl <jv...@maven.org>.
On Fri, 2003-09-19 at 10:08, Pavel Sher wrote:
> I've got the same error when tried to use jar override for the first time.
> Try to replace <artifactid/> tag with <id/>.
No, don't do that :-)
It's artifactId not artifactid.
It's groupId not groupid.
We Java naming conventions.
>
> > I'm trying to use the JAR over-ride feature wh/ I have enabled in the
> > project.properties file. Below is a project.xml snippet with the
> > generated output. Please tell me that I've got something obviously wrong
> > in my dependency grammar..... (My XML editor confirms that the entire
> > project.xml is well-formed). TIA
> >
> > <dependencies>
> > <dependency>
> > <groupid>java/thirdparty/lawson</groupid>
> > <artifactid>navigator</artifactid>
> > <type>jar</type>
> > <version>0.9.1</version>
> > <url>http://cvs.lawson.com/</url>
> > </dependency>
> > </dependencies>
> >
> > generates the follwing output....
> >
>
> > __ __
> > | \/ |__ _Apache__ ___
> > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> > |_| |_\__,_|\_/\___|_||_| v. 1.0-beta-10
> >
> > java.lang.NullPointerException
> > at
> > org.apache.maven.project.Project.standardToLegacyId(Project.java:1587)
> > at
> > org.apache.maven.ArtifactListBuilder.build(ArtifactListBuilder.java:95)
> > at
> > org.apache.maven.project.Project.buildArtifactList(Project.java:1469)
> > at org.apache.maven.project.Project.initialize(Project.java:1292)
> > at org.apache.maven.MavenUtils.getProject(MavenUtils.java:249)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
--
jvz.
Jason van Zyl
jason@zenplex.com
http://tambora.zenplex.org
In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
-- Jacques Ellul, The Technological Society
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Trouble specifying my dependencies/JAR override
Posted by Pavel Sher <pa...@actimind.com>.
I've got the same error when tried to use jar override for the first time.
Try to replace <artifactid/> tag with <id/>.
> I'm trying to use the JAR over-ride feature wh/ I have enabled in the
> project.properties file. Below is a project.xml snippet with the
> generated output. Please tell me that I've got something obviously wrong
> in my dependency grammar..... (My XML editor confirms that the entire
> project.xml is well-formed). TIA
>
> <dependencies>
> <dependency>
> <groupid>java/thirdparty/lawson</groupid>
> <artifactid>navigator</artifactid>
> <type>jar</type>
> <version>0.9.1</version>
> <url>http://cvs.lawson.com/</url>
> </dependency>
> </dependencies>
>
> generates the follwing output....
>
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.0-beta-10
>
> java.lang.NullPointerException
> at
> org.apache.maven.project.Project.standardToLegacyId(Project.java:1587)
> at
> org.apache.maven.ArtifactListBuilder.build(ArtifactListBuilder.java:95)
> at
> org.apache.maven.project.Project.buildArtifactList(Project.java:1469)
> at org.apache.maven.project.Project.initialize(Project.java:1292)
> at org.apache.maven.MavenUtils.getProject(MavenUtils.java:249)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org