[
https://issues.apache.org/jira/browse/TOMEE-4416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17888658#comment-17888658
]
Lars Decker commented on TOMEE-4416:
------------------------------------
And later on the build fails with:
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:java
(default) on project apache-tomee: An exception occured while executing the
Java class. org.apache.tomee.bootstrap.GenerateBoms -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:3.0.0:java (default) on project
apache-tomee: An exception occured while executing the Java class.
org.apache.tomee.bootstrap.GenerateBoms
Caused by: java.lang.ClassNotFoundException:
org.apache.tomee.bootstrap.GenerateBoms
at java.net.URLClassLoader.findClass (URLClassLoader.java:445)
at java.lang.ClassLoader.loadClass (ClassLoader.java:592)
at java.lang.ClassLoader.loadClass (ClassLoader.java:525)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:246)
at java.lang.Thread.run (Thread.java:833)
If i remove the following plugin that is referred two times in
tomee\apache-tomee\pom.xml I can build successfull:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<includeProjectDependencies>true</includeProjectDependencies>
<includePluginDependencies>false</includePluginDependencies>
<classpathScope>test</classpathScope>
<mainClass>org.apache.tomee.bootstrap.GenerateBoms</mainClass>
</configuration>
</plugin>
> TomEE 10 M3 cannot be build
> ---------------------------
>
> Key: TOMEE-4416
> URL: https://issues.apache.org/jira/browse/TOMEE-4416
> Project: TomEE
> Issue Type: Bug
> Affects Versions: 10.0.0-M3
> Reporter: Lars Decker
> Priority: Major
>
> After a fresh checkout the project cannot be build as
> server\openejb-http\pom.xml
> is missing jetty utils dependencies:
> <dependency>
> <groupId>org.eclipse.jetty</groupId>
> <artifactId>jetty-util</artifactId>
> <version>${version.jetty}</version>
> </dependency>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)