Questions tagged [maven]

Maven is a build tool primarily for compiling, building, testing, and deploying Java artifacts and managing their dependencies.

69 questions
0
votes
1 answer

How to configure jenkins on ec2 to run whenever there's a new build in my project repository

I wanna set a jenkins CI for the first time in a linux EC2 (I'm working from windows). My jobs are in maven. The thing is: how do I set jenkins to detect whenever there's a new build in my remote ec2 repo, how do I connect them both? I tried to…
0
votes
0 answers

WebApp won't compile in CentOS 7 server, but does compile in Windows

I am getting a "resource marked as read-only" error when I try to compile a war file on a CentOS 7 installation. But the same eclipse project does not throw any compilation error on Windows after I zip the project up, transfer it to windows, and…
CodeMed
  • 315
  • 1
  • 8
  • 21
0
votes
2 answers

Dependancy error when building maven project

I'm trying to move an application from being built locally on a Windows Eclipse installation to a Jenkins server. From what I can see the settings are correct and the dependencies should resolve. Even the ones it is complaining about are there when…
Chris
  • 195
  • 3
  • 8
0
votes
4 answers

Jenkins maven java 7 permission issue

I'm getting this error when attempting a Maven build in Jenkins, Building in workspace /var/lib/jenkins/workspace/xxxxprojectnamedeletedforprivacyxxxx java.nio.file.AccessDeniedException: /usr/share/maven/lib/maven-settings-3.x.jar at…
merge delete
  • 115
  • 1
  • 8
0
votes
3 answers

Nexus: Link to latest release of an artifact

How to create a link to get the latest release of an artifact? E.g. org.foo:bar would have 1.0 and 2.0, and the link would return the 2.0 release; and when 3.0 is released and deployed, the same link would return the 3.0 release, etc.
Ondra Žižka
  • 434
  • 2
  • 5
  • 14
0
votes
3 answers

How do I capture the Maven Jar name as a part of a Hudson job?

I have a Maven 3 job configured in my Hudson server. When the Hudson server successfully builds the Maven jar, I have the jar being deployed to an SCP repository on another server. I want to execute a relink.sh script on the remote host where one of…
Lorin S.
  • 95
  • 1
  • 2
  • 10
0
votes
0 answers

apt/maven/npm checksum failure on amazon ec2

I'm recently encountering multiple download checksum failures when booting ec2 machine. This manifests itself with sporadic failures of apt, maven and npm installs. In one case that the pom checksum failed, I found a Fastly Debug message in the…
Itai Frenkel
  • 203
  • 1
  • 8
0
votes
1 answer

Maven release plugin throwing Hostname Not found exception?

I am trying to release a project in jenkins and getting a host not found exception. Caused by: java.lang.RuntimeException: java.net.UnknownHostException: XXXXXXXXXXXXXXX: nodename nor servname provided, or not known at…
Usman Ismail
  • 105
  • 1
  • 8
0
votes
2 answers

Install Neo4j via Maven

Neo4j says I can install Neo4j via Maven by adding it to my build: org.neo4j neo4j 1.8.1 But do I need a build? If so, what should my pom.xml look like? I…
webjay
  • 127
  • 10
0
votes
1 answer

Debugging a Maven Generated WAR

Maven generated a WAR via an automated build, but then the WAR had to be manually tweaked so that an Apache/Tomcat combo on another computer could host the WAR. The logs didn't provide much info, so I'm looking at the exploded WAR folder of a…
Kevin Meredith
  • 1,269
  • 2
  • 15
  • 21
0
votes
1 answer

Modifying Maven POM to Get File Locally

My mvn build is trying to grab the following file from an online repository. http://BAD_WEBSITE/repositories/smpsnapshots/org/jboss/aop/jboss-aop/ 2.0.0-SNAPSHOT/maven-metadata.xml However, that URL no longer exists. I have the maven-metadata.xml…
Kevin Meredith
  • 1,269
  • 2
  • 15
  • 21
0
votes
2 answers

"Connection Timed Out" on Guest Machine

When I run "mvn install" on my guest VM box, I get multiple "Connection Timed Out" errors when searching for a file to download. [WARNING] Unable to get resource 'org.apache.maven.wagon:wagon-file:pom:1.0-alpha-5' from repository maven-nexus…
Kevin Meredith
  • 1,269
  • 2
  • 15
  • 21
0
votes
1 answer

Rpm repo for java on centos 6

Is there any other repo from jpackage available for centos 6? I don't like to build tomcat, maven from sources. many thanks.
ykhrustalev
  • 121
  • 4
0
votes
2 answers

Problems hosting a Jetty application on the same server as IIS.

I am a .Net programmer, lately developing a website in Jsp, using Jetty. I use Eclipse and the Maven-Jetty plugin. I have a virtual private server, which has IIS installed and is serving .NET websites. My domain name (for the Jsp website) redirects…
Yaron
  • 101
  • 3
0
votes
1 answer

Running Sonatype Nexus in Tomcat 7.0, Tomcat blocking PUT requests

I was previously running Nexus 1.8 on OSX and uploading jars for releases without any issues. The OSX box died, so I moved to a FreeBSD server. Since Nexus doesn't have binaries for FreeBSD, I decided to run it in my Tomcat container. Now, I have…
gdm
  • 265
  • 2
  • 7