hi guys,
i'm trying to compile the froge's source code, but every time i get
this excpetions.
i'm using maven 3.0.3
forge 1.0.0.beta1
jdk 1.6
any one have an idea about this?
realm = plugin>org.apache.maven.plugins:maven-antrun-plugin:1.6
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] =
file:/C:/Users/abenhmida/.m2/repository/org/apache/maven/plugins/maven-antrun-plugin/1.6/maven-antrun-plugin-1.6.jar
urls[1] =
file:/C:/Users/abenhmida/.m2/repository/org/jboss/jandex/1.0.3.Final/jandex-1.0.3.Final.jar
urls[2] =
file:/C:/Users/abenhmida/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.1/plexus-interpolation-1.1.jar
urls[3] = file:/C:/Users/abenhmida/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
urls[4] =
file:/C:/Users/abenhmida/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar
urls[5] =
file:/C:/Users/abenhmida/.m2/repository/org/apache/ant/ant-nodeps/1.8.1/ant-nodeps-1.8.1.jar
urls[6] = file:/C:/Users/abenhmida/.m2/repository/org/apache/ant/ant/1.8.1/ant-1.8.1.jar
urls[7] =
file:/C:/Users/abenhmida/.m2/repository/org/apache/ant/ant-launcher/1.8.1/ant-launcher-1.8.1.jar
Number of foreign imports: 1
import: Entry[import from realm
ClassRealm[project>org.jboss.forge:forge-parent:1.0.0-SNAPSHOT,
parent: ClassRealm[maven.api, parent: null]]]
-----------------------------------------------------
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.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:319)
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:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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
build-dist of goal
org.apache.maven.plugins:maven-antrun-plugin:1.6:run failed: A require
d class was missing while executing
org.apache.maven.plugins:maven-antrun-plugin:1.6:run:
org/apache/tools/ant/launch/Locator
-----------------------------------------------------
realm = plugin>org.apache.maven.plugins:maven-antrun-plugin:1.6
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] =
file:/C:/Users/abenhmida/.m2/repository/org/apache/maven/plugins/maven-antrun-plugin/1.6/maven-antrun-plugin-1.6.jar
urls[1] =
file:/C:/Users/abenhmida/.m2/repository/org/jboss/jandex/1.0.3.Final/jandex-1.0.3.Final.jar
urls[2] =
file:/C:/Users/abenhmida/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.1/plexus-interpolation-1.1.jar
urls[3] = file:/C:/Users/abenhmida/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
urls[4] =
file:/C:/Users/abenhmida/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar
urls[5] =
file:/C:/Users/abenhmida/.m2/repository/org/apache/ant/ant-nodeps/1.8.1/ant-nodeps-1.8.1.jar
urls[6] = file:/C:/Users/abenhmida/.m2/repository/org/apache/ant/ant/1.8.1/ant-1.8.1.jar
urls[7] =
file:/C:/Users/abenhmida/.m2/repository/org/apache/ant/ant-launcher/1.8.1/ant-launcher-1.8.1.jar
Number of foreign imports: 1
import: Entry[import from realm
ClassRealm[project>org.jboss.forge:forge-parent:1.0.0-SNAPSHOT,
parent: ClassRealm[maven.api, parent: null]]]
-----------------------------------------------------
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:127)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: org.apache.maven.plugin.PluginContainerException: A
required class was missing while executing
org.apache.maven.plugins:maven-antrun-plugin:1.6:run:
org/apache/tools/ant/launch/Locator
-----------------------------------------------------
realm = plugin>org.apache.maven.plugins:maven-antrun-plugin:1.6
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] =
file:/C:/Users/abenhmida/.m2/repository/org/apache/maven/plugins/maven-antrun-plugin/1.6/maven-antrun-plugin-1.6.jar
urls[1] =
file:/C:/Users/abenhmida/.m2/repository/org/jboss/jandex/1.0.3.Final/jandex-1.0.3.Final.jar
urls[2] =
file:/C:/Users/abenhmida/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.1/plexus-interpolation-1.1.jar
urls[3] = file:/C:/Users/abenhmida/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
urls[4] =
file:/C:/Users/abenhmida/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar
urls[5] =
file:/C:/Users/abenhmida/.m2/repository/org/apache/ant/ant-nodeps/1.8.1/ant-nodeps-1.8.1.jar
urls[6] = file:/C:/Users/abenhmida/.m2/repository/org/apache/ant/ant/1.8.1/ant-1.8.1.jar
urls[7] =
file:/C:/Users/abenhmida/.m2/repository/org/apache/ant/ant-launcher/1.8.1/ant-launcher-1.8.1.jar
Number of foreign imports: 1
import: Entry[import from realm
ClassRealm[project>org.jboss.forge:forge-parent:1.0.0-SNAPSHOT,
parent: ClassRealm[maven.api, parent: null]]]
-----------------------------------------------------
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:125)
... 20 more
Caused by: java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Locator
at org.apache.tools.ant.util.FileUtils.fromURI(FileUtils.java:1181)
at org.apache.tools.ant.Location.<init>(Location.java:90)
at org.apache.tools.ant.Location.<init>(Location.java:73)
at
org.apache.tools.ant.helper.ProjectHelper2$ProjectHandler.onStartElement(ProjectHelper2.java:719)
at
org.apache.tools.ant.helper.ProjectHelper2$RootHandler.startElement(ProjectHelper2.java:590)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400)
at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:297)
at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:177)
at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:82)
at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:227)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
Show replies by date