Re: cannot resolve maven-wolifecycle-plugin

From: M.Y. Tjoe (tjo..ow.edu.au)
Date: Wed Oct 29 2008 - 02:44:34 EDT

  • Next message: Kieran Kelleher: "com.ibm.icu.math.BigDecimal"

    Hi Henrique,

    > Are you planning to deploy your application as WAR?

    Yes.

    Sorry for the very late reply. I checked the war file it produced and
    manually deployed to tomcat and it works flawlessly. I didn't managed
    to get it deploy/run on jetty, but I use cargo to do the deployment to
    tomcat which is even better because that is what we're using.

    Thanks for your help and have a good evening.

    Regards,
    Harvey

    On 25/10/2008, at 12:01 AM, Henrique Prange wrote:

    > Hi Harvey,
    >
    > Are you planning to deploy your application as WAR?
    >
    > Cheers,
    >
    > Henrique
    >
    > M.Y. Tjoe wrote:
    >> I'm using version 2.0.9.
    >>
    >> I ended up trying it from scratch and run pretty smoothly seeing it
    >> downloading a lot of plugins until it complaining ERXServletAdaptor
    >>
    >> [INFO] Starting jetty 6.1.12.rc4 ...
    >> 2008-10-24 11:21:39.329::INFO: jetty-6.1.12.rc4
    >> 2008-10-24 11:21:39.346::INFO: Extract
    >> jar:file:/Users/mytjoe/.m2/testMaven/target/testMaven.war!/ to
    >> /Users/mytjoe/.m2/testMaven/target/work/webapp
    >> 2008-10-24 11:21:40.317::INFO: No Transaction manager found - if
    >> your
    >> webapp requires one, please configure one.
    >> 2008-10-24 11:21:41.633::WARN: EXCEPTION
    >> java.lang.ClassNotFoundException:
    >> er.extensions.jspservlet.ERXServletAdaptor
    >> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    >> at java.security.AccessController.doPrivileged(Native Method)
    >> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    >> .....
    >> 2008-10-24 11:21:41.636:/testMaven:WARN: unavailable
    >> javax.servlet.UnavailableException:
    >> er.extensions.jspservlet.ERXServletAdaptor
    >> at org.mortbay.jetty.servlet.Holder.doStart(Holder.java:79)
    >> at
    >> org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:
    >> 242)
    >> at
    >> org
    >> .mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    >> at
    >> org
    >> .mortbay
    >> .jetty.servlet.ServletHandler.initialize(ServletHandler.java:643)
    >> ....
    >> 008-10-24 11:21:41.637::WARN: failed WOServletAdaptor
    >> java.lang.NullPointerException
    >> at java.lang.Class.isAssignableFrom(Native Method)
    >> at
    >> org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:
    >> 256)
    >> at
    >> org
    >> .mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    >> at
    >> org
    >> .mortbay
    >> .jetty.servlet.ServletHandler.initialize(ServletHandler.java:643)
    >> at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
    >> at
    >> org
    >> .mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:
    >> 1234)
    >> at
    >> org
    >> .mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:
    >> 517)
    >> ...
    >> 2008-10-24 11:21:41.638::WARN: Failed startup of context
    >> org.mortbay.jetty.plugin.Jetty6PluginWebAppContex..855bd{/
    >> testMaven,jar:file:/Users/mytjoe/.m2/testMaven/target/
    >> testMaven.war!/}
    >> java.lang.NullPointerException
    >> at java.lang.Class.isAssignableFrom(Native Method)
    >> at
    >> org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:
    >> 256)
    >> at
    >> org
    >> .mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    >> at
    >> org
    >> .mortbay
    >> .jetty.servlet.ServletHandler.initialize(ServletHandler.java:643)
    >> ........
    >> 2008-10-24 11:21:41.656::INFO: Started
    >> SelectChannelConnecto...0.0.0
    >> <mailto:SelectChannelConnecto...0.0.0>:8080
    >> [INFO] Started Jetty Server
    >> ....
    >>
    >>
    >>
    >>
    >> I then copied the source code of ERXServletAdaptor.java from
    >> following
    >>
    >> http://wiki.objectstyle.org/confluence/display/WONDER/Creating+a+wonder+app+to+deploy+as+a+servlet
    >>
    >> and getting the following errors now...
    >>
    >>
    >>
    >>
    >> .....
    >> 008-10-24 12:08:19.838::INFO: Extract
    >> jar:file:/Users/mytjoe/.m2/testMaven/target/testMaven.war!/ to
    >> /Users/mytjoe/.m2/testMaven/target/work/webapp
    >> 2008-10-24 12:08:20.773::INFO: No Transaction manager found - if
    >> your
    >> webapp requires one, please configure one.
    >> [2008-10-24 12:8:21 EST] <main> Initialized :
    >> er.extensions.ERXExtensions
    >> Classes and frameworks will be loaded out of the WEB-INF/lib and
    >> WEB-INF/classes directories.
    >> MainBundle will be set to testMaven
    >> java.lang.reflect.InvocationTargetException
    >> 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
    >> com
    >> .webobjects
    >> .jspservlet.WOServletAdaptor._applicationInit(WOServletAdaptor.java:
    >> 421)
    >> at
    >> com
    >> .webobjects
    >> .jspservlet.WOServletAdaptor.initStatics(WOServletAdaptor.java:95)
    >> at
    >> com
    >> .webobjects.jspservlet.WOServletAdaptor.init(WOServletAdaptor.java:
    >> 652)
    >> at
    >> er
    >> .extensions
    >> .jspservlet.ERXServletAdaptor.init(ERXServletAdaptor.java:72)
    >> at javax.servlet.GenericServlet.init(GenericServlet.java:241)
    >> at
    >> org
    >> .mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:
    >> 431)
    >> at
    >> org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:
    >> 263)
    >> at
    >> org
    >> .mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    >> at
    >> org
    >> .mortbay
    >> .jetty.servlet.ServletHandler.initialize(ServletHandler.java:643)
    >> at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
    >> at
    >> org
    >> .mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:
    >> 1234)
    >> at
    >> org
    >> .mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:
    >> 517)
    >> at
    >> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:
    >> 460)
    >> at
    >> org
    >> .mortbay
    >> .jetty
    >> .plugin
    >> .Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:
    >> 124)
    >> at
    >> org
    >> .mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    >> at
    >> org
    >> .mortbay
    >> .jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
    >> at
    >> org
    >> .mortbay
    >> .jetty
    >> .handler
    >> .ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
    >> at
    >> org
    >> .mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    >> at
    >> org
    >> .mortbay
    >> .jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
    >> at
    >> org
    >> .mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    >> at
    >> org
    >> .mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:
    >> 130)
    >> at org.mortbay.jetty.Server.doStart(Server.java:222)
    >> at
    >> org
    >> .mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    >> at
    >> org
    >> .mortbay
    >> .jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)
    >> at
    >> org
    >> .mortbay
    >> .jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:
    >> 388)
    >> at
    >> org
    >> .mortbay
    >> .jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:324)
    >> at org.mortbay.jetty.plugin.Jetty6RunWar.execute(Jetty6RunWar.java:
    >> 67)
    >> at
    >> org
    >> .apache
    >> .maven
    >> .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
    >> 451)
    >> at
    >> org
    >> .apache
    >> .maven
    >> .lifecycle
    >> .DefaultLifecycleExecutor
    >> .executeGoals(DefaultLifecycleExecutor.java:558)
    >> at
    >> org
    >> .apache
    >> .maven
    >> .lifecycle
    >> .DefaultLifecycleExecutor
    >> .executeStandaloneGoal(DefaultLifecycleExecutor.java:512)
    >> at
    >> org
    >> .apache
    >> .maven
    >> .lifecycle
    >> .DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:
    >> 482)
    >> at
    >> org
    >> .apache
    >> .maven
    >> .lifecycle
    >> .DefaultLifecycleExecutor
    >> .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
    >> at
    >> org
    >> .apache
    >> .maven
    >> .lifecycle
    >> .DefaultLifecycleExecutor
    >> .executeTaskSegments(DefaultLifecycleExecutor.java:291)
    >> at
    >> org
    >> .apache
    >> .maven
    >> .lifecycle
    >> .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
    >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
    >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
    >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
    >> 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)
    >> Caused by: java.lang.ExceptionInInitializerError
    >> at
    >> com
    >> .webobjects
    >> .appserver.WOApplication.primeApplication(WOApplication.java:665)
    >> ... 49 more
    >> Caused by: java.lang.IllegalStateException: Main bundle 'Properties'
    >> file can't be read. Did you run as a Java Application instead of a
    >> WOApplication in WOLips?
    >> Please post your deployment configuration in the Wonder mailing list.
    >> at
    >> er.extensions.appserver.ERXApplication
    >> $Loader.bundleDidLoad(ERXApplication.java:447)
    >> 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
    >> com
    >> .webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:
    >> 122)
    >> at
    >> com.webobjects.foundation.NSNotificationCenter
    >> $_Entry.invokeMethod(NSNotificationCenter.java:588)
    >> at
    >> com
    >> .webobjects
    >> .foundation
    >> .NSNotificationCenter.postNotification(NSNotificationCenter.java:532)
    >> at
    >> com
    >> .webobjects
    >> .foundation
    >> .NSNotificationCenter.postNotification(NSNotificationCenter.java:562)
    >> at
    >> com.webobjects.foundation.NSBundle.postNotification(NSBundle.java:
    >> 2546)
    >> at
    >> com
    >> .webobjects.foundation.NSBundle.LoadBundlesFromJars(NSBundle.java:
    >> 735)
    >> at com.webobjects.foundation.NSBundle.<clinit>(NSBundle.java:345)
    >> ... 50 more
    >> 2008-10-24 12:08:21.450:/testMaven:WARN: unavailable
    >> javax.servlet.UnavailableException: Error initializing servlet
    >> adaptor: null
    >> at
    >> com
    >> .webobjects
    >> .jspservlet.WOServletAdaptor._applicationInit(WOServletAdaptor.java:
    >> 442)
    >> at
    >> com
    >> .webobjects
    >> .jspservlet.WOServletAdaptor.initStatics(WOServletAdaptor.java:95)
    >> at
    >> com
    >> .webobjects.jspservlet.WOServletAdaptor.init(WOServletAdaptor.java:
    >> 652)
    >> at
    >> er
    >> .extensions
    >> .jspservlet.ERXServletAdaptor.init(ERXServletAdaptor.java:72)
    >> at javax.servlet.GenericServlet.init(GenericServlet.java:241)
    >> at
    >> org
    >> .mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:
    >> 431)
    >> at
    >> org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:
    >> 263)
    >> at
    >> org
    >> .mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    >> at
    >> org
    >> .mortbay
    >> .jetty.servlet.ServletHandler.initialize(ServletHandler.java:643)
    >> at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
    >> at
    >> org
    >> .mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:
    >> 1234)
    >> at
    >> org
    >> .mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:
    >> 517)
    >> at
    >> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:
    >> 460)
    >> at
    >> org
    >> .mortbay
    >> .jetty
    >> .plugin
    >> .Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:
    >> 124)
    >> at
    >> org
    >> .mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    >> at
    >> org
    >> .mortbay
    >> .jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
    >> at
    >> org
    >> .mortbay
    >> .jetty
    >> .handler
    >> .ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
    >> at
    >> org
    >> .mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    >> at
    >> org
    >> .mortbay
    >> .jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
    >> at
    >> org
    >> .mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    >> at
    >> org
    >> .mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:
    >> 130)
    >> at org.mortbay.jetty.Server.doStart(Server.java:222)
    >> at
    >> org
    >> .mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    >> at
    >> org
    >> .mortbay
    >> .jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)
    >> at
    >> org
    >> .mortbay
    >> .jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:
    >> 388)
    >> at
    >> org
    >> .mortbay
    >> .jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:324)
    >> at org.mortbay.jetty.plugin.Jetty6RunWar.execute(Jetty6RunWar.java:
    >> 67)
    >> at
    >> org
    >> .apache
    >> .maven
    >> .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
    >> 451)
    >> at
    >> org
    >> .apache
    >> .maven
    >> .lifecycle
    >> .DefaultLifecycleExecutor
    >> .executeGoals(DefaultLifecycleExecutor.java:558)
    >> at
    >> org
    >> .apache
    >> .maven
    >> .lifecycle
    >> .DefaultLifecycleExecutor
    >> .executeStandaloneGoal(DefaultLifecycleExecutor.java:512)
    >> at
    >> org
    >> .apache
    >> .maven
    >> .lifecycle
    >> .DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:
    >> 482)
    >> at
    >> org
    >> .apache
    >> .maven
    >> .lifecycle
    >> .DefaultLifecycleExecutor
    >> .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
    >> at
    >> org
    >> .apache
    >> .maven
    >> .lifecycle
    >> .DefaultLifecycleExecutor
    >> .executeTaskSegments(DefaultLifecycleExecutor.java:291)
    >> at
    >> org
    >> .apache
    >> .maven
    >> .lifecycle
    >> .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
    >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
    >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
    >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
    >> 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)
    >> 2008-10-24 12:08:21.472::INFO: Started
    >> SelectChannelConnecto...0.0.0
    >> <mailto:SelectChannelConnecto...0.0.0>:8080
    >> [INFO] Started Jetty Server
    >>
    >>
    >>
    >> Regards,
    >> Harvey
    >>
    >>
    >> On 23/10/2008, at 11:41 PM, Henrique Prange wrote:
    >>
    >>> Hi Harvey,
    >>>
    >>> Which version of Maven are you using? Could you try to execute the
    >>> following command?
    >>>
    >>> mvn help:effective-pom
    >>>
    >>> If you get the same error, remove the
    >>> <packaging>woapplication</packaging> declaration and try again.
    >>>
    >>> Cheers,
    >>>
    >>> Henrique
    >>>
    >>> M.Y. Tjoe wrote:
    >>>> here is the pom.xml:
    >>>>
    >>>>
    >>>> <?xml version="1.0" encoding="UTF-8"?>
    >>>> <project xmlns="http://maven.apache.org/POM/4.0.0"
    >>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    >>>> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
    >>>> http://maven.apache.org/maven-v4_0_0.xsd">
    >>>> <modelVersion>4.0.0</modelVersion>
    >>>> <groupId>its.uow</groupId>
    >>>> <artifactId>testMaven</artifactId>
    >>>> <packaging>woapplication</packaging>
    >>>> <version>0.1</version>
    >>>> <name>testMaven WebObjects App</name>
    >>>> <url>http://maven.apache.org>
    >>>>
    >>>> <properties>
    >>>> <woversion>5.4.3</woversion>
    >>>> </properties>
    >>>>
    >>>> <build>
    >>>> <finalName>testMaven</finalName>
    >>>> <resources>
    >>>> <resource>
    >>>> <targetPath>Resources</targetPath>
    >>>> <directory>${basedir}/src/main/resources</directory>
    >>>> </resource>
    >>>> <resource>
    >>>> <targetPath>Resources</targetPath>
    >>>> <directory>${basedir}/src/main/components</directory>
    >>>> </resource>
    >>>> <resource>
    >>>> <targetPath>WebServerResources</targetPath>
    >>>> <directory>
    >>>> ${basedir}/src/main/webserver-resources
    >>>> </directory>
    >>>> </resource>
    >>>> </resources>
    >>>> <plugins>
    >>>> <plugin>
    >>>> <groupId>org.objectstyle.woproject.maven2</groupId>
    >>>> <artifactId>maven-wolifecycle-plugin</artifactId>
    >>>> <version>2.0.14</version>
    >>>> <extensions>true</extensions>
    >>>> </plugin>
    >>>> </plugins>
    >>>> </build>
    >>>> <repositories>
    >>>> </repositories>
    >>>>
    >>>> <dependencies>
    >>>> <dependency>
    >>>> <groupId>com.webobjects</groupId>
    >>>> <artifactId>JavaFoundation</artifactId>
    >>>> <version>${woversion}</version>
    >>>> </dependency>
    >>>> <dependency>
    >>>> <groupId>com.webobjects</groupId>
    >>>> <artifactId>JavaWebObjects</artifactId>
    >>>> <version>${woversion}</version>
    >>>> </dependency>
    >>>> <dependency>
    >>>> <groupId>com.webobjects</groupId>
    >>>> <artifactId>JavaEOAccess</artifactId>
    >>>> <version>${woversion}</version>
    >>>> </dependency>
    >>>> </dependencies>
    >>>> </project>
    >>>>
    >>>> Regards,
    >>>> Harvey
    >>>>
    >>>>
    >>>>
    >>>> On 23/10/2008, at 4:58 PM, Lachlan Deck wrote:
    >>>>
    >>>>> On 23/10/2008, at 4:46 PM, M.Y. Tjoe wrote:
    >>>>>
    >>>>>> I added profile id to setting/xml
    >>>>>>
    >>>>>> <id>default</id>
    >>>>>> <activation>
    >>>>>> <activeByDefault>true</
    >>>>>> activeByDefault>
    >>>>>> </activation>
    >>>>>>
    >>>>>> and getting new error shown below. I think the dependency issue
    >>>>>> is
    >>>>>> resolved. Thanks guys.
    >>>>>
    >>>>> Great.
    >>>>>
    >>>>>> MBP:testMaven mytjoe$ mvn package
    >>>>>> [INFO] Scanning for projects...
    >>>>>> [INFO]
    >>>>>> ------------------------------------------------------------------------
    >>>>>> [ERROR] FATAL ERROR
    >>>>>> [INFO]
    >>>>>> ------------------------------------------------------------------------
    >>>>>> [INFO] Error building POM (may not be this project's POM).
    >>>>>>
    >>>>>> Project ID: unknown
    >>>>>> POM Location: /Users/mytjoe/.m2/testMaven/pom.xml
    >>>>>>
    >>>>>> Reason: Parse error reading POM. Reason: Duplicated tag:
    >>>>>> 'packaging' (position: START_TAG seen ...</artifactId>\n\t
    >>>>>> \t<packaging>.....1:14) for project unknown at /Users/
    >>>>>> mytjoe/.m2/
    >>>>>> testMaven/pom.xml
    >>>>>>
    >>>>>>
    >>>>>> [INFO]
    >>>>>> ------------------------------------------------------------------------
    >>>>>> [INFO] Trace
    >>>>>> org.apache.maven.reactor.MavenExecutionException: Parse error
    >>>>>> reading POM. Reason: Duplicated tag: 'packaging' (position:
    >>>>>> START_TAG seen ...</artifactId>\n\t\t<packaging>.....1:14) for
    >>>>>> project unknown at /Users/mytjoe/.m2/testMaven/pom.xml
    >>>>>
    >>>>> And your pom looks like? It's complaining that you've got a
    >>>>> duplicate
    >>>>> tag.
    >>>>>
    >>>>> with regards,
    >>>>> --
    >>>>>
    >>>>> Lachlan Deck
    >>>>>
    >>>>>
    >>>>>
    >>>>
    >>



    This archive was generated by hypermail 2.0.0 : Wed Oct 29 2008 - 02:46:32 EDT