Closed olaf-otto closed 8 years ago
Hi, I am using plugin 0.0.24, but It doesn't work.
@hoangbienit, you need to upgrade to a newer Maven version.
@vladbailescu
I am using Apache maven 3.5.0
mvn -v Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-04T02:39:06+07:00)
The plugin com.day.jcr.vault:content-package-maven-plugin:0.0.24 requires Maven version 3.1.0
How to fix it? Thank & regards, Bien
@hoangbienit, I just tested with Maven 3.5.0 (on both Java 7 and 8) and the project builds successfully.
The artifact mentioned in your error (lyf-web.ui.apps
) seems like a dependency or module that you added/created. Can you check if you're able to build the current master
branch without any other changes?
in my case I got this same error , looks like this plugin goal requires running AEM. after starting AEM and running mvn -PautoInstallPackage install solved the issue
"org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.day.jcr.vault:content-package-maven-plugin:0.0.24:install (install-package) on project echo62.ui.apps: Connection refused (Connection refused) "
I am getting a similar error as above, that @aaerrolla posted on Mar 2nd.
"Failed to execute goal com.day.jcr.vault:content-package-maven-plugin:0.0.24:install (install-content-package) on project aem-www.ui.apps: Connection refused (Connection refused)"
I am getting a similar error as above, that @aaerrolla posted on Mar 2nd.
"Failed to execute goal com.day.jcr.vault:content-package-maven-plugin:0.0.24:install (install-content-package) on project aem-www.ui.apps: Connection refused (Connection refused)"
This happens when your instance of AEM is not running
Hello @dfrusone i am getting the same error as you mentioned and even my instance is working but still this issue is coming again and again. ANY OTHER REASON ?
I am getting a similar error as above, that @aaerrolla posted on Mar 2nd.
"Failed to execute goal com.day.jcr.vault:content-package-maven-plugin:0.0.24:install (install-content-package) on project aem-www.ui.apps: Connection refused (Connection refused)"
This happens when your instance of AEM is not running
Resolve my problem
@yashduggal Try restart your running environment
Currently, the packaging by the content package maven plugin may fail using java 1.8 + mvn 3.3.3:
This works, however, when using content-package-maven plugin 0.0.24. This currently is the latest version and should be configured explicitly IMO.