maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From debashish mukherjee <deba...@gmail.com>
Subject Getting Error in Maven
Date Fri, 30 Mar 2012 13:39:25 GMT
Hi,

I am using maven 3.0.4 on my windows 7 machine, while running mvn
jetty:run, I am facing these errors, please provide with some solution.

Apache Maven 3.0.4 (r1232337; 2012-01-17 14:14:56+0530)
Maven home: D:\softwares\apache-maven-3.0.4
Java version: 1.7.0, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from
D:\softwares\apache-maven-3.0.4\conf\settings.xml
[DEBUG] Reading user settings from C:\Users\deb\.m2\settings.xml
[DEBUG] Using local repository at C:\Users\deb\.m2\repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10 for
C:\Users\deb\.m2\repository
[INFO] Scanning for projects...
[DEBUG] Extension realms for project
com.mycompany:myproject:war:1.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging war from
ClassRealm[plexus.core, parent: null]
[DEBUG] Resolving plugin prefix jetty from [org.apache.maven.plugins,
org.codehaus.mojo]
[DEBUG] Resolved plugin prefix jetty to
org.mortbay.jetty:maven-jetty-plugin from POM
com.mycompany:myproject:war:1.0-SNAPSHOT
[DEBUG] === REACTOR BUILD PLAN
================================================
[DEBUG] Project: com.mycompany:myproject:war:1.0-SNAPSHOT
[DEBUG] Tasks:   [jetty:run]
[DEBUG] Style:   Regular
[DEBUG]
=======================================================================
[INFO]

[INFO]
------------------------------------------------------------------------
[INFO] Building AppFuse Struts 2 Application 1.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[DEBUG] Resolving plugin prefix jetty from [org.apache.maven.plugins,
org.codehaus.mojo]
[DEBUG] Resolved plugin prefix jetty to
org.mortbay.jetty:maven-jetty-plugin from POM
com.mycompany:myproject:war:1.0-SNAPSHOT
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources,
process-sources, generate-resources, process-resources, compile,
process-classes, generate-test-sources, process-test-sources,
generate-test-resources, process-test-resources, test-compile,
process-test-classes, test, prepare-package, package, pre-integration-test,
integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources,
process-sources, generate-resources, process-resources, compile,
process-classes, generate-test-sources, process-test-sources,
generate-test-resources, process-test-resources, test-compile,
process-test-classes, test, prepare-package, package, pre-integration-test,
integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources,
process-sources, generate-resources, process-resources, compile,
process-classes, generate-test-sources, process-test-sources,
generate-test-resources, process-test-resources, test-compile,
process-test-classes, test, prepare-package, package, pre-integration-test,
integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN
================================================
[DEBUG] Project:       com.mycompany:myproject:1.0-SNAPSHOT
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [runtime]
[DEBUG] Repositories (dependencies): [appfuse-snapshots (
http://oss.sonatype.org/content/repositories/appfuse-snapshots, snapshots),
central (http://repo.maven.apache.org/maven2, releases)]
[DEBUG] Repositories (plugins)     : [appfuse-snapshots (
http://oss.sonatype.org/content/repositories/appfuse-snapshots, snapshots),
central (http://repo.maven.apache.org/maven2, releases)]
[DEBUG] --- init fork of com.mycompany:myproject:1.0-SNAPSHOT for
org.mortbay.jetty:maven-jetty-plugin:6.1.26:run (default-cli) ---
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [compile, test]
[DEBUG]
-----------------------------------------------------------------------
[DEBUG] Goal:
 org.codehaus.mojo:native2ascii-maven-plugin:1.0-alpha-1:native2ascii
(native2ascii-utf8)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <dest
default-value="${project.build.directory}/native2ascii">target/resources</dest>
  <encoding>UTF8</encoding>
  <excludes>ApplicationResources.properties,
                                ApplicationResources_de*.properties,
                                ApplicationResources_fr*.properties,
                                ApplicationResources_nl*.properties,
                                ApplicationResources_pt*.properties,

ApplicationResources_es*.properties</excludes>
  <includes>ApplicationResources_*.properties</includes>
  <project>${project}</project>
  <src
default-value="${basedir}/src/main/native2ascii">myproject/src/main/resources</src>
</configuration>
[DEBUG]
-----------------------------------------------------------------------
[DEBUG] Goal:
 org.codehaus.mojo:native2ascii-maven-plugin:1.0-alpha-1:native2ascii
(native2ascii-8859_1)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <dest
default-value="${project.build.directory}/native2ascii">target/resources</dest>
  <encoding>8859_1</encoding>
  <includes>ApplicationResources.properties,
                                ApplicationResources_de.properties,
                                ApplicationResources_fr.properties,
                                ApplicationResources_nl.properties,
                                ApplicationResources_pt*.properties,

ApplicationResources_es*.properties</includes>
  <project>${project}</project>
  <src
default-value="${basedir}/src/main/native2ascii">myproject/src/main/resources</src>
</configuration>
[DEBUG]
-----------------------------------------------------------------------
[DEBUG] Goal:
 org.apache.maven.plugins:maven-resources-plugin:2.5:resources
(default-resources)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <buildFilters default-value="${project.build.filters}"/>
  <encoding
default-value="${project.build.sourceEncoding}">${encoding}</encoding>
  <escapeString>${maven.resources.escapeString}</escapeString>
  <escapeWindowsPaths
default-value="true">${maven.resources.escapeWindowsPaths}</escapeWindowsPaths>
  <includeEmptyDirs
default-value="false">${maven.resources.includeEmptyDirs}</includeEmptyDirs>
  <outputDirectory default-value="${project.build.outputDirectory}"/>
  <overwrite default-value="false">${maven.resources.overwrite}</overwrite>
  <project default-value="${project}"/>
  <resources default-value="${project.resources}"/>
  <session default-value="${session}"/>
  <supportMultiLineFiltering
default-value="false">${maven.resources.supportMultiLineFiltering}</supportMultiLineFiltering>
  <useBuildFilters default-value="true"/>
  <useDefaultDelimiters default-value="true"/>
</configuration>
[DEBUG]
-----------------------------------------------------------------------
[DEBUG] Goal:
 org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
(default-compile)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <basedir>${basedir}</basedir>
  <buildDirectory>${project.build.directory}</buildDirectory>
  <classpathElements>${project.compileClasspathElements}</classpathElements>
  <compileSourceRoots>${project.compileSourceRoots}</compileSourceRoots>
  <compilerId
default-value="javac">${maven.compiler.compilerId}</compilerId>
  <compilerVersion>${maven.compiler.compilerVersion}</compilerVersion>
  <debug default-value="true">${maven.compiler.debug}</debug>
  <encoding>${maven.compiler.encoding}</encoding>
  <executable>${maven.compiler.executable}</executable>
  <failOnError
default-value="true">${maven.compiler.failOnError}</failOnError>
  <fork default-value="false"/>
  <maxmem>${maven.compiler.maxmem}</maxmem>
  <meminitial>${maven.compiler.meminitial}</meminitial>
  <optimize default-value="false">${maven.compiler.optimize}</optimize>
  <outputDirectory>${project.build.outputDirectory}</outputDirectory>
  <outputFileName>${project.build.finalName}</outputFileName>
  <projectArtifact>${project.artifact}</projectArtifact>
  <showDeprecation
default-value="false">${maven.compiler.showDeprecation}</showDeprecation>
  <showWarnings
default-value="false">${maven.compiler.showWarnings}</showWarnings>
  <source>1.5</source>
  <staleMillis default-value="0">${lastModGranularityMs}</staleMillis>
  <target>1.5</target>
  <verbose default-value="false">${maven.compiler.verbose}</verbose>
</configuration>
[DEBUG]
-----------------------------------------------------------------------
[DEBUG] Goal:
 org.apache.maven.plugins:maven-resources-plugin:2.5:testResources
(default-testResources)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <buildFilters default-value="${project.build.filters}"/>
  <encoding
default-value="${project.build.sourceEncoding}">${encoding}</encoding>
  <escapeString>${maven.resources.escapeString}</escapeString>
  <escapeWindowsPaths
default-value="true">${maven.resources.escapeWindowsPaths}</escapeWindowsPaths>
  <includeEmptyDirs
default-value="false">${maven.resources.includeEmptyDirs}</includeEmptyDirs>
  <outputDirectory>${project.build.testOutputDirectory}</outputDirectory>
  <overwrite default-value="false">${maven.resources.overwrite}</overwrite>
  <project default-value="${project}"/>
  <resources>${project.testResources}</resources>
  <session default-value="${session}"/>
  <supportMultiLineFiltering
default-value="false">${maven.resources.supportMultiLineFiltering}</supportMultiLineFiltering>
  <useBuildFilters default-value="true"/>
  <useDefaultDelimiters default-value="true"/>
</configuration>
[DEBUG] --- init fork of com.mycompany:myproject:1.0-SNAPSHOT for
org.codehaus.mojo:hibernate3-maven-plugin:2.2:hbm2ddl (default) ---
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): []
[DEBUG]
-----------------------------------------------------------------------
[DEBUG] Goal:
 org.codehaus.mojo:native2ascii-maven-plugin:1.0-alpha-1:native2ascii
(native2ascii-utf8)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <dest
default-value="${project.build.directory}/native2ascii">target/resources</dest>
  <encoding>UTF8</encoding>
  <excludes>ApplicationResources.properties,
                                ApplicationResources_de*.properties,
                                ApplicationResources_fr*.properties,
                                ApplicationResources_nl*.properties,
                                ApplicationResources_pt*.properties,

ApplicationResources_es*.properties</excludes>
  <includes>ApplicationResources_*.properties</includes>
  <project>${project}</project>
  <src
default-value="${basedir}/src/main/native2ascii">myproject/src/main/resources</src>
</configuration>
[DEBUG]
-----------------------------------------------------------------------
[DEBUG] Goal:
 org.codehaus.mojo:native2ascii-maven-plugin:1.0-alpha-1:native2ascii
(native2ascii-8859_1)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <dest
default-value="${project.build.directory}/native2ascii">target/resources</dest>
  <encoding>8859_1</encoding>
  <includes>ApplicationResources.properties,
                                ApplicationResources_de.properties,
                                ApplicationResources_fr.properties,
                                ApplicationResources_nl.properties,
                                ApplicationResources_pt*.properties,

ApplicationResources_es*.properties</includes>
  <project>${project}</project>
  <src
default-value="${basedir}/src/main/native2ascii">myproject/src/main/resources</src>
</configuration>
[DEBUG]
-----------------------------------------------------------------------
[DEBUG] Goal:
 org.apache.maven.plugins:maven-resources-plugin:2.5:resources
(default-resources)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <buildFilters default-value="${project.build.filters}"/>
  <encoding
default-value="${project.build.sourceEncoding}">${encoding}</encoding>
  <escapeString>${maven.resources.escapeString}</escapeString>
  <escapeWindowsPaths
default-value="true">${maven.resources.escapeWindowsPaths}</escapeWindowsPaths>
  <includeEmptyDirs
default-value="false">${maven.resources.includeEmptyDirs}</includeEmptyDirs>
  <outputDirectory default-value="${project.build.outputDirectory}"/>
  <overwrite default-value="false">${maven.resources.overwrite}</overwrite>
  <project default-value="${project}"/>
  <resources default-value="${project.resources}"/>
  <session default-value="${session}"/>
  <supportMultiLineFiltering
default-value="false">${maven.resources.supportMultiLineFiltering}</supportMultiLineFiltering>
  <useBuildFilters default-value="true"/>
  <useDefaultDelimiters default-value="true"/>
</configuration>
[DEBUG] --- exit fork of com.mycompany:myproject:1.0-SNAPSHOT for
org.codehaus.mojo:hibernate3-maven-plugin:2.2:hbm2ddl (default) ---
[DEBUG]
-----------------------------------------------------------------------
[DEBUG] Goal:
 org.codehaus.mojo:hibernate3-maven-plugin:2.2:hbm2ddl (default)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <componentProperties>
    <drop>true</drop>
    <jdk5>true</jdk5>
    <propertyfile>target/classes/jdbc.properties</propertyfile>
    <skip>${skipTests}</skip>
  </componentProperties>
  <components>
    <component>
      <name>hbm2ddl</name>
      <implementation>annotationconfiguration</implementation>
    </component>
  </components>
  <project>${project}</project>
</configuration>
[DEBUG]
-----------------------------------------------------------------------
[DEBUG] Goal:
 org.apache.maven.plugins:maven-compiler-plugin:2.0.2:testCompile
(default-testCompile)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <basedir>${basedir}</basedir>
  <buildDirectory>${project.build.directory}</buildDirectory>
  <classpathElements>${project.testClasspathElements}</classpathElements>
  <compileSourceRoots>${project.testCompileSourceRoots}</compileSourceRoots>
  <compilerId
default-value="javac">${maven.compiler.compilerId}</compilerId>
  <compilerVersion>${maven.compiler.compilerVersion}</compilerVersion>
  <debug default-value="true">${maven.compiler.debug}</debug>
  <encoding>${maven.compiler.encoding}</encoding>
  <executable>${maven.compiler.executable}</executable>
  <failOnError
default-value="true">${maven.compiler.failOnError}</failOnError>
  <fork default-value="false"/>
  <maxmem>${maven.compiler.maxmem}</maxmem>
  <meminitial>${maven.compiler.meminitial}</meminitial>
  <optimize default-value="false">${maven.compiler.optimize}</optimize>
  <outputDirectory>${project.build.testOutputDirectory}</outputDirectory>
  <outputFileName>${project.build.finalName}</outputFileName>
  <showDeprecation
default-value="false">${maven.compiler.showDeprecation}</showDeprecation>
  <showWarnings
default-value="false">${maven.compiler.showWarnings}</showWarnings>
  <skip>${maven.test.skip}</skip>
  <source>1.5</source>
  <staleMillis default-value="0">${lastModGranularityMs}</staleMillis>
  <target>1.5</target>
  <verbose default-value="false">${maven.compiler.verbose}</verbose>
</configuration>
[DEBUG]
-----------------------------------------------------------------------
[DEBUG] Goal:
 org.codehaus.mojo:dbunit-maven-plugin:1.0-beta-3:operation (test-compile)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <dataTypeFactoryName
default-value="org.dbunit.dataset.datatype.DefaultDataTypeFactory">org.dbunit.ext.mysql.MySqlDataTypeFactory</dataTypeFactoryName>
  <datatypeWarning
default-value="false">${datatypeWarning}</datatypeWarning>
  <driver>com.mysql.jdbc.Driver</driver>
  <escapePattern>${escapePattern}</escapePattern>
  <format default-value="xml">${format}</format>
  <metadataHandlerName
default-value="org.dbunit.database.DefaultMetadataHandler">${metadataHandlerName}</metadataHandlerName>
  <password>${password}</password>
  <schema>${dbunit.schema}</schema>
  <settings>${settings}</settings>
  <settingsKey>${settingsKey}</settingsKey>
  <skip default-value="false">${skipTests}</skip>
  <skipOracleRecycleBinTables
default-value="false">${escapePattern}</skipOracleRecycleBinTables>
  <src>src/test/resources/sample-data.xml</src>
  <supportBatchStatement
default-value="false">${supportBatchStatement}</supportBatchStatement>
  <transaction default-value="false">true</transaction>
  <type>CLEAN_INSERT</type>

<url>jdbc:mysql://localhost/myproject?createDatabaseIfNotExist=true&amp;amp;useUnicode=true&amp;amp;characterEncoding=utf-8&amp;amp;autoReconnect=true</url>
  <useQualifiedTableNames
default-value="false">${useQualifiedTableNames}</useQualifiedTableNames>
  <username>root</username>
</configuration>
[DEBUG] --- exit fork of com.mycompany:myproject:1.0-SNAPSHOT for
org.mortbay.jetty:maven-jetty-plugin:6.1.26:run (default-cli) ---
[DEBUG]
-----------------------------------------------------------------------
[DEBUG] Goal:          org.mortbay.jetty:maven-jetty-plugin:6.1.26:run
(default-cli)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <classesDirectory>${project.build.outputDirectory}</classesDirectory>
  <contextPath>/</contextPath>
  <daemon default-value="false">${jetty.daemon}</daemon>
  <pluginArtifacts>${plugin.artifacts}</pluginArtifacts>
  <project>${executedProject}</project>
  <reload default-value="automatic">${jetty.reload}</reload>
  <scanIntervalSeconds default-value="0">3</scanIntervalSeconds>
  <scanTargetPatterns>
    <scanTargetPattern>
      <directory>myproject/src/main/webapp/WEB-INF</directory>
      <excludes>
        <exclude>**/*.jsp</exclude>
      </excludes>
      <includes>
        <include>**/*.properties</include>
        <include>**/*.xml</include>
      </includes>
    </scanTargetPattern>
  </scanTargetPatterns>
  <skip default-value="false">${jetty.skip}</skip>
  <systemPropertiesFile>${jetty.systemPropertiesFile}</systemPropertiesFile>

<testClassesDirectory>${project.build.testOutputDirectory}</testClassesDirectory>
  <tmpDirectory>${project.build.directory}/work</tmpDirectory>
  <useTestClasspath default-value="false"/>
  <webAppSourceDirectory>${basedir}/src/main/webapp</webAppSourceDirectory>
  <webXml>${maven.war.webxml}</webXml>
</configuration>
[DEBUG]
=======================================================================
[INFO]
[INFO] >>> maven-jetty-plugin:6.1.26:run (default-cli) @ myproject >>>
[DEBUG] com.mycompany:myproject:war:1.0-SNAPSHOT
[DEBUG]    org.appfuse:appfuse-web:pom:2.1.0:compile
[DEBUG]       org.appfuse:appfuse-service:jar:2.1.0:compile
[DEBUG]          velocity:velocity:jar:1.4:compile
[DEBUG]             velocity:velocity-dep:jar:1.4:runtime
[DEBUG]          org.apache.cxf:cxf-rt-frontend-jaxrs:jar:2.3.3:compile
[DEBUG]             org.apache.cxf:cxf-api:jar:2.3.3:compile
[DEBUG]                org.apache.neethi:neethi:jar:2.0.4:compile
[DEBUG]                   wsdl4j:wsdl4j:jar:1.6.2:compile
[DEBUG]                org.apache.cxf:cxf-common-schemas:jar:2.3.3:compile
[DEBUG]             org.apache.cxf:cxf-rt-core:jar:2.3.3:compile
[DEBUG]                com.sun.xml.bind:jaxb-impl:jar:2.1.13:compile
[DEBUG]
 org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.7.1:compile
[DEBUG]             javax.ws.rs:jsr311-api:jar:1.1.1:compile
[DEBUG]             org.apache.cxf:cxf-rt-bindings-xml:jar:2.3.3:compile
[DEBUG]             org.codehaus.jettison:jettison:jar:1.2:compile
[DEBUG]          org.codehaus.woodstox:woodstox-core-asl:jar:4.1.1:compile
[DEBUG]             javax.xml.stream:stax-api:jar:1.0-2:compile
[DEBUG]             org.codehaus.woodstox:stax2-api:jar:3.1.1:compile
[DEBUG]          org.apache.cxf:cxf-common-utilities:jar:2.3.3:compile
[DEBUG]             org.apache.ws.commons.schema:XmlSchema:jar:1.4.7:compile
[DEBUG]          org.apache.cxf:cxf-rt-transports-http:jar:2.3.3:compile
[DEBUG]
org.apache.cxf:cxf-rt-transports-common:jar:2.3.3:compile
[DEBUG]          org.apache.cxf:cxf-rt-frontend-jaxws:jar:2.3.3:compile
[DEBUG]             xml-resolver:xml-resolver:jar:1.2:compile
[DEBUG]             asm:asm:jar:3.3:compile
[DEBUG]             org.apache.cxf:cxf-rt-bindings-soap:jar:2.3.3:compile
[DEBUG]                org.apache.cxf:cxf-tools-common:jar:2.3.3:compile
[DEBUG]
 org.apache.cxf:cxf-rt-databinding-jaxb:jar:2.3.3:compile
[DEBUG]             org.apache.cxf:cxf-rt-frontend-simple:jar:2.3.3:compile
[DEBUG]             org.apache.cxf:cxf-rt-ws-addr:jar:2.3.3:compile
[DEBUG]          org.codehaus.jackson:jackson-jaxrs:jar:1.7.1:compile
[DEBUG]             org.codehaus.jackson:jackson-core-asl:jar:1.7.1:compile
[DEBUG]
org.codehaus.jackson:jackson-mapper-asl:jar:1.7.1:compile
[DEBUG]
 org.springframework:spring-aspects:jar:3.0.5.RELEASE:compile
[DEBUG]
 org.springframework:spring-context-support:jar:3.0.5.RELEASE:compile
[DEBUG]       commons-dbcp:commons-dbcp:jar:1.3:compile
[DEBUG]          commons-pool:commons-pool:jar:1.5.4:compile
[DEBUG]       org.directwebremoting:dwr:jar:2.0.3:compile
[DEBUG]       net.sf.ehcache:ehcache-web:jar:2.0.3:compile
[DEBUG]       javax.servlet:jstl:jar:1.1.2:compile
[DEBUG]       taglibs:standard:jar:1.1.2:compile
[DEBUG]       struts-menu:struts-menu:jar:2.4.3:compile
[DEBUG]          commons-digester:commons-digester:jar:1.7:compile
[DEBUG]          velocity-tools:velocity-tools-view:jar:1.0:compile
[DEBUG]       opensymphony:sitemesh:jar:2.4.2:compile
[DEBUG]       org.springframework:spring-aop:jar:3.0.5.RELEASE:compile
[DEBUG]          aopalliance:aopalliance:jar:1.0:compile
[DEBUG]          org.springframework:spring-asm:jar:3.0.5.RELEASE:compile
[DEBUG]          org.springframework:spring-beans:jar:3.0.5.RELEASE:compile
[DEBUG]          org.springframework:spring-core:jar:3.0.5.RELEASE:compile
[DEBUG]
org.springframework.security:spring-security-taglibs:jar:3.0.5.RELEASE:compile
[DEBUG]
 org.springframework.security:spring-security-web:jar:3.0.5.RELEASE:compile
[DEBUG]
 org.springframework.security:spring-security-acl:jar:3.0.5.RELEASE:compile
[DEBUG]       org.springframework:spring-webmvc:jar:3.0.5.RELEASE:compile
[DEBUG]
 org.springframework:spring-context:jar:3.0.5.RELEASE:compile
[DEBUG]
 org.springframework:spring-expression:jar:3.0.5.RELEASE:compile
[DEBUG]          org.springframework:spring-web:jar:3.0.5.RELEASE:compile
[DEBUG]       org.tuckey:urlrewritefilter:jar:3.1.0:compile
[DEBUG]       commons-lang:commons-lang:jar:2.6:compile
[DEBUG]
org.springframework.security:spring-security-core:jar:3.0.5.RELEASE:compile
[DEBUG]          org.springframework:spring-tx:jar:3.0.3.RELEASE:compile
[DEBUG]
org.springframework.security:spring-security-config:jar:3.0.5.RELEASE:compile
[DEBUG]       org.aspectj:aspectjweaver:jar:1.6.10:compile
[DEBUG]       org.aspectj:aspectjrt:jar:1.6.10:compile
[DEBUG]       org.slf4j:slf4j-api:jar:1.6.1:compile
[DEBUG]       org.slf4j:jcl-over-slf4j:jar:1.6.1:compile
[DEBUG]       org.slf4j:slf4j-log4j12:jar:1.6.1:compile
[DEBUG]       log4j:log4j:jar:1.2.16:compile
[DEBUG]    org.appfuse:appfuse-hibernate:jar:2.1.0:compile
[DEBUG]       org.appfuse:appfuse-data-common:jar:2.1.0:compile
[DEBUG]          org.hibernate.java-persistence:jpa-api:jar:2.0-cr-1:compile
[DEBUG]          javax.xml.bind:jaxb-api:jar:2.2:compile
[DEBUG]          org.compass-project:compass:jar:2.2.0:compile
[DEBUG]             org.apache.lucene:lucene-core:jar:2.4.1:compile
[DEBUG]       org.hibernate:hibernate-core:jar:3.6.1.Final:compile
[DEBUG]          antlr:antlr:jar:2.7.6:compile
[DEBUG]          dom4j:dom4j:jar:1.6.1:compile
[DEBUG]
 org.hibernate:hibernate-commons-annotations:jar:3.2.0.Final:compile
[DEBUG]
 org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.0.Final:compile
[DEBUG]          javax.transaction:jta:jar:1.1:compile
[DEBUG]       javassist:javassist:jar:3.12.1.GA:compile
[DEBUG]       org.hibernate:hibernate-ehcache:jar:3.6.1.Final:compile
[DEBUG]       net.sf.ehcache:ehcache-core:jar:2.3.1:compile
[DEBUG]       commons-beanutils:commons-beanutils:jar:1.8.3:compile
[DEBUG]       org.springframework:spring-jdbc:jar:3.0.5.RELEASE:compile
[DEBUG]       org.springframework:spring-orm:jar:3.0.5.RELEASE:compile
[DEBUG]    mysql:mysql-connector-java:jar:5.1.14:compile
[DEBUG]    displaytag:displaytag:jar:1.2:compile
[DEBUG]       commons-collections:commons-collections:jar:3.1:compile
[DEBUG]       com.lowagie:itext:jar:1.3:compile
[DEBUG]    javax.servlet:servlet-api:jar:2.5:provided
[DEBUG]    javax.servlet.jsp:jsp-api:jar:2.1:provided
[DEBUG]    org.apache.struts:struts2-core:jar:2.1.8:compile
[DEBUG]       com.opensymphony:xwork-core:jar:2.1.6:compile
[DEBUG]       org.freemarker:freemarker:jar:2.3.15:compile
[DEBUG]       ognl:ognl:jar:2.7.3:compile
[DEBUG]    org.apache.struts:struts2-convention-plugin:jar:2.1.8:compile
[DEBUG]    org.apache.struts:struts2-spring-plugin:jar:2.1.8:compile
[DEBUG]    commons-fileupload:commons-fileupload:jar:1.2.1:compile
[DEBUG]    commons-io:commons-io:jar:2.0.1:compile
[DEBUG]    org.jmock:jmock:jar:2.5.1:test
[DEBUG]       org.hamcrest:hamcrest-core:jar:1.1:test
[DEBUG]       org.hamcrest:hamcrest-library:jar:1.1:test
[DEBUG]    org.jmock:jmock-junit4:jar:2.5.1:test
[DEBUG]    junit:junit-dep:jar:4.5:test
[DEBUG]    junit:junit:jar:4.8.2:test
[DEBUG]    org.springframework:spring-test:jar:3.0.5.RELEASE:test
[DEBUG]    org.subethamail:subethasmtp-wiser:jar:1.2:test
[DEBUG]       org.subethamail:subethasmtp-smtp:jar:1.2:test
[DEBUG]       commons-logging:commons-logging:jar:1.1:compile
[DEBUG]          logkit:logkit:jar:1.0.1:compile
[DEBUG]          avalon-framework:avalon-framework:jar:4.1.3:compile
[DEBUG]       javax.mail:mail:jar:1.4:compile
[DEBUG]          javax.activation:activation:jar:1.1:compile
[INFO]
[INFO] --- native2ascii-maven-plugin:1.0-alpha-1:native2ascii
(native2ascii-utf8) @ myproject ---
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG]   Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG]   Imported: org.sonatype.aether.transfer < plexus.core
[DEBUG]   Imported: org.apache.maven.exception < plexus.core
[DEBUG]   Imported: org.sonatype.aether.metadata < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG]   Imported: org.sonatype.aether.collection < plexus.core
[DEBUG]   Imported: org.sonatype.aether.version < plexus.core
[DEBUG]   Imported: org.apache.maven.monitor < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG]   Imported: org.apache.maven.profiles < plexus.core
[DEBUG]   Imported: org.sonatype.aether.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.classrealm < plexus.core
[DEBUG]   Imported: org.apache.maven.execution < plexus.core
[DEBUG]   Imported: org.sonatype.aether.artifact < plexus.core
[DEBUG]   Imported: org.sonatype.aether.spi < plexus.core
[DEBUG]   Imported: org.apache.maven.reporting < plexus.core
[DEBUG]   Imported: org.apache.maven.usability < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.container < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.component < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer <
plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG]   Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG]   Imported: org.sonatype.aether.graph < plexus.core
[DEBUG]   Imported: org.sonatype.aether.* < plexus.core
[DEBUG]   Imported: org.apache.maven.settings < plexus.core
[DEBUG]   Imported: org.codehaus.classworlds < plexus.core
[DEBUG]   Imported: org.sonatype.aether.impl < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG]   Imported: org.apache.maven.toolchain < plexus.core
[DEBUG]   Imported: org.sonatype.aether.deployment < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG]   Imported:
org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser <
plexus.core
[DEBUG]   Imported: org.apache.maven.configuration < plexus.core
[DEBUG]   Imported: org.apache.maven.cli < plexus.core
[DEBUG]   Imported: org.sonatype.aether.installation < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.context < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG]   Imported: org.apache.maven.project < plexus.core
[DEBUG]   Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG]   Imported: org.apache.maven.artifact < plexus.core
[DEBUG]   Imported: org.apache.maven.model < plexus.core
[DEBUG]   Imported: org.apache.maven.* < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG]   Imported: org.sonatype.aether.resolution < plexus.core
[DEBUG]   Imported: org.apache.maven.plugin < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.* < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG] Populating class realm maven.api
[DEBUG] org.codehaus.mojo:native2ascii-maven-plugin:jar:1.0-alpha-1:
[DEBUG]    org.apache.maven:maven-project:jar:2.0:compile
[DEBUG]       org.apache.maven:maven-profile:jar:2.0:compile
[DEBUG]       org.apache.maven:maven-model:jar:2.0:compile
[DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.0:compile
[DEBUG]          org.apache.maven:maven-repository-metadata:jar:2.0:compile
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.0.4:compile
[DEBUG]       org.apache.maven:maven-artifact:jar:2.0:compile
[DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:compile
[DEBUG]          junit:junit:jar:3.8.1:compile
[DEBUG]          classworlds:classworlds:jar:1.1-alpha-2:compile
[DEBUG]    org.apache.ant:ant-nodeps:jar:1.7.0:compile
[DEBUG]    org.apache.ant:ant:jar:1.7.0:compile
[DEBUG]       org.apache.ant:ant-launcher:jar:1.7.0:compile
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0:compile
[DEBUG] Created new class realm
plugin>org.codehaus.mojo:native2ascii-maven-plugin:1.0-alpha-1
[DEBUG] Importing foreign packages into class realm
plugin>org.codehaus.mojo:native2ascii-maven-plugin:1.0-alpha-1
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm
plugin>org.codehaus.mojo:native2ascii-maven-plugin:1.0-alpha-1
[DEBUG]   Included:
org.codehaus.mojo:native2ascii-maven-plugin:jar:1.0-alpha-1
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG]   Included: junit:junit:jar:3.8.1
[DEBUG]   Included: org.apache.ant:ant-nodeps:jar:1.7.0
[DEBUG]   Included: org.apache.ant:ant:jar:1.7.0
[DEBUG]   Included: org.apache.ant:ant-launcher:jar:1.7.0
[DEBUG]   Excluded: org.apache.maven:maven-project:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-profile:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-model:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-artifact-manager:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-repository-metadata:jar:2.0
[DEBUG]   Excluded: org.apache.maven:maven-artifact:jar:2.0
[DEBUG]   Excluded:
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG]   Excluded: classworlds:classworlds:jar:1.1-alpha-2
[DEBUG]   Excluded: org.apache.maven:maven-plugin-api:jar:2.0
[DEBUG] Configuring mojo
org.codehaus.mojo:native2ascii-maven-plugin:1.0-alpha-1:native2ascii from
plugin realm
ClassRealm[plugin>org.codehaus.mojo:native2ascii-maven-plugin:1.0-alpha-1,
parent: sun.misc.Launcher$AppClassLoader@2a340e]
[DEBUG] Configuring mojo
'org.codehaus.mojo:native2ascii-maven-plugin:1.0-alpha-1:native2ascii' with
basic configurator -->
[DEBUG]   (f) dest = D:\softwares\apache-maven-3.0.4\bin\target\resources
[DEBUG]   (f) encoding = UTF8
[DEBUG]   (f) excludes = ApplicationResources.properties,
                                ApplicationResources_de*.properties,
                                ApplicationResources_fr*.properties,
                                ApplicationResources_nl*.properties,
                                ApplicationResources_pt*.properties,
                                ApplicationResources_es*.properties
[DEBUG]   (f) includes = ApplicationResources_*.properties
[DEBUG]   (f) project = MavenProject: com.mycompany:myproject:1.0-SNAPSHOT
@ D:\softwares\apache-maven-3.0.4\bin\pom.xml
[DEBUG]   (f) src =
D:\softwares\apache-maven-3.0.4\bin\myproject\src\main\resources
[DEBUG] -- end configuration --
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1.903s
[INFO] Finished at: Fri Mar 23 23:01:51 IST 2012
[INFO] Final Memory: 6M/16M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.codehaus.mojo:native2ascii-maven-plugin:1.0-alpha-1:native2ascii
(native2ascii-utf8) on project myproject: Execution native2ascii-utf8 of
goal org.codehaus.mojo:native2ascii-maven-plugin:1.0-alpha-1:native2ascii
failed: Error starting Sun's native2ascii: sun.tools.native2ascii.Main ->
[Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.codehaus.mojo:native2ascii-maven-plugin:1.0-alpha-1:native2ascii
(native2ascii-utf8) on project myproject: Execution native2ascii-utf8 of
goal org.codehaus.mojo:native2ascii-maven-plugin:1.0-alpha-1:native2ascii
failed: Error starting Sun's native2ascii:
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions(MojoExecutor.java:365)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution
native2ascii-utf8 of goal
org.codehaus.mojo:native2ascii-maven-plugin:1.0-alpha-1:native2ascii
failed: Error starting Sun's native2ascii:
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 23 more
Caused by: Error starting Sun's native2ascii:
at
org.apache.tools.ant.taskdefs.optional.native2ascii.SunNative2Ascii.run(SunNative2Ascii.java:67)
at
org.apache.tools.ant.taskdefs.optional.native2ascii.DefaultNative2Ascii.convert(DefaultNative2Ascii.java:54)
at
org.apache.tools.ant.taskdefs.optional.Native2Ascii.convert(Native2Ascii.java:268)
at
org.apache.tools.ant.taskdefs.optional.Native2Ascii.execute(Native2Ascii.java:227)
at
org.codehaus.mojo.native2ascii.Native2AsciiMojo.executeAnt(Native2AsciiMojo.java:115)
at
org.codehaus.mojo.native2ascii.Native2AsciiMojo.execute(Native2AsciiMojo.java:92)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
... 24 more
Caused by: java.lang.ClassNotFoundException: sun.tools.native2ascii.Main
at
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
at
org.apache.tools.ant.taskdefs.optional.native2ascii.SunNative2Ascii.run(SunNative2Ascii.java:51)
... 30 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message