Maven 3 warnings about build.plugins.plugin.version

Add a <version> element after the <plugin> <artifactId> in your pom.xml file. Find the following text: <plugin> <artifactId>maven-compiler-plugin</artifactId> Add the version tag to it: <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> The warning should be resolved. Regarding this: ‘build.plugins.plugin.version’ for org.apache.maven.plugins:maven-compiler-plugin is missing Many people have mentioned why the issue is happening, but fail to suggest a fix. All … Read more

What is a Maven artifact?

An artifact is a file, usually a JAR, that gets deployed to a Maven repository. A Maven build produces one or more artifacts, such as a compiled JAR and a “sources” JAR. Each artifact has a group ID (usually a reversed domain name, like com.example.foo), an artifact ID (just a name), and a version string. … Read more

Updating version numbers of modules in a multi-module Maven project

Use versions:set from the versions-maven plugin: mvn versions:set -DnewVersion=2.50.1-SNAPSHOT It will adjust all pom versions, parent versions and dependency versions in a multi-module project. If you made a mistake, do mvn versions:revert afterwards, or mvn versions:commit if you’re happy with the results. Note: this solution assumes that all modules use the aggregate pom as parent … Read more

How to fix error “Updating Maven Project”. Unsupported IClasspathEntry kind=4?

This issue has been fixed in m2e 1.5.0 which is available for Eclipse Kepler (4.3) and Luna (4.4) Please see https://bugs.eclipse.org/bugs/show_bug.cgi?id=374332#c14 The problem is caused by the fact that STS (the Spring IDE/Eclipse), as well Eclipse and other Eclipse based IDE’s, use the m2e(clipse) plugin but that eclipse:eclipse has been probably been run on the … Read more

IntelliJ – Convert a Java project/module into a Maven project/module

Right-click on the module, select “Add framework support…”, and check the “Maven” technology. (This also creates a pom.xml for you to modify.) If you mean adding source repository elements, I think you need to do that manually–not sure. Pre-IntelliJ 13 this won’t convert the project to the Maven Standard Directory Layout, 13+ it will.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)