Sharma, Jaikumar a écrit :
Thanks Stephane, Please see below.

-----Original Message-----
From: Stéphane Bouchet [mailto:[EMAIL PROTECTED] Sent: Monday, August 28, 2006 6:33 PM
To: Maven Users List
Subject: Re: NullPointerException in maven-eclipse-plugin while executing
"mak e-artifacts" goal

Hi,

this new functionnality is still under dev.

It seems you have installed a plugin (org.jbpm.core ) taht is not delivered with the basic eclipse install. the maven plugin tries to create for each eclipse plugin an artifact and install it in our repo.

So there is an error with that particular eclipse plugin....

Do you need this plugin into your App ? if not, try to remove it, then try again .

[Sharma, Jaikumar] I did not install (org.jbpm.core) into my repository and it does not exist
in local repository. When I run the "mvn make-artifacts", then a lot of
plugins from local eclipse installation gets processed and installed into
local repository based on plugin manifest.

I am not sure, what is the reason, it gets stuck on this plugin, while
processing and gives NullPointerException.

That is what i am saying.

You have installed JBOSS IDE and not just Eclipse IDE, and tha org.jbpm.core plugin for eclipse gives you the NPE.

i don't know either the reason why it gave you this.

the solution i gave you is that you could install a fresh Eclipse in another directory, run "mvn make-artifacts" into, and see if you could use the installed artifact with your app and maven..

The make-artifacts goals need to be call just the first time, after that, you will have all the necessary artifact in your repo.

Stéphane



Jaikumar


Stéphane


Sharma, Jaikumar a écrit :
Dear Maven users,
Did someone tried maven-eclipse-plugin : version 2.3-SNAPSHOT to build
eclipse plugins ? When I run "mvn clean make-artifacts" it is coming out
with NullPointeException as appended at the end of the mail.
Plugin configuration in my pom.xml is : <plugin>

          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-eclipse-plugin</artifactId>
<version>2.3-SNAPSHOT</version> <configuration> <eclipseDir>${ECLIPSE_HOME}</eclipseDir> <buildOutputDirectory>${basedir}/target</buildOutputDirectory>
               <!-- <downloadSources>true</downloadSources> -->
<eclipseProjectDir>${basedir}</eclipseProjectDir> <manifest>plugin.xml</manifest> <pde>true</pde> <executions>
                 <execution>
                    <goals>
<goal>make-artifacts</goal> </goals> </execution> </executions> </configuration> </plugin> Does some has any idea or pointers on this or I am doing something wrong ? Thanks for your help!
[INFO] Processing file
C:\Lang\eclipse\plugins\org.eclipse.xsd.edit_2.1.0.jar
[WARNING] Missing version for artifact org.eclipse.core.runtime, skipping
[WARNING] Missing version for artifact org.eclipse.emf.edit, skipping
[WARNING] Missing version for artifact org.eclipse.xsd, skipping
[INFO] Installing C:\DOCUME~1\JKS\LOCALS~1\Temp\pom36712.xml to

C:\Lang\maven-2.0.4\Repository\org\eclipse\org.eclipse.xsd.edit\2.1.0\org.ec
lipse.xsd.edit-2.1.0.pom
[INFO] Installing C:\Lang\eclipse\plugins\org.eclipse.xsd.edit_2.1.0.jar
to
C:\Lang\maven-2.0.4\Repository\org\eclipse\org.eclipse.xsd.edit\2.1.0\org.ec
lipse.xsd.edit-2.1.0.jar
[INFO] Processing file C:\Lang\eclipse\plugins\org.eclipse.xsd_2.1.1.jar
[WARNING] Missing version for artifact org.eclipse.core.runtime, skipping
[WARNING] Missing version for artifact org.eclipse.emf.ecore, skipping
[INFO] Installing C:\DOCUME~1\JKS\LOCALS~1\Temp\pom36713.xml to

C:\Lang\maven-2.0.4\Repository\org\eclipse\org.eclipse.xsd\2.1.1\org.eclipse
.xsd-2.1.1.pom
[INFO] Installing C:\Lang\eclipse\plugins\org.eclipse.xsd_2.1.1.jar to

C:\Lang\maven-2.0.4\Repository\org\eclipse\org.eclipse.xsd\2.1.1\org.eclipse
.xsd-2.1.1.jar
[INFO] Processing file C:\Lang\eclipse\plugins\org.jbpm.core_3.0.9.jar
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] null
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
 at

org.apache.maven.plugin.eclipse.MakeArtifactsMojo.execute(MakeArtifactsMojo.
java:166)
 at

org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManage
r.java:412)
 at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife
cycleExecutor.java:534)
 at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(De
faultLifecycleExecutor.java:488)
 at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifec
ycleExecutor.java:458)
 at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFail
ures(DefaultLifecycleExecutor.java:306)
 at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Defa
ultLifecycleExecutor.java:273)
 at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle
Executor.java:140)
 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:256)
 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)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 13 seconds
[INFO] Finished at: Mon Aug 28 17:59:03 GMT+05:30 2006
[INFO] Final Memory: 8M/14M
[INFO]
------------------------------------------------------------------------
BM__MailAutoSig_________________________________________

Jaikumar Sharma

Sr.Software Development Engineer

Barco Control Rooms

A-5, Sector - 5,

Noida. India 201 301.

Tel +91.120.4020.313

Fax+91.120.4020.100

 <http://www.barco.com/> http://www.barco.com

 <mailto:[EMAIL PROTECTED]> mailto:[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