missed the list

On 11/29/05, Jesse McConnell <[EMAIL PROTECTED]> wrote:
>
> looks to me like you need to be using maven 1 to compile this, 
> project.xmlfiles were maven1 (note the pomVersion 3, in maven2 that is 
> actually
> <modelVersion>4.0.0</modelVersion>)  in maven 2 the default project files
> are named pom.xml
>
> cheers!
>
> On 11/29/05, Charlie Abela <[EMAIL PROTECTED]> wrote:
> >
> > Thanks for your reply. Actually what I'm trying to do is the following,
> > I want to run a third party application which makes use of maven to compile
> > etc...Included with this code are 2 xml files, a maven and
> > project.xml....i am assuming that the project.xml is the POM that you're
> > referring to, correct?
> > anyways heere is the code in this xml file
> >
> > <project>
> >     <pomVersion>3</pomVersion>
> >     <groupId>Owls_GUI</groupId>
> >     <artifactId>Owls_GUI</artifactId>
> >     <name>OWL-S Matcher</name>
> >     <currentVersion>0.1</currentVersion>
> >     <organization>
> >         <name>TU Berlin, FG IVS, Michael C. Jaeger</name>
> >         <url>http://ivs.tu-berlin.de/</url>
> >     </organization>
> >     <inceptionYear>2004</inceptionYear>
> >     <description>The OWL-S Matcher is a matching utility for OWL-S Web
> > Service Description Files</description>
> >     <shortDescription>OWL-S Web Service Description
> > Matcher</shortDescription>
> >     <package>Owls_GUI</package>
> >         <developers>
> >         <developer>
> >             <name>Stefan Tang</name>
> >             <email>[EMAIL PROTECTED]</email>
> >             <organization>Technische Universitaet Berlin</organization>
> >         </developer>
> >         <developer>
> >             <name>Christoph Liebetruth</name>
> >             <email>[EMAIL PROTECTED]</email>
> >             <organization>Technische Universitaet Berlin</organization>
> >         </developer>
> >         <developer>
> >             <name>Michael C. Jaeger</name>
> >             <email>[EMAIL PROTECTED]</email>
> >             <organization>Technische Universitaet Berlin</organization>
> >         </developer>
> >     </developers>
> >
> >     <contributors>
> >         <contributor>
> >             <name>Maybe You</name>
> >             <email>[EMAIL PROTECTED]</email>
> >             <organization>Your Organisation</organization>
> >         </contributor>
> >     </contributors>
> >
> >     <dependencies>
> >         <dependency>
> >             <groupId>icu4j</groupId>
> >             <artifactId>icu4j</artifactId>
> >             <version>x</version>
> >             <jar>icu4j.jar</jar>
> >             <url>http://www-124.ibm.com/icu4j/</url>
> >         </dependency>
> >         <dependency>
> >             <groupId>jaxen</groupId>
> >             <artifactId>jaxen</artifactId>
> >             <version>x</version>
> >             <jar>jaxen-1.0-FCS-full.jar</jar>
> >             <url>http://jaxen.sourceforge.net/</url>
> >         </dependency>
> >         <dependency>
> >             <groupId>jdom</groupId>
> >             <artifactId>jdom</artifactId>
> >             <version>x</version>
> >             <jar>jdom.jar</jar>
> >             <url>http://www.jdom.org</url>
> >         </dependency>
> >         <dependency>
> >             <groupId>jena</groupId>
> >             <artifactId>jena</artifactId>
> >             <version>x</version>
> >             <jar>jena.jar</jar>
> >             <url>http://jena.sourceforge.net</url>
> >         </dependency>
> >         <dependency>
> >             <groupId>jess</groupId>
> >             <artifactId>jess</artifactId>
> >             <version>x</version>
> >             <jar>jess.jar</jar>
> >             <url>http://herzberg.ca.sandia.gov/jess</url>
> >         </dependency>
> >         <dependency>
> >             <groupId>log4j</groupId>
> >             <artifactId>log4j</artifactId>
> >             <version>x</version>
> >             <url>http://logging.apache.org/log4j/docs/index.html</url>
> >         </dependency>
> >         <dependency>
> >             <groupId>owljesskb</groupId>
> >             <artifactId>owljesskb</artifactId>
> >             <version>x</version>
> >             <jar>owljesskb20040223.jar</jar>
> >             <url>http://edge.cs.drexel.edu/assemblies/software/owljesskb
> > </url>
> >         </dependency>
> >         <dependency>
> >             <groupId>saxpath</groupId>
> >             <artifactId>saxpath</artifactId>
> >             <version>x</version>
> >             <jar>saxpath-1.0-FCS.jar</jar>
> >             <url>http://saxpath.sourceforge.net/</url>
> >         </dependency>
> >         <dependency>
> >             <groupId>xerces</groupId>
> >             <artifactId>xercesImpl</artifactId>
> >             <version>x</version>
> >             <url>http://xml.apache.org/</url>
> >         </dependency>
> >     </dependencies>
> >     <build>
> >         <sourceDirectory> C:/matchmaker/src/java</sourceDirectory>
> >         <resources>
> >             <resource>
> >                 <directory>C:/matchmaker/src/java</directory>
> >                 <includes>
> >                     <include>**/*.png</include>
> >                     <include>**/*.gif</include>
> >                 </includes>
> >             </resource>
> >         </resources>
> >
> >     </build>
> >     <reports>
> >         <report>maven-jdepend-plugin</report>
> >         <report>maven-changes-plugin</report>
> >         <report>maven-license-plugin</report>
> >         <report>maven-javadoc-plugin</report>
> >         <report>maven-jxr-plugin</report>
> >         <report>maven-junit-report-plugin</report>
> >         <report>maven-linkcheck-plugin</report>
> >         <report>maven-tasklist-plugin</report>
> >     </reports>
> > </project>
> >
> > thanks again
> >
> > Charlie
> >
> > On 11/29/05, Jesse McConnell < [EMAIL PROTECTED]> wrote:
> > >
> > >
> > > org.codehaus.plexus.component.configurator.ComponentConfigurationException
> > > :
> > > Class 'java.util.List' cannot be instantiated
> > >        at
> > >
> > > that indicates that it is trying to make a List, when it needs to be
> > > making
> > > an ArrayList in a mojo..are you using an implemenation="java.util.List
> > > "
> > > attribute in a plugin configuration somewhere?
> > >
> > > could you paste the relevant portion of the pom.xml?  and you meant
> > > pom.xmland not
> > > project.xml below, right?
> > >
> > > jesse
> > >
> > >
> > > On 11/29/05, Charlie Abela <[EMAIL PROTECTED] > wrote:
> > > >
> > > > Hi I am new to Maven so this question might seem quite a non-problem
> > > :)
> > > >
> > > > anyways I have set the  PATH to M2_HOME  and installed maven
> > > correctly
> > > > since
> > > > executing the command M2 --version returns the correct version.
> > > > I have a project.xml with relative tagged info but when I try to
> > > execute
> > > > commands such as m2 compile of m2 java:compile an error is generated
> > > that
> > > > includes something of this sort:
> > > >
> > > >
> > > --------------------------------------------------------------------------
> > > > Diagnosis: Error configuring plugin for execution of
> > > 'resources:resources'
> > > > [INFO]
> > > >
> > > >
> > > ----------------------------------------------------------------------------
> > > > [ERROR] Cause:
> > > > org.apache.maven.plugin.MojoExecutionException: Error configuring
> > > plugin
> > > > for
> > > > execution of 'resources:resources'.
> > > >         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
> > > > DefaultPluginManager.java:335)
> > > >         at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (
> > > > DefaultLifecycleExecutor.java:479)
> > > >         at
> > > >
> > > >
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> > > > (DefaultLifecycleExecutor.java:452)
> > > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
> > > > (
> > > > DefaultLifecycleExecutor.java:438)
> > > >         at
> > > >
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
> > > (
> > > > DefaultLifecycleExecutor.java:273)
> > > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute (
> > > > DefaultLifecycleExecutor.java:131)
> > > >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java
> > > :186)
> > > >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:302)
> > > >         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: org.apache.maven.plugin.PluginConfigurationException:
> > > Unable to
> > > > parse the created DOM for plugin configuration
> > > >         at
> > > > org.apache.maven.plugin.DefaultPluginManager.populatePluginFields
> > > > ( DefaultPluginManager.java:1019)
> > > >         at
> > > org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(
> > > > DefaultPluginManager.java:515)
> > > >         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
> > > > DefaultPluginManager.java:330)
> > > >         ... 15 more
> > > > Caused by:
> > > >
> > > org.codehaus.plexus.component.configurator.ComponentConfigurationException
> > > > :
> > > > Class 'java.util.List' cannot be instantiated
> > > >         at
> > > >
> > > >
> > > org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter.instantiateObject
> > > > (AbstractConfigurationCo
> > > > rter.java:121)
> > > >         at
> > > >
> > > >
> > > org.codehaus.plexus.component.configurator.converters.composite.CollectionConverter.fromConfiguration
> > > > (CollectionConverter.java
> > > > )
> > > >         at
> > > >
> > > >
> > > org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.configure
> > > > (ComponentValueSetter.java:252)
> > > >         at
> > > >
> > > >
> > > org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.processConfiguration
> > > > (ObjectWithField
> > > > nverter.java :116)
> > > >         at
> > > >
> > > >
> > > org.codehaus.plexus.component.configurator.BasicComponentConfigurator.configureComponent
> > > > (BasicComponentConfigurator.java:55)
> > > >         at
> > > > org.apache.maven.plugin.DefaultPluginManager.populatePluginFields
> > > > (DefaultPluginManager.java:1014)
> > > >         ... 17 more
> > > > Caused by: java.lang.InstantiationException: java.util.List
> > > >         at java.lang.Class.newInstance0(Class.java:335)
> > > >         at java.lang.Class.newInstance(Class.java:303)
> > > >         at
> > > >
> > > >
> > > org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter.instantiateObject
> > > > (AbstractConfigurationCo
> > > > rter.java:111)
> > > >         ... 22 more
> > > > [INFO]
> > > >
> > > >
> > > ----------------------------------------------------------------------------
> > > > [INFO] Total time: 1 second
> > > > [INFO] Finished at: Tue Nov 29 22:24:50 CET 2005
> > > > [INFO] Final Memory: 2M/5M
> > > > [INFO]
> > > >
> > > >
> > > ----------------------------------------------------------------------------
> > > >
> > > > can someone help me out?
> > > > Am I doing something wrong here?
> > > >
> > > > Thanks in advance
> > > >
> > > > Charlie
> > > >
> > > >
> > >
> > >
> > > --
> > > jesse mcconnell
> > >
> > >
> >
>
>
> --
> jesse mcconnell
> jesseDOTmcconnellATgmailDOTcom




--
jesse mcconnell
jesseDOTmcconnellATgmailDOTcom

Reply via email to