All Questions

720
votes
33answers
708114 views

How to solve "Plugin execution not covered by lifecycle configuration" for Spring Data Maven Builds

I am trying to work with Spring Data and Neo4j. I started by trying to follow this guide linked to by the main site. In particular I based my pom.xml off of the "Hello, World!" example file. Here is a...
703
votes
22answers
464705 views

How to add local jar files to a Maven project?

How do I add local jar files (not yet part of the Maven repository) directly in my project's library sources?
8
votes
1answers
17624 views

How to properly install and configure JSF libraries via Maven?

I'm trying to deploy a JSF based application to Tomcat 6. The way my build system is setup, the WAR itself doesn't have any libraries in it, because this server is serving a total of 43 apps. Instead,...
610
votes
10answers
380565 views

How do I tell Maven to use the latest version of a dependency?

In Maven, dependencies are usually set up like this: <dependency> <groupId>wonderful-inc</groupId> <artifactId>dream-library</artifactId> <version>1.2.3</...
501
votes
18answers
555054 views

Force maven update

I imported my working project on other computer so it started to download dependencies. Apparently in the meantime my internet connection crashed. Now I get: Build errors for comics; org.apache...
72
votes
6answers
55755 views

Building a fat jar using maven

I have a code base which I want to distribute as jar. It also have dependency on external jars, which I want to bundle in the final jar. I heard that this can be done using maven-assembly-plug-in, b...
25
votes
1answers
9348 views

How are maven scopes mapped to ivy configurations by ivy

Maven repositories, like Maven Repository offer the widest range of projects for dependency management. Ivy offers the possibility to access maven repositories and download artifacts from there. Ther...
132
votes
26answers
449432 views

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

org.apache.maven.plugin.PluginResolutionException: 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 o...
170
votes
4answers
97214 views

Maven: What is pluginManagement?

This is a snippet of my pom file. .... <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>mav...
5
votes
1answers
2065 views

Intellij IDEA Forge setup error

I wanted to switch to IntelliJ for forge modding (minecraft). When I do what they are saying to do on internet, I get a maven error... Unindexed remote maven repositories found. Disable.....

Previous Next