Maven check for updated dependencies in repository

Is there a Maven plugin that allows you to check if there are newer versions of dependencies available in the repository? Say, you are using dependency X with version 1.2. Now a new version of X is released with version 1.3. I’d like to know, based on the dependencies used in my project, which dependencies … Read more

Specifying Java version in maven – differences between properties and compiler plugin

I’m not very experienced with Maven and while experimenting with multi-module project I started wondering how can I specify Java version for all my child modules in parent Maven pom. Until today I was using just: <properties> <java.version>1.8</java.version> </properties> …but when researching I found that you can also specify Java version in Maven compiler plugin, … Read more

How to install Maven 3 on Ubuntu 18.04/17.04/16.10/16.04 LTS/15.10/15.04/14.10/14.04 LTS/13.10/13.04 by using apt-get? [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Stack Overflow. Closed 8 years ago. Improve this question Try: sudo apt-get install maven If it works for you ignore the rest of this post. Intro I started setting up my Ubuntu … Read more

Maven 3 warnings about build.plugins.plugin.version

Since I updated to Maven 3 I get the following warning messages at each build : How can I get rid of these warnings? [INFO] Scanning for projects… [WARNING] [WARNING] Some problems were encountered while building the effective model for proj:id:jar:3.1 [WARNING] ‘build.plugins.plugin.version’ for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ line 195, column 15 [WARNING] ‘build.plugins.plugin.version’ for … Read more

How to configure encoding in Maven?

When I run maven install on my multi module maven project I always get the following output: [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! So, I googled around a bit, but all I can find is that I have to add: <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> …to my … Read more

Maven Install on Mac OS X

I’m trying to install maven through the terminal by following these instructions. So far I got this: export M2_HOME=/user/apple/apache-maven-3.0.3 export M2=$M2_HOME/bin export PATH=$M2:$PATH export JAVA_HOME=/usr/java/jdk1.6.0_22 Where do you go to find this? 26 s 26 Alternatively, I recommend installing Homebrew for these kinds of utilities. Then you just install Maven using: brew install maven PS: … Read more