Re: finding dependencies that should be marked as compile

2016-02-26 Thread jieryn
https://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html On Fri, Feb 26, 2016 at 9:29 PM, Jamie Johnson wrote: > Is there a way to list any dependencies that are being pulled in > transitively that really should be marked as compile? I'd like to isolate >

finding dependencies that should be marked as compile

2016-02-26 Thread Jamie Johnson
Is there a way to list any dependencies that are being pulled in transitively that really should be marked as compile? I'd like to isolate any dependencies that I may be missing from the compile scope. Additionally, is there a way to identify dependencies that are listed as compile that aren't

Difficulty pulling artifact out of Central Repo

2016-02-26 Thread Nick Hill
Hello, I'm attempting to download a specific jar from the Central Repo, but am running into some issues. If I go here: http://repo1.maven.org/maven2/org/seleniumhq/selenium/selenium-firefox-driver/2.44.0/ And attempt to download the jar "selenium-firefox-driver-2.44.0.jar", I'll get a

Re: "Perhaps you are running on a JRE rather than a JDK?" error building with maven.

2016-02-26 Thread Karl Heinz Marbaise
Hi, i would recommend you to use Maven 3.X at least..and don't use Maven 2.X anymore..(cause it's End Of Life)... Where does JAVA_HOME point to? to /home/user/ProgramFiles/jdk1.8.0_71/ or /home/user/ProgramFiles/jdk1.8.0_71/jre ? Kind regards Karl Heinz Marbaise On 2/26/16 3:24 PM, Gintare

Re: "Perhaps you are running on a JRE rather than a JDK?" error building with maven.

2016-02-26 Thread Nick Stolwijk
On Fri, Feb 26, 2016 at 3:24 PM, Gintare Ragaisiene < gintare.ragaisi...@gmail.com> wrote: > Java home: /home/user/ProgramFiles/jdk1.8.0_71/jre > You are using the JRE which is delivered with the JDK. Try setting your JAVA_HOME and your PATH variables to the JDK bin directory instead of the JRE

"Perhaps you are running on a JRE rather than a JDK?" error building with maven.

2016-02-26 Thread Gintare Ragaisiene
Hello I want to use swagger-codegen on Ubuntu 14.04 LTS (OS type 64-bit). So I downloaded the source code from https://github.com/swagger-api/swagger-codegen/tree/v2.1.5 , unzipped it and build with maven. $ sudo mvn -e package The error appears: ... [INFO] Copying 438 resources [INFO]

Re: Need help in executing a Java program and testng.xml one after other using Maven

2016-02-26 Thread Francois-Xavier Bonnet
Hi, You should be able to execute your Java program and bind it to the maven lifecycle using builder-maven-plugin: https://javabuild.java.net/ 2016-02-26 7:26 GMT+01:00 maheshbedampeta : > ​My question is that I wanted to execute a testNG suite file and a java > program