debezium-kubernetes not able to build the project - debezium

I am trying to follow instructions mentioned on below page. However, getting error while building the package.
https://debezium.io/blog/2016/05/31/Debezium-on-Kubernetes/
would someone please let me know how to install Debezium on kubernates
Error
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.fabric8:fabric8-maven-plugin:2.2.115:json (json) on project mysql56: Execution json of goal io.fabric8:fabric8-maven-plugin:2.2.115:json failed: A required class was missing while executing io.fabric8:fabric8-maven-plugin:2.2.115:json: javax/xml/bind/ValidationException
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>io.fabric8:fabric8-maven-plugin:2.2.115
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/Users/fki/.m2/repository/io/fabric8/fabric8-maven-plugin/2.2.115/fabric8-maven-plugin-2.2.115.jar
[ERROR] urls[1] = file:/C:/Users/fki/.m2/repository/org/sonatype/aether/aether-util/1.13.1/aether-util-1.13.1.jar
[ERROR] urls[2] = file:/C:/Users/fki/.m2/repository/org/sonatype/sisu/sisu-inject-bean/2.3.0/sisu-inject-bean-2.3.0.jar
[ERROR] urls[3] = file:/C:/Users/fki/.m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar
[ERROR] urls[4] = file:/C:/Users/fki/.m2/repository/org/sonatype/sisu/sisu-guava/0.9.9/sisu-guava-0.9.9.jar
[ERROR] urls[5] = file:/C:/Users/fki/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
[ERROR] urls[6] = file:/C:/Users/fki/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
[ERROR] urls[7] = file:/C:/Users/fki/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[ERROR] urls[8] = file:/C:/Users/fki/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] urls[9] = file:/C:/Users/fki/.m2/repository/io/fabric8/kubernetes-api/2.2.115/kubernetes-api-2.2.115.jar
[ERROR] urls[10] = file:/C:/Users/fki/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar
[ERROR] urls[11] = file:/C:/Users/fki/.m2/repository/io/fabric8/openshift-client/1.3.82/openshift-client-1.3.82.jar
[ERROR] urls[12] = file:/C:/Users/fki/.m2/repository/io/fabric8/kubernetes-client/1.3.82/kubernetes-client-1.3.82.jar
[ERROR] urls[13] = file:/C:/Users/fki/.m2/repository/io/fabric8/kubernetes-model/1.0.45/kubernetes-model-1.0.45.jar
[ERROR] urls[14] = file:/C:/Users/fki/.m2/repository/com/squareup/okhttp/okhttp/2.7.2/okhttp-2.7.2.jar
[ERROR] urls[15] = file:/C:/Users/fki/.m2/repository/com/squareup/okio/okio/1.6.0/okio-1.6.0.jar
[ERROR] urls[16] = file:/C:/Users/fki/.m2/repository/com/squareup/okhttp/logging-interceptor/2.7.2/logging-interceptor-2.7.2.jar
[ERROR] urls[17] = file:/C:/Users/fki/.m2/repository/com/squareup/okhttp/okhttp-ws/2.7.2/okhttp-ws-2.7.2.jar
[ERROR] urls[18] = file:/C:/Users/fki/.m2/repository/org/slf4j/jul-to-slf4j/1.7.12/jul-to-slf4j-1.7.12.jar
[ERROR] urls[19] = file:/C:/Users/fki/.m2/repository/com/github/mifmif/generex/0.0.4/generex-0.0.4.jar
[ERROR] urls[20] = file:/C:/Users/fki/.m2/repository/dk/brics/automaton/automaton/1.11-8/automaton-1.11-8.jar
[ERROR] urls[21] = file:/C:/Users/fki/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.6.4/jackson-dataformat-yaml-2.6.4.jar
[ERROR] urls[22] = file:/C:/Users/fki/.m2/repository/org/yaml/snakeyaml/1.17/snakeyaml-1.17.jar
[ERROR] urls[23] = file:/C:/Users/fki/.m2/repository/org/json/json/20160212/json-20160212.jar
[ERROR] urls[24] = file:/C:/Users/fki/.m2/repository/dnsjava/dnsjava/2.1.7/dnsjava-2.1.7.jar
[ERROR] urls[25] = file:/C:/Users/fki/.m2/repository/io/fabric8/fabric8-devops-connector/2.2.115/fabric8-devops-connector-2.2.115.jar
[ERROR] urls[26] = file:/C:/Users/fki/.m2/repository/io/fabric8/fabric8-devops/2.2.115/fabric8-devops-2.2.115.jar
[ERROR] urls[27] = file:/C:/Users/fki/.m2/repository/org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.jar
[ERROR] urls[28] = file:/C:/Users/fki/.m2/repository/org/apache/httpcomponents/httpcore/4.4.4/httpcore-4.4.4.jar
[ERROR] urls[29] = file:/C:/Users/fki/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
[ERROR] urls[30] = file:/C:/Users/fki/.m2/repository/commons-codec/commons-codec/1.10/commons-codec-1.10.jar
[ERROR] urls[31] = file:/C:/Users/fki/.m2/repository/io/fabric8/letschat-api/2.2.115/letschat-api-2.2.115.jar
[ERROR] urls[32] = file:/C:/Users/fki/.m2/repository/io/fabric8/taiga-api/2.2.115/taiga-api-2.2.115.jar
[ERROR] urls[33] = file:/C:/Users/fki/.m2/repository/io/fabric8/gitrepo-api/2.2.115/gitrepo-api-2.2.115.jar
[ERROR] urls[34] = file:/C:/Users/fki/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.6.4/jackson-core-2.6.4.jar
[ERROR] urls[35] = file:/C:/Users/fki/.m2/repository/org/slf4j/slf4j-log4j12/1.7.12/slf4j-log4j12-1.7.12.jar
[ERROR] urls[36] = file:/C:/Users/fki/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar
[ERROR] urls[37] = file:/C:/Users/fki/.m2/repository/io/fabric8/gerrit-api/2.2.115/gerrit-api-2.2.115.jar
[ERROR] urls[38] = file:/C:/Users/fki/.m2/repository/io/fabric8/cxf-utils/2.2.115/cxf-utils-2.2.115.jar
[ERROR] urls[39] = file:/C:/Users/fki/.m2/repository/net/oauth/core/oauth/20100527/oauth-20100527.jar
[ERROR] urls[40] = file:/C:/Users/fki/.m2/repository/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.6.4/jackson-module-jaxb-annotations-2.6.4.jar
[ERROR] urls[41] = file:/C:/Users/fki/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.6.4/jackson-databind-2.6.4.jar
[ERROR] urls[42] = file:/C:/Users/fki/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.6.4/jackson-annotations-2.6.4.jar
[ERROR] urls[43] = file:/C:/Users/fki/.m2/repository/com/fasterxml/jackson/jaxrs/jackson-jaxrs-json-provider/2.6.4/jackson-jaxrs-json-provider-2.6.4.jar
[ERROR] urls[44] = file:/C:/Users/fki/.m2/repository/com/fasterxml/jackson/jaxrs/jackson-jaxrs-base/2.7.2/jackson-jaxrs-base-2.7.2.jar
[ERROR] urls[45] = file:/C:/Users/fki/.m2/repository/org/apache/cxf/cxf-rt-rs-client/3.1.4/cxf-rt-rs-client-3.1.4.jar
[ERROR] urls[46] = file:/C:/Users/fki/.m2/repository/org/apache/cxf/cxf-rt-transports-http/3.1.4/cxf-rt-transports-http-3.1.4.jar
[ERROR] urls[47] = file:/C:/Users/fki/.m2/repository/org/apache/cxf/cxf-core/3.1.4/cxf-core-3.1.4.jar
[ERROR] urls[48] = file:/C:/Users/fki/.m2/repository/org/codehaus/woodstox/woodstox-core-asl/4.4.1/woodstox-core-asl-4.4.1.jar
[ERROR] urls[49] = file:/C:/Users/fki/.m2/repository/org/codehaus/woodstox/stax2-api/3.1.4/stax2-api-3.1.4.jar
[ERROR] urls[50] = file:/C:/Users/fki/.m2/repository/org/apache/ws/xmlschema/xmlschema-core/2.2.1/xmlschema-core-2.2.1.jar
[ERROR] urls[51] = file:/C:/Users/fki/.m2/repository/org/apache/cxf/cxf-rt-frontend-jaxrs/3.1.4/cxf-rt-frontend-jaxrs-3.1.4.jar
[ERROR] urls[52] = file:/C:/Users/fki/.m2/repository/javax/ws/rs/javax.ws.rs-api/2.0.1/javax.ws.rs-api-2.0.1.jar
[ERROR] urls[53] = file:/C:/Users/fki/.m2/repository/org/hibernate/hibernate-validator/5.2.4.Final/hibernate-validator-5.2.4.Final.jar
[ERROR] urls[54] = file:/C:/Users/fki/.m2/repository/org/jboss/logging/jboss-logging/3.2.1.Final/jboss-logging-3.2.1.Final.jar
[ERROR] urls[55] = file:/C:/Users/fki/.m2/repository/com/fasterxml/classmate/1.1.0/classmate-1.1.0.jar
[ERROR] urls[56] = file:/C:/Users/fki/.m2/repository/javax/el/javax.el-api/2.2.5/javax.el-api-2.2.5.jar
[ERROR] urls[57] = file:/C:/Users/fki/.m2/repository/org/glassfish/web/javax.el/2.2.5/javax.el-2.2.5.jar
[ERROR] urls[58] = file:/C:/Users/fki/.m2/repository/io/fabric8/fabric8-utils/2.2.115/fabric8-utils-2.2.115.jar
[ERROR] urls[59] = file:/C:/Users/fki/.m2/repository/org/jolokia/jolokia-client-java/1.3.3/jolokia-client-java-1.3.3.jar
[ERROR] urls[60] = file:/C:/Users/fki/.m2/repository/com/googlecode/json-simple/json-simple/1.1.1/json-simple-1.1.1.jar
[ERROR] urls[61] = file:/C:/Users/fki/.m2/repository/org/apache/httpcomponents/httpclient-osgi/4.3.3/httpclient-osgi-4.3.3.jar
[ERROR] urls[62] = file:/C:/Users/fki/.m2/repository/org/eclipse/jgit/org.eclipse.jgit/4.3.0.201604071810-r/org.eclipse.jgit-4.3.0.201604071810-r.jar
[ERROR] urls[63] = file:/C:/Users/fki/.m2/repository/com/jcraft/jsch/0.1.53/jsch-0.1.53.jar
[ERROR] urls[64] = file:/C:/Users/fki/.m2/repository/com/googlecode/javaewah/JavaEWAH/0.7.9/JavaEWAH-0.7.9.jar
[ERROR] urls[65] = file:/C:/Users/fki/.m2/repository/com/jcraft/jsch.agentproxy.jsch/0.0.9/jsch.agentproxy.jsch-0.0.9.jar
[ERROR] urls[66] = file:/C:/Users/fki/.m2/repository/com/jcraft/jsch.agentproxy.core/0.0.9/jsch.agentproxy.core-0.0.9.jar
[ERROR] urls[67] = file:/C:/Users/fki/.m2/repository/com/jcraft/jsch.agentproxy.connector-factory/0.0.9/jsch.agentproxy.connector-factory-0.0.9.jar
[ERROR] urls[68] = file:/C:/Users/fki/.m2/repository/com/jcraft/jsch.agentproxy.usocket-jna/0.0.9/jsch.agentproxy.usocket-jna-0.0.9.jar
[ERROR] urls[69] = file:/C:/Users/fki/.m2/repository/net/java/dev/jna/jna/4.1.0/jna-4.1.0.jar
[ERROR] urls[70] = file:/C:/Users/fki/.m2/repository/net/java/dev/jna/jna-platform/4.1.0/jna-platform-4.1.0.jar
[ERROR] urls[71] = file:/C:/Users/fki/.m2/repository/com/jcraft/jsch.agentproxy.usocket-nc/0.0.9/jsch.agentproxy.usocket-nc-0.0.9.jar
[ERROR] urls[72] = file:/C:/Users/fki/.m2/repository/com/jcraft/jsch.agentproxy.sshagent/0.0.9/jsch.agentproxy.sshagent-0.0.9.jar
[ERROR] urls[73] = file:/C:/Users/fki/.m2/repository/com/jcraft/jsch.agentproxy.pageant/0.0.9/jsch.agentproxy.pageant-0.0.9.jar
[ERROR] urls[74] = file:/C:/Users/fki/.m2/repository/org/apache/maven/shared/maven-dependency-analyzer/1.4/maven-dependency-analyzer-1.4.jar
[ERROR] urls[75] = file:/C:/Users/fki/.m2/repository/asm/asm/3.3.1/asm-3.3.1.jar
[ERROR] urls[76] = file:/C:/Users/fki/.m2/repository/org/apache/maven/shared/maven-dependency-tree/2.1/maven-dependency-tree-2.1.jar
[ERROR] urls[77] = file:/C:/Users/fki/.m2/repository/org/eclipse/aether/aether-util/1.0.0.v20140518/aether-util-1.0.0.v20140518.jar
[ERROR] urls[78] = file:/C:/Users/fki/.m2/repository/org/apache/maven/shared/maven-invoker/2.0.11/maven-invoker-2.0.11.jar
[ERROR] urls[79] = file:/C:/Users/fki/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.1/plexus-utils-3.0.1.jar
[ERROR] urls[80] = file:/C:/Users/fki/.m2/repository/junit/junit/4.12/junit-4.12.jar
[ERROR] urls[81] = file:/C:/Users/fki/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR] : javax.xml.bind.ValidationException
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[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/PluginContainerException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :mysql56

I had the same issue and resolved the problem with the following changes in the main pom.xml file:
<properties>
<fabric8.version>2.2.217</fabric8.version>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<docker.maven.plugin.version>0.15.1</docker.maven.plugin.version>
</properties>
Set fabric8.version to the latest 2.2.x and set the default compiler version to Java 1.8.

Related

AOP is failing while build sbt assembly

I am trying to build sbt code. I am using sbt assembly but it is breaking at Aop. Used following MergeStragegy for Aop
Following is the error log
<!DOCTYPE aspectj PUBLIC "-//AspectJ//DTD//EN" "http://www.eclipse.org/aspectj/dtd/aspectj.dtd">
/home/puneet/repo/target/streams/_global/assemblyOption/_global/streams/assembly/sbtMergeTarget-e2e021ed2f7893685f6d16c35a11a6d2dcda6205.tmp[error] org.xml.sax.SAXParseExceptionpublicId: -//AspectJ//DTD//EN; systemId: http://www.eclipse.org/aspectj/dtd/aspectj.dtd; lineNumber: 1; columnNumber: 2; The markup declarations contained or pointed to by the document type declaration must be well-formed.
[error] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
[error] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
[error] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
[error] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
[error] at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1473)
[error] at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.scanDecls(XMLDTDScannerImpl.java:2044)
[error] at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.scanDTDExternalSubset(XMLDTDScannerImpl.java:307)
[error] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java:1174)
[error] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:1045)
[error] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:959)
[error] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
[error] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
[error] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
[error] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
[error] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
[error] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
[error] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
[error] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:327)
[error] at scala.xml.factory.XMLLoader.loadXML(XMLLoader.scala:41)
[error] at scala.xml.factory.XMLLoader.loadXML$(XMLLoader.scala:37)
[error] at scala.xml.XML$.loadXML(XML.scala:60)
[error] at scala.xml.factory.XMLLoader.loadFile(XMLLoader.scala:48)
[error] at scala.xml.factory.XMLLoader.loadFile$(XMLLoader.scala:48)
[error] at scala.xml.XML$.loadFile(XML.scala:60)
[error] at AopMerge$.$anonfun$apply$1(AopMerge.scala:17)
[error] at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:238)
[error] at scala.collection.Iterator.foreach(Iterator.scala:941)
[error] at scala.collection.Iterator.foreach$(Iterator.scala:941)
[error] at scala.collection.AbstractIterator.foreach(Iterator.scala:1429)
[error] at scala.collection.IterableLike.foreach(IterableLike.scala:74)
[error] at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
[error] at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
[error] at scala.collection.TraversableLike.map(TraversableLike.scala:238)
[error] at scala.collection.TraversableLike.map$(TraversableLike.scala:231)
[error] at scala.collection.AbstractTraversable.map(Traversable.scala:108)
[error] at AopMerge$.apply(AopMerge.scala:17)
[error] at sbtassembly.MergeStrategy.apply(MergeStrategy.scala:20)
[error] at sbtassembly.Assembly$.applyStrategy$1(Assembly.scala:110)
[error] at sbtassembly.Assembly$.$anonfun$applyStrategies$11(Assembly.scala:135)
[error] at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:238)
[error] at scala.collection.Iterator.foreach(Iterator.scala:941)
[error] at scala.collection.Iterator.foreach$(Iterator.scala:941)
[error] at scala.collection.AbstractIterator.foreach(Iterator.scala:1429)
[error] at scala.collection.IterableLike.foreach(IterableLike.scala:74)
[error] at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
[error] at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
[error] at scala.collection.TraversableLike.map(TraversableLike.scala:238)
[error] at scala.collection.TraversableLike.map$(TraversableLike.scala:231)
[error] at scala.collection.AbstractTraversable.map(Traversable.scala:108)
[error] at sbtassembly.Assembly$.applyStrategies(Assembly.scala:132)
[error] at sbtassembly.Assembly$.x$1$lzycompute$1(Assembly.scala:25)
[error] at sbtassembly.Assembly$.x$1$1(Assembly.scala:23)
[error] at sbtassembly.Assembly$.stratMapping$lzycompute$1(Assembly.scala:23)
[error] at sbtassembly.Assembly$.stratMapping$1(Assembly.scala:23)
[error] at sbtassembly.Assembly$.inputs$lzycompute$1(Assembly.scala:68)
[error] at sbtassembly.Assembly$.inputs$1(Assembly.scala:58)
[error] at sbtassembly.Assembly$.apply(Assembly.scala:85)
[error] at sbtassembly.Assembly$.$anonfun$assemblyTask$1(Assembly.scala:244)
[error] at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62)
[error] at sbt.std.Transform$$anon$4.work(Transform.scala:67)
[error] at sbt.Execute.$anonfun$submit$2(Execute.scala:281)
[error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19)
[error] at sbt.Execute.work(Execute.scala:290)
[error] at sbt.Execute.$anonfun$submit$1(Execute.scala:281)
[error] at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178)
[error] at sbt.CompletionService$$anon$2.call(CompletionService.scala:37)
[error] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[error] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[error] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[error] at java.lang.Thread.run(Thread.java:748)
[error] (repo / assembly) org.xml.sax.SAXParseExceptionpublicId: -//AspectJ//DTD//EN; systemId: http://www.eclipse.org/aspectj/dtd/aspectj.dtd; lineNumber: 1; columnNumber: 2; The markup declarations contained or pointed to by the document type declaration must be well-formed.
Last week the same changes where working. But somehow it is throwing this error. What could be the reason?
sbt version -> 1.3.10
I have created a new MergeStrategy for aop.xml files (part of the Kamon dependencies).
If replacing http with https does not work, it might be worth trying disabling DTD validation as follows:
import java.io.FileInputStream
import org.xml.sax.InputSource
val parser = {
val factory = javax.xml.parsers.SAXParserFactory.newInstance()
factory.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false)
factory.newSAXParser()
}
val xmls: Seq[Elem] = files.map(f => XML.loadXML(new InputSource(new FileInputStream(f)), parser))

Configuration with APB fails to elaborate

I created the following configuration in Configs.scala:
class APBConfig extends Config(new WithDebugAPB ++ new TinyConfig)
I tried to build it with the following command:
/rocket/rocket-chip/vsim$ make
CONFIG=freechips.rocketchip.system.APBConfig
And get the following error:
[error] java.lang.UnsupportedOperationException: empty.init
[error] ...
[error] at freechips.rocketchip.regmapper.RegMapper$.apply(RegMapper.scala:49)
[error] at freechips.rocketchip.amba.apb.APBRegisterNode.regmap(RegisterRouter.scala:32)
[error] at freechips.rocketchip.devices.debug.APBDebugRegisters$$anon$1.<init>(APB.scala:27)
[error] at freechips.rocketchip.devices.debug.APBDebugRegisters.module$lzycompute(APB.scala:26)
[error] at freechips.rocketchip.devices.debug.APBDebugRegisters.module(APB.scala:26)
[error] at freechips.rocketchip.devices.debug.APBDebugRegisters.module(APB.scala:18)
[error] at freechips.rocketchip.diplomacy.LazyModuleImpLike.$anonfun$instantiate$2(LazyModule.scala:280)
[error] at chisel3.Module$.do_apply(Module.scala:52)
[error] at freechips.rocketchip.diplomacy.LazyModuleImpLike.$anonfun$instantiate$1(LazyModule.scala:280)
[error] at scala.collection.immutable.List.flatMap(List.scala:338)
[error] at freechips.rocketchip.diplomacy.LazyModuleImpLike.instantiate(LazyModule.scala:278)
[error] at freechips.rocketchip.diplomacy.LazyModuleImpLike.instantiate$(LazyModule.scala:273)
[error] at freechips.rocketchip.diplomacy.LazyRawModuleImp.instantiate(LazyModule.scala:357)
[error] at freechips.rocketchip.diplomacy.LazyRawModuleImp.$anonfun$x$23$1(LazyModule.scala:370)
[error] at chisel3.withClockAndReset$.apply(MultiClock.scala:25)
[error] at freechips.rocketchip.diplomacy.LazyRawModuleImp.<init>(LazyModule.scala:370)
[error] at freechips.rocketchip.devices.debug.TLDebugModuleOuterAsync$$anon$3.<init>(Debug.scala:634)
[error] at freechips.rocketchip.devices.debug.TLDebugModuleOuterAsync.module$lzycompute(Debug.scala:634)
[error] at freechips.rocketchip.devices.debug.TLDebugModuleOuterAsync.module(Debug.scala:634)
[error] at freechips.rocketchip.devices.debug.TLDebugModuleOuterAsync.module(Debug.scala:598)
[error] at freechips.rocketchip.diplomacy.LazyModuleImpLike.$anonfun$instantiate$2(LazyModule.scala:280)
[error] at chisel3.Module$.do_apply(Module.scala:52)
[error] at freechips.rocketchip.diplomacy.LazyModuleImpLike.$anonfun$instantiate$1(LazyModule.scala:280)
[error] at scala.collection.immutable.List.flatMap(List.scala:338)
[error] at freechips.rocketchip.diplomacy.LazyModuleImpLike.instantiate(LazyModule.scala:278)
[error] at freechips.rocketchip.diplomacy.LazyModuleImpLike.instantiate$(LazyModule.scala:273)
[error] at freechips.rocketchip.diplomacy.LazyRawModuleImp.instantiate(LazyModule.scala:357)
[error] at freechips.rocketchip.diplomacy.LazyRawModuleImp.$anonfun$x$23$1(LazyModule.scala:370)
[error] at chisel3.withClockAndReset$.apply(MultiClock.scala:25)
[error] at freechips.rocketchip.diplomacy.LazyRawModuleImp.<init>(LazyModule.scala:370)
[error] at freechips.rocketchip.devices.debug.TLDebugModule$$anon$10.<init>(Debug.scala:1770)
[error] at freechips.rocketchip.devices.debug.TLDebugModule.module$lzycompute(Debug.scala:1770)
[error] at freechips.rocketchip.devices.debug.TLDebugModule.module(Debug.scala:1770)
[error] at freechips.rocketchip.devices.debug.TLDebugModule.module(Debug.scala:1745)
[error] at freechips.rocketchip.diplomacy.LazyModuleImpLike.$anonfun$instantiate$2(LazyModule.scala:280)
[error] at chisel3.Module$.do_apply(Module.scala:52)
[error] at freechips.rocketchip.diplomacy.LazyModuleImpLike.$anonfun$instantiate$1(LazyModule.scala:280)
[error] at scala.collection.immutable.List.flatMap(List.scala:338)
[error] at freechips.rocketchip.diplomacy.LazyModuleImpLike.instantiate(LazyModule.scala:278)
[error] at freechips.rocketchip.diplomacy.LazyModuleImpLike.instantiate$(LazyModule.scala:273)
[error] at freechips.rocketchip.diplomacy.LazyModuleImp.instantiate(LazyModule.scala:348)
[error] at freechips.rocketchip.diplomacy.LazyModuleImp.<init>(LazyModule.scala:350)
[error] at freechips.rocketchip.subsystem.BareSubsystemModuleImp.<init>(BaseSubsystem.scala:31)
[error] at freechips.rocketchip.subsystem.BaseSubsystemModuleImp.<init>(BaseSubsystem.scala:130)
[error] at freechips.rocketchip.subsystem.RocketSubsystemModuleImp.<init>(RocketSubsystem.scala:55)
[error] at freechips.rocketchip.system.ExampleRocketSystemModuleImp.<init>(ExampleRocketSystem.scala:27)
[error] at freechips.rocketchip.system.ExampleRocketSystem.module$lzycompute(ExampleRocketSystem.scala:24)
[error] at freechips.rocketchip.system.ExampleRocketSystem.module(ExampleRocketSystem.scala:24)
[error] at freechips.rocketchip.system.TestHarness.$anonfun$dut$1(TestHarness.scala:17)
[error] at chisel3.Module$.do_apply(Module.scala:52)
[error] at freechips.rocketchip.system.TestHarness.<init>(TestHarness.scala:17)
[error] at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[error] at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[error] at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[error] at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
[error] at freechips.rocketchip.stage.phases.PreElaboration.$anonfun$transform$1(PreElaboration.scala:31)
[error] ... (Stack trace trimmed to user code only, rerun with --full-stacktrace if you wish to see the full stack trace)
Exception: sbt.TrapExitSecurityException thrown from the UncaughtExceptionHandler in thread "run-main-0"
[error] Nonzero exit code: 1
[error] (Compile / runMain) Nonzero exit code: 1
[error] Total time: 34 s, completed Aug 5, 2020, 1:58:55 PM
For reference, using WithJtagDTMSystem instead of WithDebugAPB works.
Any ideas what might be the problem?
I guess those error still not got solved by the rocket chip generator..
I thought this issue came up into rocket-chip forum.

Failed to build the sal-distributed-datastore, Error while generating Javadoc in OpenDaylight Controller

I'm tring to execute an mvn clean install with the OpenDaylight Controller Project in Eclipse Oxygen (Oxygen.1a Release (4.7.1a)), i've tryed to build the code with the simple steps: I've imported the git code, from the url https://git.opendaylight.org/gerrit/p/<project_repo_name>.git, and runned with the goals: clean install -Pq (because i'm always get errors when the tests are executed if the controller are builded for the first time) and during the build i'm get this error when the build reach the odl-config-api part:
[ERROR] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.0.10:features-generate-descriptor (default-features-generate-descriptor) on project odl-config-api: Execution default-features-generate-descriptor of goal org.apache.karaf.tooling:karaf-maven-plugin:4.0.10:features-generate-descriptor failed: A required class was missing while executing org.apache.karaf.tooling:karaf-maven-plugin:4.0.10:features-generate-descriptor: javax/xml/bind/JAXBException
[ERROR] -----------------------------------------------------
[ERROR] realm = extension>org.apache.karaf.tooling:karaf-maven-plugin:4.0.10
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/Users/kevin/.m2/repository/org/apache/karaf/tooling/karaf-maven-plugin/4.0.10/karaf-maven-plugin-4.0.10.jar
[ERROR] urls[1] = file:/C:/Users/kevin/.m2/repository/org/sonatype/sisu/sisu-inject-bean/2.1.1/sisu-inject-bean-2.1.1.jar
[ERROR] urls[2] = file:/C:/Users/kevin/.m2/repository/org/sonatype/sisu/sisu-guice/2.9.4/sisu-guice-2.9.4-no_aop.jar
[ERROR] urls[3] = file:/C:/Users/kevin/.m2/repository/org/sonatype/aether/aether-util/1.11/aether-util-1.11.jar
[ERROR] urls[4] = file:/C:/Users/kevin/.m2/repository/org/eclipse/aether/aether-util/0.9.0.M2/aether-util-0.9.0.M2.jar
[ERROR] urls[5] = file:/C:/Users/kevin/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
[ERROR] urls[6] = file:/C:/Users/kevin/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
[ERROR] urls[7] = file:/C:/Users/kevin/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[ERROR] urls[8] = file:/C:/Users/kevin/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] urls[9] = file:/C:/Users/kevin/.m2/repository/org/apache/maven/plugin-tools/maven-plugin-annotations/3.3/maven-plugin-annotations-3.3.jar
[ERROR] urls[10] = file:/C:/Users/kevin/.m2/repository/org/apache/maven/wagon/wagon-http/2.10/wagon-http-2.10.jar
[ERROR] urls[11] = file:/C:/Users/kevin/.m2/repository/org/apache/maven/wagon/wagon-http-shared/2.10/wagon-http-shared-2.10.jar
[ERROR] urls[12] = file:/C:/Users/kevin/.m2/repository/org/jsoup/jsoup/1.7.2/jsoup-1.7.2.jar
[ERROR] urls[13] = file:/C:/Users/kevin/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
[ERROR] urls[14] = file:/C:/Users/kevin/.m2/repository/org/apache/httpcomponents/httpclient/4.3.5/httpclient-4.3.5.jar
[ERROR] urls[15] = file:/C:/Users/kevin/.m2/repository/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
[ERROR] urls[16] = file:/C:/Users/kevin/.m2/repository/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar
[ERROR] urls[17] = file:/C:/Users/kevin/.m2/repository/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar
[ERROR] urls[18] = file:/C:/Users/kevin/.m2/repository/org/apache/karaf/org.apache.karaf.util/4.0.10/org.apache.karaf.util-4.0.10.jar
[ERROR] urls[19] = file:/C:/Users/kevin/.m2/repository/org/apache/felix/org.apache.felix.utils/1.10.0/org.apache.felix.utils-1.10.0.jar
[ERROR] urls[20] = file:/C:/Users/kevin/.m2/repository/org/apache/karaf/jaas/org.apache.karaf.jaas.boot/4.0.10/org.apache.karaf.jaas.boot-4.0.10.jar
[ERROR] urls[21] = file:/C:/Users/kevin/.m2/repository/org/apache/karaf/tooling/org.apache.karaf.tools.utils/4.0.10/org.apache.karaf.tools.utils-4.0.10.jar
[ERROR] urls[22] = file:/C:/Users/kevin/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar
[ERROR] urls[23] = file:/C:/Users/kevin/.m2/repository/org/slf4j/slf4j-jdk14/1.7.12/slf4j-jdk14-1.7.12.jar
[ERROR] urls[24] = file:/C:/Users/kevin/.m2/repository/org/apache/maven/shared/maven-filtering/1.0-beta-4/maven-filtering-1.0-beta-4.jar
[ERROR] urls[25] = file:/C:/Users/kevin/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
[ERROR] urls[26] = file:/C:/Users/kevin/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.4/plexus-build-api-0.0.4.jar
[ERROR] urls[27] = file:/C:/Users/kevin/.m2/repository/org/codehaus/plexus/plexus-utils/3.0/plexus-utils-3.0.jar
[ERROR] urls[28] = file:/C:/Users/kevin/.m2/repository/org/apache/felix/maven-bundle-plugin/3.3.0/maven-bundle-plugin-3.3.0.jar
[ERROR] urls[29] = file:/C:/Users/kevin/.m2/repository/biz/aQute/bnd/biz.aQute.bndlib/3.3.0/biz.aQute.bndlib-3.3.0.jar
[ERROR] urls[30] = file:/C:/Users/kevin/.m2/repository/org/apache/maven/maven-archiver/2.6/maven-archiver-2.6.jar
[ERROR] urls[31] = file:/C:/Users/kevin/.m2/repository/org/apache/maven/shared/maven-shared-utils/0.7/maven-shared-utils-0.7.jar
[ERROR] urls[32] = file:/C:/Users/kevin/.m2/repository/com/google/code/findbugs/jsr305/2.0.1/jsr305-2.0.1.jar
[ERROR] urls[33] = file:/C:/Users/kevin/.m2/repository/org/codehaus/plexus/plexus-archiver/2.8.1/plexus-archiver-2.8.1.jar
[ERROR] urls[34] = file:/C:/Users/kevin/.m2/repository/org/codehaus/plexus/plexus-io/2.3.2/plexus-io-2.3.2.jar
[ERROR] urls[35] = file:/C:/Users/kevin/.m2/repository/org/apache/maven/shared/maven-dependency-tree/2.1/maven-dependency-tree-2.1.jar
[ERROR] urls[36] = file:/C:/Users/kevin/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0/doxia-sink-api-1.0.jar
[ERROR] urls[37] = file:/C:/Users/kevin/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.0/doxia-site-renderer-1.0.jar
[ERROR] urls[38] = file:/C:/Users/kevin/.m2/repository/org/apache/maven/doxia/doxia-core/1.0/doxia-core-1.0.jar
[ERROR] urls[39] = file:/C:/Users/kevin/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
[ERROR] urls[40] = file:/C:/Users/kevin/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.jar
[ERROR] urls[41] = file:/C:/Users/kevin/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar
[ERROR] urls[42] = file:/C:/Users/kevin/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
[ERROR] urls[43] = file:/C:/Users/kevin/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.0/doxia-decoration-model-1.0.jar
[ERROR] urls[44] = file:/C:/Users/kevin/.m2/repository/commons-collections/commons-collections/3.2/commons-collections-3.2.jar
[ERROR] urls[45] = file:/C:/Users/kevin/.m2/repository/org/apache/maven/doxia/doxia-module-apt/1.0/doxia-module-apt-1.0.jar
[ERROR] urls[46] = file:/C:/Users/kevin/.m2/repository/org/apache/maven/doxia/doxia-module-fml/1.0/doxia-module-fml-1.0.jar
[ERROR] urls[47] = file:/C:/Users/kevin/.m2/repository/org/apache/maven/doxia/doxia-module-xdoc/1.0/doxia-module-xdoc-1.0.jar
[ERROR] urls[48] = file:/C:/Users/kevin/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.0/doxia-module-xhtml-1.0.jar
[ERROR] urls[49] = file:/C:/Users/kevin/.m2/repository/org/jdom/jdom/1.1/jdom-1.1.jar
[ERROR] urls[50] = file:/C:/Users/kevin/.m2/repository/org/apache/felix/org.apache.felix.fileinstall/3.6.0/org.apache.felix.fileinstall-3.6.0.jar
[ERROR] urls[51] = file:/C:/Users/kevin/.m2/repository/org/apache/karaf/features/org.apache.karaf.features.core/4.0.10/org.apache.karaf.features.core-4.0.10.jar
[ERROR] urls[52] = file:/C:/Users/kevin/.m2/repository/org/apache/karaf/profile/org.apache.karaf.profile.core/4.0.10/org.apache.karaf.profile.core-4.0.10.jar.....
...I've removed part of the log error, since it's exceeded the body limit.
My network is working normally and i'm runnig the eclipse in Windows 10 system (i don't know if it's really matter), i've don't edited any of the pom.xml.
I'm doing something wrong, or forgetting any step? Any tips?
UPDATE
I've got this new error aparentilly it's rellated to wrong writed code, but i know that's the code is correct.
ERROR:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar (attach-javadocs) on project sal-distributed-datastore: MavenReportException: Error while generating Javadoc:
[ERROR] Exit code: 1 - C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\ShardWriteTransaction.java:26: error: unknown tag: author:
[ERROR] * #author: syedbahm
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\ShardReadWriteTransaction.java:19: error: unknown tag: author:
[ERROR] * #author: syedbahm
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\ShardReadTransaction.java:20: error: unknown tag: author:
[ERROR] * #author: syedbahm
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\jmx\mbeans\shard\ShardStatsMXBean.java:17: error: unknown tag: author:
[ERROR] * #author: syedbahm
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\databroker\AbstractDOMBrokerTransaction.java:34: warning: no #param for storeTxFactories
[ERROR] protected AbstractDOMBrokerTransaction(final Object identifier,
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\databroker\AbstractDOMBrokerTransaction.java:70: warning: no #return
[ERROR] protected Collection<T> getSubtransactions() {
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\databroker\DOMBrokerReadOnlyTransaction.java:30: warning: no #param for storeTxFactories
[ERROR] protected DOMBrokerReadOnlyTransaction(Object identifier,
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\databroker\DOMBrokerReadWriteTransaction.java:31: warning: no #param for commitImpl
[ERROR] protected DOMBrokerReadWriteTransaction(Object identifier,
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\databroker\DOMBrokerWriteOnlyTransaction.java:24: warning: no #param for commitImpl
[ERROR] public DOMBrokerWriteOnlyTransaction(Object identifier,
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\DatastoreContext.java:558: warning: no #param for id
[ERROR] public Builder shardManagerPersistenceId(final String id) {
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\DatastoreContext.java:558: warning: no #return
[ERROR] public Builder shardManagerPersistenceId(final String id) {
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\DistributedDataStoreFactory.java:32: warning: no #param for schemaService
[ERROR] public static AbstractDataStore createInstance(final SchemaService schemaService,
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\DistributedDataStoreFactory.java:32: warning: no #param for initialDatastoreContext
[ERROR] public static AbstractDataStore createInstance(final SchemaService schemaService,
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\DistributedDataStoreFactory.java:32: warning: no #param for datastoreSnapshotRestore
[ERROR] public static AbstractDataStore createInstance(final SchemaService schemaService,
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\DistributedDataStoreFactory.java:32: warning: no #param for actorSystemProvider
[ERROR] public static AbstractDataStore createInstance(final SchemaService schemaService,
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\DistributedDataStoreFactory.java:32: warning: no #param for bundleContext
[ERROR] public static AbstractDataStore createInstance(final SchemaService schemaService,
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\DistributedDataStoreFactory.java:32: warning: no #return
[ERROR] public static AbstractDataStore createInstance(final SchemaService schemaService,
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\config\Configuration.java:25: warning: no #param for memberName
[ERROR] #Nonnull Collection<String> getMemberShardNames(#Nonnull MemberName memberName);
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\config\Configuration.java:25: warning: no #return
[ERROR] #Nonnull Collection<String> getMemberShardNames(#Nonnull MemberName memberName);
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\config\Configuration.java:30: warning: no #param for nameSpace
[ERROR] #Nullable String getModuleNameFromNameSpace(#Nonnull String nameSpace);
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\config\Configuration.java:30: warning: no #return
[ERROR] #Nullable String getModuleNameFromNameSpace(#Nonnull String nameSpace);
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\config\Configuration.java:35: warning: no #param for moduleName
[ERROR] #Nullable String getShardNameForModule(#Nonnull String moduleName);
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\config\Configuration.java:35: warning: no #return
[ERROR] #Nullable String getShardNameForModule(#Nonnull String moduleName);
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\config\Configuration.java:40: warning: no #param for prefix
[ERROR] #Nullable String getShardNameForPrefix(#Nonnull DOMDataTreeIdentifier prefix);
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\config\Configuration.java:40: warning: no #return
[ERROR] #Nullable String getShardNameForPrefix(#Nonnull DOMDataTreeIdentifier prefix);
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\config\Configuration.java:45: warning: no #param for shardName
[ERROR] #Nonnull Collection<MemberName> getMembersFromShardName(#Nonnull String shardName);
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\config\Configuration.java:45: warning: no #return
[ERROR] #Nonnull Collection<MemberName> getMembersFromShardName(#Nonnull String shardName);
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\config\Configuration.java:50: warning: no #param for moduleName
[ERROR] #Nullable ShardStrategy getStrategyForModule(#Nonnull String moduleName);
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\config\Configuration.java:50: warning: no #return
[ERROR] #Nullable ShardStrategy getStrategyForModule(#Nonnull String moduleName);
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\config\Configuration.java:55: warning: no #return
[ERROR] Set<String> getAllShardNames();
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\config\Configuration.java:60: warning: no #param for config
[ERROR] void addModuleShardConfiguration(#Nonnull ModuleShardConfiguration config);
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\config\Configuration.java:65: warning: no #param for config
[ERROR] void addPrefixShardConfiguration(#Nonnull PrefixShardConfiguration config);
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\config\Configuration.java:70: warning: no #param for prefix
[ERROR] void removePrefixShardConfiguration(#Nonnull DOMDataTreeIdentifier prefix);
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\config\Configuration.java:82: warning: no #return
[ERROR] Collection<MemberName> getUniqueMemberNamesForAllShards();
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\config\Configuration.java:92: warning: no #param for shardName
[ERROR] void addMemberReplicaForShard(String shardName, MemberName memberName);
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\config\Configuration.java:92: warning: no #param for memberName
[ERROR] void addMemberReplicaForShard(String shardName, MemberName memberName);
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\config\Configuration.java:97: warning: no #param for shardName
[ERROR] void removeMemberReplicaForShard(String shardName, MemberName memberName);
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\config\Configuration.java:97: warning: no #param for memberName
[ERROR] void removeMemberReplicaForShard(String shardName, MemberName memberName);
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\config\Configuration.java:102: warning: no #param for prefix
[ERROR] #Nullable ShardStrategy getStrategyForPrefix(#Nonnull DOMDataTreeIdentifier prefix);
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\config\Configuration.java:102: warning: no #return
[ERROR] #Nullable ShardStrategy getStrategyForPrefix(#Nonnull DOMDataTreeIdentifier prefix);
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\config\ModuleShardConfigProvider.java:22: warning: no #param for configuration
[ERROR] #Nonnull Map<String, ModuleConfig.Builder> retrieveModuleConfigs(#Nonnull Configuration configuration);
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\config\ModuleShardConfigProvider.java:22: warning: no #return
[ERROR] #Nonnull Map<String, ModuleConfig.Builder> retrieveModuleConfigs(#Nonnull Configuration configuration);
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\messages\PrimaryShardInfo.java:42: warning: no #return
[ERROR] public #Nonnull ActorSelection getPrimaryShardActor() {
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\messages\PrimaryShardInfo.java:49: warning: no #return
[ERROR] public short getPrimaryShardVersion() {
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\messages\PrimaryShardInfo.java:57: warning: no #return
[ERROR] public #Nonnull Optional<DataTree> getLocalShardDataTree() {
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\messages\RemovePrefixShardReplica.java:30: warning: no #param for memberName
[ERROR] public RemovePrefixShardReplica(#Nonnull final YangInstanceIdentifier prefix,
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\messages\RemoveShardReplica.java:29: warning: no #param for memberName
[ERROR] public RemoveShardReplica(#Nonnull String shardName, #Nonnull MemberName memberName) {
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\shardmanager\ShardManagerSnapshot.java:42: warning: no #param for shardList
[ERROR] public static ShardManagerSnapshot forShardList(final #Nonnull List<String> shardList) {
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\shardmanager\ShardManagerSnapshot.java:42: warning: no #return
[ERROR] public static ShardManagerSnapshot forShardList(final #Nonnull List<String> shardList) {
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\utils\ActorContext.java:280: warning: no #return
[ERROR] public Future<ActorRef> findLocalShardAsync(final String shardName) {
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\utils\ActorContext.java:416: warning: no #param for messageSupplier
[ERROR] public void broadcast(final Function<Short, Object> messageSupplier, Class<?> messageClass) {
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\utils\ActorContext.java:416: warning: no #param for messageClass
[ERROR] public void broadcast(final Function<Short, Object> messageSupplier, Class<?> messageClass) {
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\utils\NormalizedNodeAggregator.java:42: warning: no #param for rootIdentifier
[ERROR] public static Optional<NormalizedNode<?,?>> aggregate(final YangInstanceIdentifier rootIdentifier,
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\utils\NormalizedNodeAggregator.java:42: warning: no #param for nodes
[ERROR] public static Optional<NormalizedNode<?,?>> aggregate(final YangInstanceIdentifier rootIdentifier,
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\utils\NormalizedNodeAggregator.java:42: warning: no #param for schemaContext
[ERROR] public static Optional<NormalizedNode<?,?>> aggregate(final YangInstanceIdentifier rootIdentifier,
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\utils\NormalizedNodeAggregator.java:42: warning: no #param for logicalDatastoreType
[ERROR] public static Optional<NormalizedNode<?,?>> aggregate(final YangInstanceIdentifier rootIdentifier,
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\utils\NormalizedNodeAggregator.java:42: warning: no #return
[ERROR] public static Optional<NormalizedNode<?,?>> aggregate(final YangInstanceIdentifier rootIdentifier,
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\datastore\utils\NormalizedNodeAggregator.java:42: warning: no #throws for org.opendaylight.yangtools.yang.data.api.schema.tree.DataValidationFailedException
[ERROR] public static Optional<NormalizedNode<?,?>> aggregate(final YangInstanceIdentifier rootIdentifier,
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\src\main\java\org\opendaylight\controller\cluster\sharding\DistributedShardFactory.java:52: warning: no #return
[ERROR] CompletionStage<Void> close();
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\target\generated-sources\config-binding\org\opendaylight\controller\config\yang\config\concurrent_data_broker\DomConcurrentDataBrokerModuleMXBean.java:25: warning: no #param for maxDataBrokerCommitQueueSize
[ERROR] void setMaxDataBrokerCommitQueueSize(java.lang.Integer maxDataBrokerCommitQueueSize);
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\target\generated-sources\config-binding\org\opendaylight\controller\config\yang\config\concurrent_data_broker\DomConcurrentDataBrokerModuleMXBean.java:32: warning: no #param for maxDataBrokerFutureCallbackQueueSize
[ERROR] void setMaxDataBrokerFutureCallbackQueueSize(java.lang.Integer maxDataBrokerFutureCallbackQueueSize);
[ERROR] ^
[ERROR] C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\target\generated-sources\config-binding\org\opendaylight\controller\config\yang\config\concurrent_data_broker\DomConcurrentDataBrokerModuleMXBean.java:39: warning: no #param for maxDataBrokerFutureCallbackPoolSize
[ERROR] void setMaxDataBrokerFutureCallbackPoolSize(java.lang.Integer maxDataBrokerFutureCallbackPoolSize);
[ERROR] ^
[ERROR]
[ERROR] Command line was: "C:\Program Files\Java\jdk-9.0.1\bin\javadoc.exe" #options #packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in 'C:\Users\kevin\git\controller\opendaylight\md-sal\sal-distributed-datastore\target\apidocs' dir.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :sal-distributed-datastore
There's two errors, i've edited the question, because i've thinked that the initial error had been resolved with the -Pq,ide clean generate-sources but after execute this command i've got the second error.
Any ideia of what to do?
The problem re. maven-javadoc-plugin seems to be due to "error: unknown tag: author:" - that's fixed by https://git.opendaylight.org/gerrit/#/c/66268/. (FYI the JavaDoc output can be a bit confusing; it's only the lines where there is an "error: " at the end that cause the build to fail; all lines starting with [ERROR] but ending in "warning: " do not.)
The REAL question is why you hit this locally when this works for everyone else and on the ODL Jenkins build... The reason for that is if we note your C:\Program Files\Java\jdk-9.0.1\... you appear to be building ODL on Java 9 - and that is not supported, yet! I've just proposed https://git.opendaylight.org/gerrit/#/c/66269/ to avoid similar problems for others in the future (until we're ready). Until then, please both build and run ODL only with Java 8 and you will have a lot less problems.
PS: I was not crystal clear if you've fully resolved your first problem re. karaf-maven-plugin, and are now only asking about your second problem re. maven-javadoc-plugin - it's best to remove from your question what you have resolved, or open separate new questions for new things you run into. But the karaf-maven-plugin could very well have issues when running the build under Java 9 as well.

Atlassian hello world JIRA build error

I'm trying to work through the Atlassian hello world tutorial. I'm trying to execute the atlas-create-jira-plugin-module command in step 4-3 here: https://developer.atlassian.com/docs/getting-started/set-up-the-atlassian-plugin-sdk-and-build-a-project/put-the-final-polish-on-the-project-in-eclipse, but when I do I'm hit with this huge error. Does anyone know what the problem is? Sorry in advance for the huge wall of text.
atlas-create-jira-plugin-module
Executing: /Applications/Atlassian/atlassian-plugin-sdk-6.1.0/apache-maven-3.2.1/bin/mvn com.atlassian.maven.plugins:maven-jira-plugin:6.1.2:create-plugin-module -gs /Applications/Atlassian/atlassian-plugin-sdk-6.1.0/apache-maven-3.2.1/conf/settings.xml
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.atlassian.tutorial:helloworld:atlassian-plugin:1.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. # line 163, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building helloworld 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: file:///Applications/Atlassian/atlassian-plugin-sdk-6.1.0/repository/org/apache/velocity/velocity/maven-metadata.xml
Downloading: https://maven.atlassian.com/repository/public/org/apache/velocity/velocity/maven-metadata.xml
Downloading: http://repo.maven.apache.org/maven2/org/apache/velocity/velocity/maven-metadata.xml
Downloaded: http://repo.maven.apache.org/maven2/org/apache/velocity/velocity/maven-metadata.xml (598 B at 0.9 KB/sec)
Downloaded: https://maven.atlassian.com/repository/public/org/apache/velocity/velocity/maven-metadata.xml (2 KB at 0.7 KB/sec)
[INFO]
[INFO] --- maven-jira-plugin:6.1.2:create-plugin-module (default-cli) # helloworld ---
[WARNING] Error injecting: com.atlassian.maven.plugins.jira.JiraPluginModuleGenerationMojo
java.lang.TypeNotPresentException: Type com.atlassian.maven.plugins.jira.JiraPluginModuleGenerationMojo not present
at org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:115)
at org.eclipse.sisu.space.NamedClass.load(NamedClass.java:46)
at org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)
at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)
at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
at org.eclipse.sisu.plexus.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:133)
at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:109)
at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)
at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1047)
at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)
at com.google.inject.Scopes$1$1.get(Scopes.java:59)
at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82)
at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:260)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:252)
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:462)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:120)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
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:108)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
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:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.lang.UnsupportedClassVersionError: com/atlassian/maven/plugins/jira/JiraPluginModuleGenerationMojo : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:389)
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:242)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
at org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:107)
... 41 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.006 s
[INFO] Finished at: 2015-10-26T10:47:22-05:00
[INFO] Final Memory: 16M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.atlassian.maven.plugins:maven-jira-plugin:6.1.2:create-plugin-module (default-cli) on project helloworld: Execution default-cli of goal com.atlassian.maven.plugins:maven-jira-plugin:6.1.2:create-plugin-module failed: Unable to load the mojo 'create-plugin-module' in the plugin 'com.atlassian.maven.plugins:maven-jira-plugin:6.1.2' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: com/atlassian/maven/plugins/jira/JiraPluginModuleGenerationMojo : Unsupported major.minor version 51.0
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>com.atlassian.maven.plugins:maven-jira-plugin:6.1.2
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/Users/jnissenbaum/.m2/repository/com/atlassian/maven/plugins/maven-jira-plugin/6.1.2/maven-jira-plugin-6.1.2.jar
[ERROR] urls[1] = file:/Users/jnissenbaum/.m2/repository/com/atlassian/maven/archetypes/jira-plugin-archetype/6.1.2/jira-plugin-archetype-6.1.2.jar
[ERROR] urls[2] = file:/Users/jnissenbaum/.m2/repository/com/atlassian/maven/plugins/maven-amps-plugin/6.1.2/maven-amps-plugin-6.1.2.jar
[ERROR] urls[3] = file:/Users/jnissenbaum/.m2/repository/com/atlassian/core/atlassian-core/4.0/atlassian-core-4.0.jar
[ERROR] urls[4] = file:/Users/jnissenbaum/.m2/repository/com/atlassian/profiling/atlassian-profiling/1.3/atlassian-profiling-1.3.jar
[ERROR] urls[5] = file:/Users/jnissenbaum/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar
[ERROR] urls[6] = file:/Users/jnissenbaum/.m2/repository/p6spy/p6spy/1.3/p6spy-1.3.jar
[ERROR] urls[7] = file:/Users/jnissenbaum/.m2/repository/commons-collections/commons-collections/3.1/commons-collections-3.1.jar
[ERROR] urls[8] = file:/Users/jnissenbaum/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
[ERROR] urls[9] = file:/Users/jnissenbaum/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
[ERROR] urls[10] = file:/Users/jnissenbaum/.m2/repository/osuser/osuser/1.0-dev-log4j-1.4jdk-7Dec05/osuser-1.0-dev-log4j-1.4jdk-7Dec05.jar
[ERROR] urls[11] = file:/Users/jnissenbaum/.m2/repository/opensymphony/propertyset/1.3-21Nov03/propertyset-1.3-21Nov03.jar
[ERROR] urls[12] = file:/Users/jnissenbaum/.m2/repository/opensymphony/sitemesh/2.3/sitemesh-2.3.jar
[ERROR] urls[13] = file:/Users/jnissenbaum/.m2/repository/dom4j/dom4j/1.4/dom4j-1.4.jar
[ERROR] urls[14] = file:/Users/jnissenbaum/.m2/repository/jaxen/jaxen/1.0-FCS/jaxen-1.0-FCS.jar
[ERROR] urls[15] = file:/Users/jnissenbaum/.m2/repository/saxpath/saxpath/1.0-FCS/saxpath-1.0-FCS.jar
[ERROR] urls[16] = file:/Users/jnissenbaum/.m2/repository/msv/msv/20020414/msv-20020414.jar
[ERROR] urls[17] = file:/Users/jnissenbaum/.m2/repository/relaxngDatatype/relaxngDatatype/20020414/relaxngDatatype-20020414.jar
[ERROR] urls[18] = file:/Users/jnissenbaum/.m2/repository/isorelax/isorelax/20020414/isorelax-20020414.jar
[ERROR] urls[19] = file:/Users/jnissenbaum/.m2/repository/opensymphony/oscore/2.2.7/oscore-2.2.7.jar
[ERROR] urls[20] = file:/Users/jnissenbaum/.m2/repository/log4j/log4j/1.2.7/log4j-1.2.7.jar
[ERROR] urls[21] = file:/Users/jnissenbaum/.m2/repository/javax/mail/mail/1.4/mail-1.4.jar
[ERROR] urls[22] = file:/Users/jnissenbaum/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar
[ERROR] urls[23] = file:/Users/jnissenbaum/.m2/repository/mockobjects/alt-jdk1.3/0.07/alt-jdk1.3-0.07.jar
[ERROR] urls[24] = file:/Users/jnissenbaum/.m2/repository/oscache/oscache/DEV/oscache-DEV.jar
[ERROR] urls[25] = file:/Users/jnissenbaum/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar
[ERROR] urls[26] = file:/Users/jnissenbaum/.m2/repository/biz/aQute/bnd/biz.aQute.bndlib/2.4.1-pr-916-atlassian-002/biz.aQute.bndlib-2.4.1-pr-916-atlassian-002.jar
[ERROR] urls[27] = file:/Users/jnissenbaum/.m2/repository/junit/junit/4.12/junit-4.12.jar
[ERROR] urls[28] = file:/Users/jnissenbaum/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
[ERROR] urls[29] = file:/Users/jnissenbaum/.m2/repository/org/apache/ant/ant/1.7.1/ant-1.7.1.jar
[ERROR] urls[30] = file:/Users/jnissenbaum/.m2/repository/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.jar
[ERROR] urls[31] = file:/Users/jnissenbaum/.m2/repository/org/eclipse/aether/aether-util/0.9.0.M2/aether-util-0.9.0.M2.jar
[ERROR] urls[32] = file:/Users/jnissenbaum/.m2/repository/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar
[ERROR] urls[33] = file:/Users/jnissenbaum/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
[ERROR] urls[34] = file:/Users/jnissenbaum/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar
[ERROR] urls[35] = file:/Users/jnissenbaum/.m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar
[ERROR] urls[36] = file:/Users/jnissenbaum/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
[ERROR] urls[37] = file:/Users/jnissenbaum/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.0.0.M5/org.eclipse.sisu.inject-0.0.0.M5.jar
[ERROR] urls[38] = file:/Users/jnissenbaum/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.19/plexus-interpolation-1.19.jar
[ERROR] urls[39] = file:/Users/jnissenbaum/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
[ERROR] urls[40] = file:/Users/jnissenbaum/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[ERROR] urls[41] = file:/Users/jnissenbaum/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] urls[42] = file:/Users/jnissenbaum/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.15/plexus-utils-3.0.15.jar
[ERROR] urls[43] = file:/Users/jnissenbaum/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-9/plexus-archiver-1.0-alpha-9.jar
[ERROR] urls[44] = file:/Users/jnissenbaum/.m2/repository/org/codehaus/plexus/plexus-io/1.0-alpha-1/plexus-io-1.0-alpha-1.jar
[ERROR] urls[45] = file:/Users/jnissenbaum/.m2/repository/org/apache/maven/maven-archiver/2.3/maven-archiver-2.3.jar
[ERROR] urls[46] = file:/Users/jnissenbaum/.m2/repository/org/apache/commons/commons-compress/1.4.1/commons-compress-1.4.1.jar
[ERROR] urls[47] = file:/Users/jnissenbaum/.m2/repository/org/tukaani/xz/1.0/xz-1.0.jar
[ERROR] urls[48] = file:/Users/jnissenbaum/.m2/repository/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0.jar
[ERROR] urls[49] = file:/Users/jnissenbaum/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
[ERROR] urls[50] = file:/Users/jnissenbaum/.m2/repository/commons-digester/commons-digester/1.6/commons-digester-1.6.jar
[ERROR] urls[51] = file:/Users/jnissenbaum/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
[ERROR] urls[52] = file:/Users/jnissenbaum/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar
[ERROR] urls[53] = file:/Users/jnissenbaum/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
[ERROR] urls[54] = file:/Users/jnissenbaum/.m2/repository/com/atlassian/amps/plugin-module-codegen-maven-client/6.1.2/plugin-module-codegen-maven-client-6.1.2.jar
[ERROR] urls[55] = file:/Users/jnissenbaum/.m2/repository/com/atlassian/amps/plugin-module-codegen-engine/6.1.2/plugin-module-codegen-engine-6.1.2.jar
[ERROR] urls[56] = file:/Users/jnissenbaum/.m2/repository/com/atlassian/amps/plugin-module-codegen-api/6.1.2/plugin-module-codegen-api-6.1.2.jar
[ERROR] urls[57] = file:/Users/jnissenbaum/.m2/repository/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar
[ERROR] urls[58] = file:/Users/jnissenbaum/.m2/repository/com/atlassian/fugue/fugue/1.0/fugue-1.0.jar
[ERROR] urls[59] = file:/Users/jnissenbaum/.m2/repository/com/googlecode/guava-osgi/guava-osgi/10.0.1/guava-osgi-10.0.1.jar
[ERROR] urls[60] = file:/Users/jnissenbaum/.m2/repository/jline/jline/0.9.94/jline-0.9.94.jar
[ERROR] urls[61] = file:/Users/jnissenbaum/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
[ERROR] urls[62] = file:/Users/jnissenbaum/.m2/repository/plexus/plexus-utils/1.0.2/plexus-utils-1.0.2.jar
[ERROR] urls[63] = file:/Users/jnissenbaum/.m2/repository/com/atlassian/maven/archetypes/refapp-plugin-archetype/6.1.2/refapp-plugin-archetype-6.1.2.jar
[ERROR] urls[64] = file:/Users/jnissenbaum/.m2/repository/com/dmurph/JGoogleAnalyticsTracker/1.2.1-atlassian/JGoogleAnalyticsTracker-1.2.1-atlassian.jar
[ERROR] urls[65] = file:/Users/jnissenbaum/.m2/repository/org/slf4j/slf4j-nop/1.6.2/slf4j-nop-1.6.2.jar
[ERROR] urls[66] = file:/Users/jnissenbaum/.m2/repository/org/slf4j/slf4j-api/1.6.2/slf4j-api-1.6.2.jar
[ERROR] urls[67] = file:/Users/jnissenbaum/.m2/repository/com/atlassian/plugins/rest/atlassian-rest-doclet/2.9.2/atlassian-rest-doclet-2.9.2.jar
[ERROR] urls[68] = file:/Users/jnissenbaum/.m2/repository/com/atlassian/plugins/rest/atlassian-rest-common/2.9.2/atlassian-rest-common-2.9.2.jar
[ERROR] urls[69] = file:/Users/jnissenbaum/.m2/repository/com/atlassian/plugins/rest/com.atlassian.jersey-library/2.9.2/com.atlassian.jersey-library-2.9.2.pom
[ERROR] urls[70] = file:/Users/jnissenbaum/.m2/repository/com/sun/jersey/jersey-server/1.8-atlassian-13/jersey-server-1.8-atlassian-13.jar
[ERROR] urls[71] = file:/Users/jnissenbaum/.m2/repository/asm/asm/3.1/asm-3.1.jar
[ERROR] urls[72] = file:/Users/jnissenbaum/.m2/repository/com/sun/jersey/jersey-json/1.8-atlassian-13/jersey-json-1.8-atlassian-13.jar
[ERROR] urls[73] = file:/Users/jnissenbaum/.m2/repository/org/codehaus/jettison/jettison/1.1/jettison-1.1.jar
[ERROR] urls[74] = file:/Users/jnissenbaum/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.1/jackson-core-asl-1.9.1.jar
[ERROR] urls[75] = file:/Users/jnissenbaum/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.1/jackson-mapper-asl-1.9.1.jar
[ERROR] urls[76] = file:/Users/jnissenbaum/.m2/repository/org/codehaus/jackson/jackson-jaxrs/1.9.1/jackson-jaxrs-1.9.1.jar
[ERROR] urls[77] = file:/Users/jnissenbaum/.m2/repository/org/codehaus/jackson/jackson-xc/1.9.1/jackson-xc-1.9.1.jar
[ERROR] urls[78] = file:/Users/jnissenbaum/.m2/repository/commons-fileupload/commons-fileupload/1.3/commons-fileupload-1.3.jar
[ERROR] urls[79] = file:/Users/jnissenbaum/.m2/repository/com/atlassian/security/atlassian-secure-random/3.1.5/atlassian-secure-random-3.1.5.jar
[ERROR] urls[80] = file:/Users/jnissenbaum/.m2/repository/com/sun/jersey/jersey-core/1.8-atlassian-13/jersey-core-1.8-atlassian-13.jar
[ERROR] urls[81] = file:/Users/jnissenbaum/.m2/repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar
[ERROR] urls[82] = file:/Users/jnissenbaum/.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar
[ERROR] urls[83] = file:/Users/jnissenbaum/.m2/repository/org/hibernate/hibernate-validator/4.0.2.GA/hibernate-validator-4.0.2.GA.jar
[ERROR] urls[84] = file:/Users/jnissenbaum/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar
[ERROR] urls[85] = file:/Users/jnissenbaum/.m2/repository/com/atlassian/jersey/atlassian-jersey-restdoc/1.0.3/atlassian-jersey-restdoc-1.0.3.jar
[ERROR] urls[86] = file:/Users/jnissenbaum/.m2/repository/com/sun/jersey/contribs/wadl-resourcedoc-doclet/1.8-atlassian-13/wadl-resourcedoc-doclet-1.8-atlassian-13.jar
[ERROR] urls[87] = file:/Users/jnissenbaum/.m2/repository/com/atlassian/annotations/atlassian-annotations/0.8.1/atlassian-annotations-0.8.1.jar
[ERROR] urls[88] = file:/Users/jnissenbaum/.m2/repository/com/atlassian/amps/standalone/6.1.2/standalone-6.1.2.pom
[ERROR] urls[89] = file:/Users/jnissenbaum/.m2/repository/com/atlassian/plugins/atlassian-plugins-osgi-testrunner/1.2.3/atlassian-plugins-osgi-testrunner-1.2.3.jar
[ERROR] urls[90] = file:/Users/jnissenbaum/.m2/repository/org/apache/wink/wink-client/1.1.3-incubating/wink-client-1.1.3-incubating.jar
[ERROR] urls[91] = file:/Users/jnissenbaum/.m2/repository/org/apache/wink/wink-common/1.1.3-incubating/wink-common-1.1.3-incubating.jar
[ERROR] urls[92] = file:/Users/jnissenbaum/.m2/repository/org/apache/geronimo/specs/geronimo-annotation_1.1_spec/1.0/geronimo-annotation_1.1_spec-1.0.jar
[ERROR] urls[93] = file:/Users/jnissenbaum/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.1.1/jaxb-impl-2.2.1.1.jar
[ERROR] urls[94] = file:/Users/jnissenbaum/.m2/repository/com/google/code/gson/gson/2.2.2-atlassian-1/gson-2.2.2-atlassian-1.jar
[ERROR] urls[95] = file:/Users/jnissenbaum/.m2/repository/com/atlassian/upm/upm-api/2.15/upm-api-2.15.jar
[ERROR] urls[96] = file:/Users/jnissenbaum/.m2/repository/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.jar
[ERROR] urls[97] = file:/Users/jnissenbaum/.m2/repository/com/google/javascript/closure-compiler/rr2079.1/closure-compiler-rr2079.1.jar
[ERROR] urls[98] = file:/Users/jnissenbaum/.m2/repository/args4j/args4j/2.0.12/args4j-2.0.12.jar
[ERROR] urls[99] = file:/Users/jnissenbaum/.m2/repository/com/google/guava/guava/10.0.1/guava-10.0.1.jar
[ERROR] urls[100] = file:/Users/jnissenbaum/.m2/repository/com/google/protobuf/protobuf-java/2.4.1/protobuf-java-2.4.1.jar
[ERROR] urls[101] = file:/Users/jnissenbaum/.m2/repository/org/json/json/20090211/json-20090211.jar
[ERROR] urls[102] = file:/Users/jnissenbaum/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar
[ERROR] urls[103] = file:/Users/jnissenbaum/.m2/repository/com/googlecode/jarjar/jarjar/1.1/jarjar-1.1.jar
[ERROR] urls[104] = file:/Users/jnissenbaum/.m2/repository/com/yahoo/platform/yui/yuicompressor/2.4.7/yuicompressor-2.4.7.jar
[ERROR] urls[105] = file:/Users/jnissenbaum/.m2/repository/rhino/js/1.6R7/js-1.6R7.jar
[ERROR] urls[106] = file:/Users/jnissenbaum/.m2/repository/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
[ERROR] urls[107] = file:/Users/jnissenbaum/.m2/repository/com/googlecode/htmlcompressor/htmlcompressor/1.4/htmlcompressor-1.4.jar
[ERROR] urls[108] = file:/Users/jnissenbaum/.m2/repository/org/apache/wink/wink-client-apache-httpclient/1.1.3-incubating/wink-client-apache-httpclient-1.1.3-incubating.jar
[ERROR] urls[109] = file:/Users/jnissenbaum/.m2/repository/org/apache/httpcomponents/httpclient/4.0.1/httpclient-4.0.1.jar
[ERROR] urls[110] = file:/Users/jnissenbaum/.m2/repository/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1.jar
[ERROR] urls[111] = file:/Users/jnissenbaum/.m2/repository/org/slf4j/jcl-over-slf4j/1.6.1/jcl-over-slf4j-1.6.1.jar
[ERROR] urls[112] = file:/Users/jnissenbaum/.m2/repository/org/apache/maven/archetype/archetype-common/2.2/archetype-common-2.2.jar
[ERROR] urls[113] = file:/Users/jnissenbaum/.m2/repository/org/apache/maven/archetype/archetype-catalog/2.2/archetype-catalog-2.2.jar
[ERROR] urls[114] = file:/Users/jnissenbaum/.m2/repository/org/apache/maven/archetype/archetype-descriptor/2.2/archetype-descriptor-2.2.jar
[ERROR] urls[115] = file:/Users/jnissenbaum/.m2/repository/org/apache/maven/archetype/archetype-registry/2.2/archetype-registry-2.2.jar
[ERROR] urls[116] = file:/Users/jnissenbaum/.m2/repository/net/sourceforge/jchardet/jchardet/1.0/jchardet-1.0.jar
[ERROR] urls[117] = file:/Users/jnissenbaum/.m2/repository/org/apache/maven/shared/maven-invoker/2.0.11/maven-invoker-2.0.11.jar
[ERROR] urls[118] = file:/Users/jnissenbaum/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.8/plexus-velocity-1.1.8.jar
[ERROR] urls[119] = file:/Users/jnissenbaum/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar
[ERROR] urls[120] = file:/Users/jnissenbaum/.m2/repository/org/twdata/maven/mojo-executor/1.5.2/mojo-executor-1.5.2.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[project>com.atlassian.tutorial:helloworld:1.0.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[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/PluginContainerException
Buried in the error, I see:
Unsupported major.minor version 51.0
What JDK version do you have installed? It looks like you are trying to build with JDK 6.x, but the above message indicates that you need at least Java 7.
In particular, you will want to ensure that the JAVA_HOME environment variable points to Java 7 or higher.

Maven GWT dependency

I'm trying to maven install my projects.
I keep getting this error. I was wondering whether anyone can help me. How to resolve this.
As far as I understood It's trying to compile some (org.codehaus.mojo:gwt-maven-plugin) maven's plugin (jar file) and couldn't find some class in it. Correct me if I'm wrong.
[INFO]
[INFO] --- gwt-maven-plugin:2.1.0-1:compile (default) # admin-war ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ecommerce ......................................... SUCCESS [0.430s]
[INFO] admin ............................................. SUCCESS [2.816s]
[INFO] core .............................................. SUCCESS [0.738s]
[INFO] admin-war ......................................... FAILURE [1.444s]
[INFO] site .............................................. SKIPPED
[INFO] site-war .......................................... SKIPPED
[INFO] test .............................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.749s
[INFO] Finished at: Sat Mar 31 17:31:43 IST 2012
[INFO] Final Memory: 18M/260M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.1.0-1:compile (default) on project admin-war: Execution default of goal org.codehaus.mojo:gwt-maven-plugin:2.1.0-1:compile failed: A required class was missing while executing org.codehaus.mojo:gwt-maven-plugin:2.1.0-1:compile: org/apache/commons/io/IOUtils
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.codehaus.mojo:gwt-maven-plugin:2.1.0-1
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/Users/ravi/.m2/repository/org/codehaus/mojo/gwt-maven-plugin/2.1.0-1/gwt-maven-plugin-2.1.0-1.jar
[ERROR] urls[1] = file:/C:/Users/ravi/.m2/repository/org/apache/maven/reporting/maven-reporting-api/3.0/maven-reporting-api-3.0.jar
[ERROR] urls[2] = file:/C:/Users/ravi/.m2/repository/org/apache/maven/reporting/maven-reporting-impl/2.1/maven-reporting-impl-2.1.jar
[ERROR] urls[3] = file:/C:/Users/ravi/.m2/repository/org/apache/maven/doxia/doxia-core/1.1.2/doxia-core-1.1.2.jar
[ERROR] urls[4] = file:/C:/Users/ravi/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar
[ERROR] urls[5] = file:/C:/Users/ravi/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
[ERROR] urls[6] = file:/C:/Users/ravi/.m2/repository/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0.jar
[ERROR] urls[7] = file:/C:/Users/ravi/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
[ERROR] urls[8] = file:/C:/Users/ravi/.m2/repository/commons-digester/commons-digester/1.6/commons-digester-1.6.jar
[ERROR] urls[9] = file:/C:/Users/ravi/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
[ERROR] urls[10] = file:/C:/Users/ravi/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0/doxia-sink-api-1.0.jar
[ERROR] urls[11] = file:/C:/Users/ravi/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.1.4/doxia-site-renderer-1.1.4.jar
[ERROR] urls[12] = file:/C:/Users/ravi/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1.4/doxia-logging-api-1.1.4.jar
[ERROR] urls[13] = file:/C:/Users/ravi/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.1.4/doxia-decoration-model-1.1.4.jar
[ERROR] urls[14] = file:/C:/Users/ravi/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.1.4/doxia-module-xhtml-1.1.4.jar
[ERROR] urls[15] = file:/C:/Users/ravi/.m2/repository/org/apache/maven/doxia/doxia-module-fml/1.1.4/doxia-module-fml-1.1.4.jar
[ERROR] urls[16] = file:/C:/Users/ravi/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
[ERROR] urls[17] = file:/C:/Users/ravi/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.jar
[ERROR] urls[18] = file:/C:/Users/ravi/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar
[ERROR] urls[19] = file:/C:/Users/ravi/.m2/repository/commons-collections/commons-collections/3.2/commons-collections-3.2.jar
[ERROR] urls[20] = file:/C:/Users/ravi/.m2/repository/org/springframework/spring-core/3.0.5.RELEASE/spring-core-3.0.5.RELEASE.jar
[ERROR] urls[21] = file:/C:/Users/ravi/.m2/repository/org/springframework/spring-asm/3.0.5.RELEASE/spring-asm-3.0.5.RELEASE.jar
[ERROR] urls[22] = file:/C:/Users/ravi/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
[ERROR] urls[23] = file:/C:/Users/ravi/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar
[ERROR] urls[24] = file:/C:/Users/ravi/.m2/repository/com/thoughtworks/qdox/qdox/1.12/qdox-1.12.jar
[ERROR] urls[25] = file:/C:/Users/ravi/.m2/repository/freemarker/freemarker/2.3.6/freemarker-2.3.6.jar
[ERROR] urls[26] = file:/C:/Users/ravi/.m2/repository/com/google/gwt/gwt-dev/2.1.0/gwt-dev-2.1.0.jar
[ERROR] urls[27] = file:/C:/Users/ravi/.m2/repository/com/google/gwt/gwt-user/2.1.0/gwt-user-2.1.0.jar
[ERROR] urls[28] = file:/C:/Users/ravi/.m2/repository/com/google/gwt/gwt-servlet/2.1.0/gwt-servlet-2.1.0.jar
[ERROR] urls[29] = file:/C:/Users/ravi/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-9/plexus-archiver-1.0-alpha-9.jar
[ERROR] urls[30] = file:/C:/Users/ravi/.m2/repository/org/codehaus/plexus/plexus-io/1.0-alpha-1/plexus-io-1.0-alpha-1.jar
[ERROR] urls[31] = file:/C:/Users/ravi/.m2/repository/org/apache/maven/maven-archiver/2.4.1/maven-archiver-2.4.1.jar
[ERROR] urls[32] = file:/C:/Users/ravi/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.13/plexus-interpolation-1.13.jar
[ERROR] urls[33] = file:/C:/Users/ravi/.m2/repository/junit/junit/4.8.1/junit-4.8.1.jar
[ERROR] urls[34] = file:/C:/Users/ravi/.m2/repository/org/apache/maven/surefire/surefire-booter/2.4.3/surefire-booter-2.4.3.jar
[ERROR] urls[35] = file:/C:/Users/ravi/.m2/repository/org/apache/maven/surefire/surefire-api/2.4.3/surefire-api-2.4.3.jar
[ERROR] urls[36] = file:/C:/Users/ravi/.m2/repository/commons-lang/commons-lang/2.5/commons-lang-2.5.jar
[ERROR] urls[37] = file:/C:/Users/ravi/.m2/repository/org/jdom/jdom/1.1/jdom-1.1.jar
[ERROR] urls[38] = file:/C:/Users/ravi/.m2/repository/jaxen/jaxen/1.1.1/jaxen-1.1.1.jar
[ERROR] urls[39] = file:/C:/Users/ravi/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar
[ERROR] urls[40] = file:/C:/Users/ravi/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
[ERROR] urls[41] = file:/C:/Users/ravi/.m2/repository/xml-apis/xml-apis/1.3.02/xml-apis-1.3.02.jar
[ERROR] urls[42] = file:/C:/Users/ravi/.m2/repository/xom/xom/1.0/xom-1.0.jar
[ERROR] urls[43] = file:/C:/Users/ravi/.m2/repository/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar
[ERROR] urls[44] = file:/C:/Users/ravi/.m2/repository/xalan/xalan/2.6.0/xalan-2.6.0.jar
[ERROR] urls[45] = file:/C:/Users/ravi/.m2/repository/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.jar
[ERROR] urls[46] = file:/C:/Users/ravi/.m2/repository/org/apache/bcel/bcel/5.2/bcel-5.2.jar
[ERROR] urls[47] = file:/C:/Users/ravi/.m2/repository/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.jar
[ERROR] urls[48] = file:/C:/Users/ravi/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar
[ERROR] urls[49] = file:/C:/Users/ravi/.m2/repository/org/codehaus/plexus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.jar
[ERROR] urls[50] = file:/C:/Users/ravi/.m2/repository/org/codehaus/plexus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------: org.apache.commons.io.IOUtils
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[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/PluginContainerException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :admin-war
Maven cannot find class org.apache.commons.io.IOUtils. This is included in the GWT Dev package.
Consider adding this to your pom:
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-dev</artifactId>
<version>${gwtVersion}</version>
<scope>provided</scope>
</dependency>
The build will give you some warning about including the gwt-dev in your dependencies, but I've never had any problem with that....