Hi,

This is the version of maven eclipse plugin  m2e - Maven Integration for 
Eclipse        1.0.100.20110804-1717   org.eclipse.m2e.feature.feature.group   
Eclipse.org - m2e .
Also i have attached the error trace for the commands which were specified in 
the previous mail as specified.
So please help me out with the same.

Regards,
Nikhil Bora


-----Original Message-----
From: Alan R Williams [mailto:[email protected]]
Sent: Tuesday, February 28, 2012 6:59 PM
To: [email protected]
Subject: Re: [Taverna-users] Reagrding maven plugin

On 27/02/2012 08:40, Nikhil Bora wrote:
> Hi,

Hello

> The reason of writing this mail is due to the errors faced during
> creating project archtype using the service invocation tutorial.
>
> [cid:[email protected]]
>
> This is the snapshot of the error faced . Also the maven plugin
> repository for the artifact is not valid or rather giving an error .
> Please help me with the same .

Have you tried the command line artifact creation

mvn -B archetype:generate \
  -DarchetypeRepository=http://www.mygrid.org.uk/maven/repository/ \
  -DgroupId=uk.ac.manchester.cs.img.myfancytool \
  -DartifactId=myfancytool-taverna \
  -Dpackage=uk.ac.manchester.cs.img.myfancytool.taverna \
  -DarchetypeGroupId=net.sf.taverna.t2.archetypes \
  -DarchetypeArtifactId=taverna-activity-archetype \
  -DarchetypeVersion=1.3

as suggested in
http://www.mygrid.org.uk/dev/wiki/display/developer/1.+Create+project+from+archetype
?

> Regards, Nikhil Bora

Alan

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers is just 
$99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style 
Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
taverna-users mailing list
[email protected]
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.
C:\Maven_Workspace>mvn -B archetype:generate 
-DarchetypeRepository=http://www.mygrid.org.uk/maven/repository/ 
-DgroupId=uk.ac.m
anchester.cs.img.myfancytool -DartifactId=myfancytool-taverna 
-Dpackage=uk.ac.manchester.cs.img.myfancytool.taverna -Darchetype
GroupId=net.sf.taverna.t2.archetypes 
-DarchetypeArtifactId=taverna-activity-archetype -DarchetypeVersion=1.3 -e
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [archetype:generate] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] Preparing archetype:generate
[INFO] No goals needed for project - skipping
[INFO] [archetype:generate {execution: default-cli}]
[INFO] Generating project in Batch mode
[INFO] Archetype defined by properties
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at 
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        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:597)
        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.apache.maven.plugin.MojoFailureException
        at 
org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.execute(CreateProjectFromArchetypeMojo.java:221)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
        ... 17 more
Caused by: java.lang.NullPointerException
        at 
org.apache.maven.archetype.common.DefaultArchetypeArtifactManager.closeZipFile(DefaultArchetypeArtifactManager.java:
584)
        at 
org.apache.maven.archetype.common.DefaultArchetypeArtifactManager.isFileSetArchetype(DefaultArchetypeArtifactManager
.java:196)
        at 
org.apache.maven.archetype.common.DefaultArchetypeArtifactManager.isFileSetArchetype(DefaultArchetypeArtifactManager
.java:209)
        at 
org.apache.maven.archetype.ui.generation.DefaultArchetypeGenerationConfigurator.configureArchetype(DefaultArchetypeG
enerationConfigurator.java:125)
        at 
org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.execute(CreateProjectFromArchetypeMojo.java:205)
        ... 19 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Wed Feb 29 17:30:59 IST 2012
[INFO] Final Memory: 19M/47M
[INFO] ------------------------------------------------------------------------
C:\Maven_Workspace>
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
taverna-users mailing list
[email protected]
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/

Reply via email to