archiva

Can I use ivy dependency info in my ant build file

南笙酒味 提交于 2020-01-25 05:27:45
问题 In my ivy.xml file I have dependency statements like: <dependency conf="*->*" org="gnu" name="gcc" rev="4.2.1" changing="false"> <artifact name="gcc" ext="tbz2" e:classifier="src"/> </dependency> 'rev=' can be a fixed value or 'latest' or whatever. In my build file I would like to get hold of the value of 'rev' to be uses in further work flow after resolve is run. Is there any way to do that or read a property for this? 回答1: Use the artifactproperty task <ivy:artifactproperty name="version.

wrapper | OpenSCManager failed - Access is denied. (0x5)

谁都会走 提交于 2020-01-22 20:08:09
问题 I am trying to install Archiva on windows 8.1 pro (64 bit) and I am continuously getting the same error as below wrapper | OpenSCManager failed - Access is denied. (0x5). I logged in as administrator only. But still I am getting the same error. Most of the answers for the same problem I am seeing it for VISTA and 7 etc.. But not for Windows8.1 Pro (64 bit) 回答1: You need to run that command as an administrator. Right-click on the command prompt entry in the start menu / task bar Select "Run as

wrapper | OpenSCManager failed - Access is denied. (0x5)

醉酒当歌 提交于 2020-01-22 20:08:08
问题 I am trying to install Archiva on windows 8.1 pro (64 bit) and I am continuously getting the same error as below wrapper | OpenSCManager failed - Access is denied. (0x5). I logged in as administrator only. But still I am getting the same error. Most of the answers for the same problem I am seeing it for VISTA and 7 etc.. But not for Windows8.1 Pro (64 bit) 回答1: You need to run that command as an administrator. Right-click on the command prompt entry in the start menu / task bar Select "Run as

Maven repository lookup order

Deadly 提交于 2020-01-09 11:13:43
问题 We have an internal Apache Archiva based repository and we have configured the repositories tag in pom.xml to be as follows. Can I assume that all dependency access will get resolved by internal repository if you have access to it and will get resolved by other repositories listed below, if internal repository is down for a certain reason. <repositories> <repository> <id>internal</id> <name>Internal Repository</name> <url>http://192.168.1.2/archiva/repository/internal</url> </repository>

What is the difference between running an application as a service or deploying it on a container?

拟墨画扇 提交于 2020-01-05 08:14:18
问题 I need to install the following applications for our continuous delivery strategy: Jenkins and Apache Archiva But they offer: to be install as a windows service or to be deploy in a container (i.e. Tomcat) I was wondering if installing those applications as a service will give us better performance, reliability, security or whatsoever or the other way around or nothing at all Thank you! 回答1: From the official documentation for installing Jenkins on Windows: If you're running on Windows it is

Archiva ignoring Security.properties

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-03 19:42:29
问题 Seems like archiva 2.2 is completely ignoring Security properties I am following this document: I have set up the security.properties file under D:\Apache\Archiva-2.2.0\conf When I am setting a new password for a user in Archiva UI I am still getting: You must provide a password containing at least 1 numeric character(s). security.properties content: # Security Policies #security.policy.password.encoder= security.policy.password.previous.count=9999 security.policy.password.expiration.days

Apache Archiva 2.2.0 Network Proxy does not appear to be working

百般思念 提交于 2020-01-03 18:58:49
问题 I have been trying to set up an Enterprise repository for our company using Archiva. While the installation was quite simple, I am now stuck at issue where the Archiva could not reach out to the Central Repository via our corporate proxy. I did the following to setup the Proxy (Screen shots below) Added a Network Proxy via the Apache UI. Updated the ProxyConnector. Updated the configuration for Central repository I still see the Remote Check fails. Any insights? I did double check the Proxy

Deploying non Maven based module src and tests jar to Archiva in a single transaction

蓝咒 提交于 2019-12-24 12:21:08
问题 Is it possible to use Maven deploy:deploy-file or similar to deploy your main src jar snapshot and the test src jar snapshot to Archiva so that it results in a single entry? Currently I have an Ant project which has jars I want publishing to Archiva and here is how I am doing it: <!--Main Src Jar--> <exec executable="${maven.bin}" dir="../lib"> <arg value="deploy:deploy-file" /> <arg value="-DgroupId=com.xxx.gt" /> <arg value="-DartifactId=${ant.project.name}" /> <arg value="-Dversion=$

Maven deploy:deploy-file not found due to version/timestamp appended to jar

别说谁变了你拦得住时间么 提交于 2019-12-24 07:26:38
问题 I'm having a problem using deploy:deploy-file with snapshots I'd like some advice on please. I have 2 projects; 1) Ant based and 2) the other Maven based that consumes the jars of the other project via Archiva . I've added a target to the Ant project to deploy snapshots on every successful build during our iteration. The problem is the Maven project cannot find them because the name of the dependency has a timestamp appended like so : someJar-1.0-20100407.171211-1.jar Here is the Ant target:

Deploy Artifact From Jenkins to Archiva with NAnt

假如想象 提交于 2019-12-13 19:34:22
问题 I'm admittedly new to the whole continuous integration idea. As such, I've been scouring the web to find a way to take my ASP.NET project, feed it through Jenkins for auto-build using NAnt and mono on a Linux box, and ultimately deploy the artifact into Apache Archiva to be retrieved later for installation, etc. My problem is, I don't know how to integrate this hand-off of the artifact from Jenkins to Archiva. So, here's what I understand: Archiva can be used to store any type of artifact.