archiva

archiva graphic interface doesn't find my artifact

限于喜欢 提交于 2019-12-13 05:17:49
问题 I have this problem, i have tried to publish an artifact of mine in my archiva repository, but even if phisical it seems that everything is ok when i go to the ui view of archiva i don't find anything about that artifact. I have allready try to do the scan of the repositories, but nothing happens, i had look into the log file, and the only error that i see is this one Not a valid artifact path in a Maven 2 repository, filename 'bbi-resutil.jar' doesn't start with artifact ID 'resutil' i

How to add a repository to archiva?

≯℡__Kan透↙ 提交于 2019-12-13 03:37:19
问题 I have installed archiva on a server and when I access the dashboard, I can't find option to make new project or upload repositories. Any idea on how to do it? EDIT:: Now it looks something like this: Do we have documentation on how to create repository and add artifacts? 回答1: You probably had a corrupt admin setup due to which you were not able to see the admin page. Recover your admin account. 回答2: Found the answer: Good documentation here!! http://archiva.apache.org/docs/1.4-M4/adminguide

Unable to use the Linux service to start Archiva 2.1.0

谁说胖子不能爱 提交于 2019-12-12 14:49:06
问题 I'm trying to start the recently published Apache Archiva v2.1.0 (Standalone) on Linux. For testing purpose, the zip has been uncompressed in /opt/archiva-2.0 . The docs says: http://archiva.apache.org/docs/2.1.0/adminguide/standalone.html On Linux, the bin/archiva script is suitable for linking or copying to /etc/init.d/archiva and running as root, as long as the RUN_AS_USER environment variable is set within the script. So I've copied the /opt/archiva-2.0/bin/archiva Shell script in /opt

Archiva: Setting metadata properties

筅森魡賤 提交于 2019-12-11 21:04:27
问题 I cannot find the UI for setting archiva properties in the current version: Have I missed something (logged in as admin)? 回答1: What do you mean with properties ? Maybe http://archiva.apache.org/docs/1.4-M3/userguide/browsing.html see Metadata section ? 来源: https://stackoverflow.com/questions/16486967/archiva-setting-metadata-properties

user friendly artifact procurement in maven

柔情痞子 提交于 2019-12-11 12:09:00
问题 We need convention about libraries and frameworks we use in our team. It will be best if we just type somewhere something like "allowed to use org.jvnet.jax-ws-commons:jaxws-maven-plugin:2.3" and then this dependency and all transitive dependencies is allowed automatically. Which repository and which capability supports it? I try procurement capability of nexus, but it works with already loaded artifacts and not allows/disallows transitive dependencies(IMHO nexus procurement implementation is

Apache archiva returns http error 503

坚强是说给别人听的谎言 提交于 2019-12-11 06:38:49
问题 I am using apache Archiva v. 2.2.0 under Windows Server 2012 R2, Java version 1.8.0_60 inside VirtualBox. It used to work for quite a long time before Windows autoupdate. After Windows autoupdate I am getting an error message when going to archiva url: HTTP ERROR: 503 . Problem accessing /. Reason: Service Unavailable, Powered by Jetty://. The Apache Archiva service is running. No error logs are generated. Restarting or even reinstalling of the service has no impact. After rolling back of

How do I download programmatically a single artifact from apache archiva using REST?

萝らか妹 提交于 2019-12-10 22:23:22
问题 I went through the documentation and found many useful things. I am currently using apache archiva as a mirror. Downloading the artifacts with maven works fine but I would like to be able to download the artifact using REST api for certain reasons. For now I can do it by using a direct url to the artifact's download URL which does not seem to be a good way of doing it. Is there any rest service I missed which would allow me to do the following server:port/restServices/getArtifact/groupId

Deploy Apache Archiva on tomcat 6

99封情书 提交于 2019-12-10 20:35:03
问题 I am trying to deploy Apache Archiva on my Server, but it just fails all the time. specs: os: ubuntu 10.04 tomcat: Apache Tomcat/6.0.24 jvm: 1.6.0_27-b27 $CATALINA_HOME : /usr/share/tomcat6 $CATALINA_BASE : /var/lib/tomcat6 $CATALINA_OPTS : "-Dappserver.home=$CATALINA_HOME -Dappserver.base=$CATALINA_BASE" path to lib : $CATALINA_BASE/common/lib #java -version java version "1.6.0_27" OpenJDK Runtime Environment (IcedTea6 1.12.3) (6b27-1.12.3-0ubuntu1~10.04.1) OpenJDK Client VM (build 20.0-b12,

Apache archiva not able to connect to central

江枫思渺然 提交于 2019-12-10 19:58:39
问题 I setup apache archiva using simple way archiva start I am using default internal repository to test connection to central by executing following from my browser http://localhost:8080/repository/internal/junit/junit/3.8.1/junit-3.8.1.jar I get it in ./logs/archiva.log 2016-04-28 13:11:42,351 [qtp957020437-29] WARN org.apache.archiva.proxy.DefaultRepositoryProxyConnectors [] - Transfer error from repository central for artifact junit:junit:3.8.1::pom , continuing to next repository. Error

How to make the Stand Alone Archiva distribution the ROOT application under Jetty?

帅比萌擦擦* 提交于 2019-12-08 05:00:45
问题 I am using the stand alone version of Archiva, it uses Jetty for its application container. It defaults to something like http://mycompany.com:8080/archiva I want to get rid of the application context and just make it http://mycompany.com:8080/ so I can map it to a sub-domain using Virtual Hosts in Apache 2.2.x. I can't figure out what to change in the configuration files. Here is the jetty.xml file with all the comments cut out for brevity. <?xml version="1.0"?> <!DOCTYPE Configure PUBLIC "-