Failed to execute goal io.thorntail:thorntail-maven-plugin:2.2.0.Final:package (default) on project...
I'm having issues with my Maven project. I am trying to use the command "mvn clean install" but I'm having no success. I have updated & cleaned the Maven project in the Eclipse IDE. I have also deleted the folder "repository" within the ".m2" directory. This creates the folder again but I keep getting the same error:
My pom.xml file:
<properties>
<version.thorntail>2.2.0.Final</version.thorntail>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<failOnMissingWebXml>false</failOnMissingWebXml>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.thorntail</groupId>
<artifactId>bom-all</artifactId>
<version>${version.thorntail}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<finalName>demo</finalName>
<plugins>
<plugin>
<groupId>io.thorntail</groupId>
<artifactId>thorntail-maven-plugin</artifactId>
<version>${version.thorntail}</version>
<executions>
<execution>
<goals>
<goal>package</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>io.thorntail</groupId>
<artifactId>jaxrs</artifactId>
</dependency>
<dependency>
<groupId>io.thorntail</groupId>
<artifactId>cdi</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate.ogm</groupId>
<artifactId>hibernate-ogm-mongodb</artifactId>
<version>5.0.0.Final</version>
</dependency>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId>
<version>3.8.0</version>
</dependency>
</dependencies>
Any help would be greatly apreciated!
java maven thorntail
add a comment |
I'm having issues with my Maven project. I am trying to use the command "mvn clean install" but I'm having no success. I have updated & cleaned the Maven project in the Eclipse IDE. I have also deleted the folder "repository" within the ".m2" directory. This creates the folder again but I keep getting the same error:
My pom.xml file:
<properties>
<version.thorntail>2.2.0.Final</version.thorntail>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<failOnMissingWebXml>false</failOnMissingWebXml>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.thorntail</groupId>
<artifactId>bom-all</artifactId>
<version>${version.thorntail}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<finalName>demo</finalName>
<plugins>
<plugin>
<groupId>io.thorntail</groupId>
<artifactId>thorntail-maven-plugin</artifactId>
<version>${version.thorntail}</version>
<executions>
<execution>
<goals>
<goal>package</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>io.thorntail</groupId>
<artifactId>jaxrs</artifactId>
</dependency>
<dependency>
<groupId>io.thorntail</groupId>
<artifactId>cdi</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate.ogm</groupId>
<artifactId>hibernate-ogm-mongodb</artifactId>
<version>5.0.0.Final</version>
</dependency>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId>
<version>3.8.0</version>
</dependency>
</dependencies>
Any help would be greatly apreciated!
java maven thorntail
Tried it your pom.xml and it worked. My Maven Version: 3.5.2 Java: 1.8.0_181
– wirnse
Nov 3 '18 at 1:40
This looks OK on the first sight. What is the JDK version you use?
– Ladicek
Nov 3 '18 at 10:47
add a comment |
I'm having issues with my Maven project. I am trying to use the command "mvn clean install" but I'm having no success. I have updated & cleaned the Maven project in the Eclipse IDE. I have also deleted the folder "repository" within the ".m2" directory. This creates the folder again but I keep getting the same error:
My pom.xml file:
<properties>
<version.thorntail>2.2.0.Final</version.thorntail>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<failOnMissingWebXml>false</failOnMissingWebXml>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.thorntail</groupId>
<artifactId>bom-all</artifactId>
<version>${version.thorntail}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<finalName>demo</finalName>
<plugins>
<plugin>
<groupId>io.thorntail</groupId>
<artifactId>thorntail-maven-plugin</artifactId>
<version>${version.thorntail}</version>
<executions>
<execution>
<goals>
<goal>package</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>io.thorntail</groupId>
<artifactId>jaxrs</artifactId>
</dependency>
<dependency>
<groupId>io.thorntail</groupId>
<artifactId>cdi</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate.ogm</groupId>
<artifactId>hibernate-ogm-mongodb</artifactId>
<version>5.0.0.Final</version>
</dependency>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId>
<version>3.8.0</version>
</dependency>
</dependencies>
Any help would be greatly apreciated!
java maven thorntail
I'm having issues with my Maven project. I am trying to use the command "mvn clean install" but I'm having no success. I have updated & cleaned the Maven project in the Eclipse IDE. I have also deleted the folder "repository" within the ".m2" directory. This creates the folder again but I keep getting the same error:
My pom.xml file:
<properties>
<version.thorntail>2.2.0.Final</version.thorntail>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<failOnMissingWebXml>false</failOnMissingWebXml>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.thorntail</groupId>
<artifactId>bom-all</artifactId>
<version>${version.thorntail}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<finalName>demo</finalName>
<plugins>
<plugin>
<groupId>io.thorntail</groupId>
<artifactId>thorntail-maven-plugin</artifactId>
<version>${version.thorntail}</version>
<executions>
<execution>
<goals>
<goal>package</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>io.thorntail</groupId>
<artifactId>jaxrs</artifactId>
</dependency>
<dependency>
<groupId>io.thorntail</groupId>
<artifactId>cdi</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate.ogm</groupId>
<artifactId>hibernate-ogm-mongodb</artifactId>
<version>5.0.0.Final</version>
</dependency>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId>
<version>3.8.0</version>
</dependency>
</dependencies>
Any help would be greatly apreciated!
java maven thorntail
java maven thorntail
asked Nov 2 '18 at 22:02
RafteryRaftery
233
233
Tried it your pom.xml and it worked. My Maven Version: 3.5.2 Java: 1.8.0_181
– wirnse
Nov 3 '18 at 1:40
This looks OK on the first sight. What is the JDK version you use?
– Ladicek
Nov 3 '18 at 10:47
add a comment |
Tried it your pom.xml and it worked. My Maven Version: 3.5.2 Java: 1.8.0_181
– wirnse
Nov 3 '18 at 1:40
This looks OK on the first sight. What is the JDK version you use?
– Ladicek
Nov 3 '18 at 10:47
Tried it your pom.xml and it worked. My Maven Version: 3.5.2 Java: 1.8.0_181
– wirnse
Nov 3 '18 at 1:40
Tried it your pom.xml and it worked. My Maven Version: 3.5.2 Java: 1.8.0_181
– wirnse
Nov 3 '18 at 1:40
This looks OK on the first sight. What is the JDK version you use?
– Ladicek
Nov 3 '18 at 10:47
This looks OK on the first sight. What is the JDK version you use?
– Ladicek
Nov 3 '18 at 10:47
add a comment |
2 Answers
2
active
oldest
votes
The problem is the Maven version (BTW which one are you using?)
When I run my Thorntail project using eclipse's embedded maven (version 3.5.3 ) it works.
When I run it using my local maven (version 3.6.0) I get the same error.
Solution: use a compatible version of maven. ( try 3.5.3 or 3.5.4) both work without issues with thorntail.
If you want to configure a different eclipse maven version go to:
Eclipse -> preferences -> Maven -> installations
there you can add a new one.
add a comment |
There's a problem due to third-party dependencies in Thorntail 2.x, that are incompatible with latest Maven release. The new Thorntail version should be the 2.3.0.Final once released.
On GitHub, you can track the status of the issue here
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53126325%2ffailed-to-execute-goal-io-thorntailthorntail-maven-plugin2-2-0-finalpackage%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The problem is the Maven version (BTW which one are you using?)
When I run my Thorntail project using eclipse's embedded maven (version 3.5.3 ) it works.
When I run it using my local maven (version 3.6.0) I get the same error.
Solution: use a compatible version of maven. ( try 3.5.3 or 3.5.4) both work without issues with thorntail.
If you want to configure a different eclipse maven version go to:
Eclipse -> preferences -> Maven -> installations
there you can add a new one.
add a comment |
The problem is the Maven version (BTW which one are you using?)
When I run my Thorntail project using eclipse's embedded maven (version 3.5.3 ) it works.
When I run it using my local maven (version 3.6.0) I get the same error.
Solution: use a compatible version of maven. ( try 3.5.3 or 3.5.4) both work without issues with thorntail.
If you want to configure a different eclipse maven version go to:
Eclipse -> preferences -> Maven -> installations
there you can add a new one.
add a comment |
The problem is the Maven version (BTW which one are you using?)
When I run my Thorntail project using eclipse's embedded maven (version 3.5.3 ) it works.
When I run it using my local maven (version 3.6.0) I get the same error.
Solution: use a compatible version of maven. ( try 3.5.3 or 3.5.4) both work without issues with thorntail.
If you want to configure a different eclipse maven version go to:
Eclipse -> preferences -> Maven -> installations
there you can add a new one.
The problem is the Maven version (BTW which one are you using?)
When I run my Thorntail project using eclipse's embedded maven (version 3.5.3 ) it works.
When I run it using my local maven (version 3.6.0) I get the same error.
Solution: use a compatible version of maven. ( try 3.5.3 or 3.5.4) both work without issues with thorntail.
If you want to configure a different eclipse maven version go to:
Eclipse -> preferences -> Maven -> installations
there you can add a new one.
edited Nov 24 '18 at 0:32
answered Nov 24 '18 at 0:24
AlexAlex
33
33
add a comment |
add a comment |
There's a problem due to third-party dependencies in Thorntail 2.x, that are incompatible with latest Maven release. The new Thorntail version should be the 2.3.0.Final once released.
On GitHub, you can track the status of the issue here
add a comment |
There's a problem due to third-party dependencies in Thorntail 2.x, that are incompatible with latest Maven release. The new Thorntail version should be the 2.3.0.Final once released.
On GitHub, you can track the status of the issue here
add a comment |
There's a problem due to third-party dependencies in Thorntail 2.x, that are incompatible with latest Maven release. The new Thorntail version should be the 2.3.0.Final once released.
On GitHub, you can track the status of the issue here
There's a problem due to third-party dependencies in Thorntail 2.x, that are incompatible with latest Maven release. The new Thorntail version should be the 2.3.0.Final once released.
On GitHub, you can track the status of the issue here
edited Jan 4 at 13:46
answered Jan 4 at 11:40
madducimadduci
1,2661731
1,2661731
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53126325%2ffailed-to-execute-goal-io-thorntailthorntail-maven-plugin2-2-0-finalpackage%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Tried it your pom.xml and it worked. My Maven Version: 3.5.2 Java: 1.8.0_181
– wirnse
Nov 3 '18 at 1:40
This looks OK on the first sight. What is the JDK version you use?
– Ladicek
Nov 3 '18 at 10:47