Questions tagged [maven]

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

69 questions
2
votes
2 answers

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 -Ddest=system to get the library dependencies, according…
cOnf_ua
  • 41
  • 5
2
votes
1 answer

How to build maven project from another folder in azure devops pipeline?

In github actions, we can set this using - name: Build with Maven working-directory: ./VaultService run: mvn clean package --file pom.xml env: CI: false But there is no working-directory option in azure devops. Even I tried below one, but…
Sara June
  • 451
  • 1
  • 9
  • 28
1
vote
2 answers

Tomcat Lib Folder JARs and Classpath

I'm not sure if this is the right place to ask this, but I'll go ahead anyway! I am trying to deploy a JAR that I built with maven into the Tomcat/lib folder. The problem I'm having is that all the classpath JARs for the JAR that I built, aren't…
hell_storm2004
  • 157
  • 1
  • 3
  • 11
1
vote
1 answer

Jenkins stopped building jobs unexpectedly

I installed Jenkins in centos 2.6 in production server and created several build jobs for Maven projects on Java and Groovy. All build jobs were being built periodically. Suddenly it stopped 2 weeks before and all build jobs were stopped. After I…
Rahman
  • 111
  • 3
1
vote
1 answer

Apache Archiva with ssl proxy

I am quite a newbie in the field of server configuration. At work we want to setup a Maven repository with Apache Archiva, basically we want a place in which store the Maven projects we create. I am able to run Archiva on localhost and to access…
1
vote
0 answers

Opendaylight Cluster : Error resolving artifactorg.jolokia:jolokia-osgi:jar:1.1.5:Could not transfer artifact

I'm using the integration distribution of Karaf (0.4.1-Beryllium) to deploy a 3 node cluster with Opendaylight Controller. After using the deploy.py script and checking all the configuration files on each node are fine , I'm getting this error in…
JaviC
  • 11
  • 1
1
vote
1 answer

Making war inside Docker stuck on NPM

Using Docker to make war file to attach to Apache Tomcat. Struggling to use NPM/MVN to get Tomcat war up. I'm behind a corporate proxy and the make scripts don't have "bower install --allow-root" (Realized upon looking up). As we all know, Docker…
user192756
1
vote
1 answer

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 list of snapshots in Nexus: yum --showduplicates…
Jepper
  • 366
  • 1
  • 4
  • 13
1
vote
1 answer

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. I'm not sure if the Java libraries are…
sema
  • 121
  • 1
  • 2
  • 7
1
vote
1 answer

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 want to use LDAP. I have installed necessary…
cuteboyucsc
  • 21
  • 1
  • 4
1
vote
1 answer

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 causing the build to fail. Here's some sample…
quickshiftin
  • 2,125
  • 5
  • 27
  • 41
1
vote
0 answers

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 jetty:stop ///////////// Error occurred…
giantforest
  • 239
  • 1
  • 4
  • 15
1
vote
1 answer

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 use their corresponding standard ports.
Neil
  • 2,425
  • 8
  • 36
  • 45
1
vote
2 answers

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: javax.servlet servlet-api 2.5 …
Jeff Storey
  • 448
  • 1
  • 7
  • 19
1
vote
0 answers

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: http://repo.bukkit.org/content/repositories/bukkit_repos/ It…
Tim
  • 1,158
  • 1
  • 14
  • 23