Questions tagged [archiva]

Apache Archiva is an open source repository management software

Apache Archiva is an open source repository management software

254 questions
3
votes
1 answer

Maven - Archiva - Setting up Archiva for different geographic locations

We have developers working in different geographic locations and we want to set up Archiva for each of those geographic locations (just to make sure that the round trip in getting the artifacts is less). Is it possible that whenever an artifact is…
peakit
  • 28,597
  • 27
  • 63
  • 80
3
votes
1 answer

Gradle unnable to resolve archiva dependencies

I have looked at the answer here, but it did not quite apply: Gradle Not Resolving Maven Repo on localhost basically, I have a trivial gradle project and corresponding build.gradle: apply plugin: 'maven' apply plugin: 'java' repositories { …
Julio Garcia
  • 1,087
  • 3
  • 14
  • 22
3
votes
1 answer

Maven is picking up the oldest snapshot in Archiva - why?

I have a projectA-parent with the following structure: projectA-parent| ----------------|projectA ----------------|projectA-core ----------------|projectA-api The module projectA simply defines dependencies to core and api [1], so I can just define…
mmalmeida
  • 1,037
  • 9
  • 27
3
votes
1 answer

Maven can't resolve dependencies for project from archiva repo

we are using archiva and maven a long time. Everything works fine till now. A new developer started at our company and when he tries to set up his environment he gets that error: 13:41:50 [ERROR] Failed to execute goal on project our_project-util:…
ssc-seifert
  • 115
  • 1
  • 2
  • 8
3
votes
2 answers

Publishing artifacts with sources on archiva

At work I'm dipping my toes in managing project dependencies with maven. We use Apache Archiva (1.2.1) as a local repository and proxy. I'm adding artifact for open source project, that is not published on any public repository. I've learned that to…
Palimondo
  • 7,281
  • 4
  • 39
  • 58
3
votes
3 answers

Getting JNotify into Maven/Archiva

I am currently working on a project that includes using JNotify to monitor when a directory/file has been created, renamed/modified, and deleted. The project is being built in Java 6, not Java 7. JNotify uses JNI to hook into the native OS to…
Edward Kennedy
  • 137
  • 1
  • 9
2
votes
3 answers

What is the best jar organization strategy?

If we are building a large library of java classes, what determines when it is best to split them into separate jar files? My understanding is that having one large jar file should not significantly affect the JVM performance. However, there is…
Mike
  • 145
  • 2
  • 8
2
votes
1 answer

How do i set Maven to retrieve dependencies first from my own remote repository (Archiva)?

How do i set Maven to retrieve external dependencies first from my own remote repository (using Archiva), and if its not found, Archiva will download from external sources, and at the same time saves the downloaded dependency?
Oh Chin Boon
  • 23,028
  • 51
  • 143
  • 215
2
votes
1 answer

Deploy All Project Dependencies to a Remote Repository

We hava a new project friend and we want to install the project to his enviroment. But there are too many dependencies that not exists in the maven repository. So maven became useless. We installed an archiva server to install our artifacts there,…
MartK
  • 614
  • 2
  • 8
  • 21
2
votes
0 answers

JS NPM package into Apache Archiva

I have a npm package and want to store it to archiva as per versions, same as NPM repository. Can someone guide me on this?
2
votes
0 answers

Maven 401 unauthorized when deploying on archiva

I'm getting a "401 unauthorized" error from Apache Archiva repository when I try to deploy from a Maven build. When using Maven 3.1.1 or lower it's working fine, I can deploy snapshots or releases on the Archiva repo. As soon as i'm using Maven…
Lark
  • 21
  • 10
2
votes
1 answer

Archiva context path is ignored on Tomcat

About installing archiva, followed http://archiva.apache.org/docs/2.2.3/adminguide/webapp.html
eastwater
  • 4,624
  • 9
  • 49
  • 118
2
votes
1 answer

Apache Archiva file upload size

If I upload an artifact (~23MB file size) in Apache-Archiva 2.2.1, I get an upload-error in the UI: fileupload.errors.Request Entity Too Large This occurs also with mvn deploy: Return code is: 413, ReasonPhrase: Request Entity Too Large Archiva…
f.milano
  • 43
  • 5
2
votes
1 answer

Archiva keeps showing deleted SNAPSHOT version artifacts in Browse

Our Archiva Repository (version 2.2.1) is configured with both a snapshot and a release repositories. Snapshot repository is configured with 1 retention count, 1 day old, and to delete released snapshots. And also, the repository-purge consumer is…
Gurthorc
  • 21
  • 3
2
votes
1 answer

Archiva deployment on wildfly 10

I have the following problem when i try to deploy archiva 2.2.1 on wildfly 10. Can someone help me to resolve it ? Unexpected HTTP response: 500 Request { "operation" => "deploy", "address" => [("deployment" =>…