Plugin execution not covered by lifecycle configuration (JBossas 7 EAR archetype)

This is a “feature” of the M2E plugin that had been introduced a while ago. It’s not directly related to the JBoss EAR plugin but also happens with most other Maven plugins. If you have a plugin execution defined in your pom (like the execution of maven-ear-plugin:generate-application-xml), you also need to add additional config information … Read more

Maven2: Missing artifact but jars are in place

There are a few other options apart from Project->Clean, some of which are more along the lines of turning it off and on again. Try right-clicking on the project and selecting Maven->Update Project Configuration. Disable then re-enable dependency management (right-click Maven->Disable Dependency Management then Maven->Enable Dependency Management Close the project and reopen it. Check that … Read more

SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”. error

I can also confirm this error. Workaround: is to use external maven inside m2eclipse, instead of it’s embedded maven. That is done in three steps: 1 Install maven on local machine (the test-machine was Ubuntu 10.10) mvn –version Apache Maven 2.2.1 (rdebian-4) Java version: 1.6.0_20 Java home: /usr/lib/jvm/java-6-openjdk/jre Default locale: de_DE, platform encoding: UTF-8 OS … Read more

Maven: best way of linking custom external JAR to my project?

You can create an In Project Repository, so you don’t have to run mvn install:install-file every time you work on a new computer <repository> <id>in-project</id> <name>In Project Repo</name> <url>file://${project.basedir}/libs</url> </repository> <dependency> <groupId>dropbox</groupId> <artifactId>dropbox-sdk</artifactId> <version>1.3.1</version> </dependency> /groupId/artifactId/version/artifactId-verion.jar detail read this blog post https://web.archive.org/web/20121026021311/charlie.cu.cc/2012/06/how-add-external-libraries-maven

Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved

I had the exact same problem. [ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5: Failure to find org.apache.maven.plugins:maven-resources-plugin:pom:2.5 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> … Read more