The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
20 views

Is it possible to authenticate to Sonatype Nexus via ssh keys

Is it possible to authenticate to Sonatype Nexus via ssh keys or any other method that does not require user password in maven settings.xml? I know there are user generated tokens in Sonatype Nexus ...
0
votes
0answers
34 views

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 ...
0
votes
0answers
27 views

Deploy from Eclipse to Tomcat cluster

I've the following cluster configuration in server.xml on each server (there are two): <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"> <Deployer ...
0
votes
2answers
684 views

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 ...
0
votes
3answers
252 views

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: ...
0
votes
2answers
32 views

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 ...
1
vote
1answer
129 views

Mapping between RPM file names and metadata names generated by maven

We have a Sonatype Nexus repo, where we publish RPMs with the Maven RPM plugin. Snapshots and release versions are available. The issue here is around the mapping between versions. First, I obtain a ...
0
votes
2answers
127 views

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 ...
0
votes
0answers
111 views

How do I create new artifact versions with Gerrit, Jenkins and Nexus?

We have the following setup with our Java projects: Maven for dependency resolution. Gerrit for code review/merge. Jenkins for building/CI etc. Nexus for artifact management. The issue we ...
0
votes
1answer
1k views

Apache Kafka consumer client connecting to Apache Zookeeper: EndOfStreamException

I get an error when trying to 'consume' messages from Kafka (2.9.2-0.8.1) with a Zookeer stand-alone (3.4.5). You can see the source code below as well as the error message and logfile from Zookeeper. ...
1
vote
1answer
119 views

using cas server with mongodb backend

I 'm new to setting up cas(Central Authentication Service) server. I couldn't find any guides to setup mongodb as backend for CAS server. Is there an adapter to connect CAS and mongodb. BTW, we don't ...
0
votes
0answers
33 views

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 ...
2
votes
0answers
485 views

Maven - resolving “java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors”

I am attempting to build/install this project on an Ubuntu 12.04 box: https://bitbucket.org/petermr/pdf2svg However: mvn clean install Fails to build due to getting errors like this: ...
0
votes
1answer
460 views

Maven interfering with Jenkins post build script

I have a Jenkins Maven job that has a post build script written in BASH. Periodically, while the post script is running, it seems like some sort of Maven operation is interfering with the BASH script ...
2
votes
1answer
231 views

Disabling proxy repositories in Nexus

I'm setting up a new small Nexus OSS server on an Amazon EC2 instance. Nexus ships with proxies set up for the Apache, Central, and Codehaus repositories, assuming that the Nexus server will be local ...
0
votes
1answer
419 views

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 ...
0
votes
2answers
145 views

Install Neo4j via Maven

Neo4j says I can install Neo4j via Maven by adding it to my build: <dependency> <groupId>org.neo4j</groupId> <artifactId>neo4j</artifactId> ...
0
votes
1answer
30 views

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 ...
1
vote
0answers
743 views

Can't deploy because folder was not inside a directory whose name ends .war. (JBoss)

I created a default JSF Project using Maven2Eclipse. When I try to start the home.xhtml JBoss returns the following error Message: (DeploymentScanner-threads - 1) JBAS015010: The deployment ...
1
vote
0answers
236 views

what is the default size of jvm heap when using maven to create jvm?

I am using the server started by the following command. mvn jetty:run i want to stop the server, but i failed to run mvn jetty:stop, even faild to run java -version, why? [mirror@home wpse]$ mvn ...
0
votes
1answer
83 views

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 ...
0
votes
2answers
1k views

“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 ...
2
votes
1answer
2k views

Overriding attributes with Chef Solo

I'm trying to install Maven 3 using Chef Solo and the following cookbook: http://community.opscode.com/cookbooks/maven The cookbook installs Maven 2 by default, and the first time I ran it, it ...
0
votes
1answer
265 views

What outbound ports does Nexus Repository Manager use to download Maven artifacts from other repos?

I'm loading up Nexus on a VM with all outbound ports locked down. I need to know what outbound ports Nexus uses to do whatever it does in all scenarios. Let's assume the repositories it connects to ...
1
vote
2answers
44 views

Keeping application library versions in synch with server

I have a maven based application, and it references certain libraries that are marked as provided by my application server, such as: <dependency> <groupId>javax.servlet</groupId> ...
0
votes
1answer
378 views

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.
2
votes
0answers
415 views

Using Squid as a maven repository

Does someone know how to use Squid to proxify maven repositories ? What are the configuration files for that ? The main problem is that maven client issue HTTP request with headers which control the ...
7
votes
3answers
3k views

How can I download Maven artifacts in chef?

I want to do something like this in a chef recipe: maven_artifact "/opt/foo/my.jar" do source "com.foo:my:0.1:jar" end But I can't find a cookbook which provides this. I've written something ...
1
vote
0answers
410 views

Sonatype Nexus incompletely proxies external repository

I'm currently attempting to set up a proxy repository (as described in the Nexus guide) for the Bukkit repository, in order to build some dependent projects locally. I'm using the URL: ...
0
votes
1answer
398 views

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 ...
2
votes
2answers
2k views

ant doesnt get the library dependencies

My system: Windows 7 Ant Version: 1.8.2 JDK: 1.6.27 x64 Sorry Im starting to work with ant and currently trying to install it properly. When I type in cmd this command: ant -f fetch.xml ...
2
votes
1answer
640 views

Running Hudson builds with a lower process priority

At my office we have an older server running Hudson (1.395) and a collection of other things (JIRA and SVN being the important two). When Husdon is running builds, the slowdown on the server is very ...
0
votes
2answers
168 views

Running Maven on port 80

This question is a followup to this one. I got Apache running on port 80 on one of my four IPs pretty easily. Now I need to run Maven on port 80 on another IP. Running Maven on port 80 is already ...
1
vote
2answers
231 views

Running two services on port 80

I need to run Apache and Maven on my server, and because of cross-domain security restrictions they must both be running on port 80. Originally I achieved this using HAProxy, but this got in the way ...
3
votes
1answer
2k views

GUI Tests in Hudson (Jenkins) on Windows

I will try to keep this question simple. I've done much research on the topic, and haven't found any solution. GUI Tests fail when doing maven builds on Hudson (Jenkins). Hudson is running as a ...
0
votes
2answers
2k views

Why does Sonatype Nexus seem to be taking up a ton of memory and CPU time?

Running nexus on Amazon Linux on my SC2 instance. Clean install, then I built a small project against it. Not being used by anyone but me. When I first start Nexus, CPU utilization starts out at ...
4
votes
4answers
6k views

java.lang.OutOfMemoryError: unable to create new native thread

I consistently get this exception when trying to run my Junit tests on my mac: java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) ...
1
vote
1answer
292 views

maven + cruisecontrol - slow builds

I am running cruisecontrol with maven to build a Scala-project. When I run mvn package outside cruisecontrol,the build takes less than 10 seconds, but when I invoke the build from cruisecontrol, the ...
7
votes
1answer
6k views

Migrate Sonatype Nexus repo from one machine to another

I am trying to migrate nexus repo. How can I go about it, any pointers?
0
votes
1answer
750 views

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 ...
0
votes
1answer
1k views

Can I authenticate to Artifactory or Nexus repositories via SSH?

We're looking for a maven repo with a better browser interface, and a question has come up about whether plaintext passwords in .m2/settings.xml can be replaced with an SSH key when using either ...