Re: mvn eclipse:eclipse Cache not downloadable sources in Archiva?
There will be several enhancements for this in the next release of the eclipse plugin (global cache of the local repository, ...). Arnaud On Mon, Apr 21, 2008 at 10:56 AM, Brett Porter [EMAIL PROTECTED] wrote: failure caching is only enabled for 404's in Archiva 1.1. The best thing to do would be to add **/*-sources.jar to the black list on the proxy connector so it never attempts to get any remotely. - Brett On 21/04/2008, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I´m using Archiva 1.0.2. When calling mvn eclipse:eclipse on a multimodule project, Archiva is always trying to download sources, which tooks a long time for checking, as for example: [INFO] Using source status cache: S:\pdv_cms\GDCAMS\src\target\mvn-eclipse-cache.properties Downloading: http://cams-build2.intern:8080/archiva/repository/internal//org/springframework/spring-core/2.0.2/spring-core-2.0.2-sources.jar Downloading: http://cams-build2.intern:8080/archiva/repository/3rdParty//org/springframework/spring-core/2.0.2/spring-core-2.0.2-sources.jar Downloading: http://cams-build2.intern:8080/archiva/repository/internal/org/springframework/spring-core/2.0.2/spring-core-2.0.2-sources.jar Downloading: http://cams-build2.intern:8080/archiva/repository/internal//avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3-sources.jar Downloading: http://cams-build2.intern:8080/archiva/repository/3rdParty//avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3-sources.jar Downloading: http://cams-build2.intern:8080/archiva/repository/internal/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3-sources.jar Downloading: http://cams-build2.intern:8080/archiva/repository/internal//org/springframework/spring-beans/2.0.2/spring-beans-2.0.2-sources.jar Downloading: http://cams-build2.intern:8080/archiva/repository/3rdParty//org/springframework/spring-beans/2.0.2/spring-beans-2.0.2-sources.jar I configured Archiva to cacheFailure at each proxy-connector - but that doesn´t work. How can I speed up the call of mvn eclipse:eclipse? Is there any configuration available to cache the information about not available sources.jars ? Thanx, Torsten -- Brett Porter Blog: http://blogs.exist.com/bporter/ -- .. Arnaud HERITIER .. OCTO Technology - aheritier AT octo DOT com www.octo.com | blog.octo.com .. ASF - aheritier AT apache DOT org www.apache.org | maven.apache.org ...
Re: Error uploading artifact (MRM-753)
Brett proposed to try if the change in wagon for archiva 1.1 will change this. I'll try to free some hours to test it, because it is a very very anoying bug. The repository doesn't have all data and our CI server fails without a real reason. Arnaud On Wed, Apr 16, 2008 at 10:55 AM, Benoit Decherf [EMAIL PROTECTED] wrote: Hi, We are blocked by this issue. This is blocker because if it fails while uploading a jar file, then the pom is already in the repo and the metadata.xml is already updated. It makes the others components that depend on it to fails. Is there any workaround ? The stacktrace shows that it come from the security module (redback). Is it possible to desactivate it ? Benoit -- .. Arnaud HERITIER .. OCTO Technology - aheritier AT octo DOT com www.octo.com | blog.octo.com .. ASF - aheritier AT apache DOT org www.apache.org | maven.apache.org ...
Re: Building archiva failed
Which version of maven 2 are you using ? I built it successfully with maven 2.0.4 and some plugins updated (mvn -U) Arnaud Minto van der Sluis wrote: Hi folks, I just tried to build archiva like mentioned in the documentation. Unfortunately I get 'rewarded' with an error. When I do mvn install I get the following error: ... [INFO] [INFO] Building Archiva Runtime Generator [INFO]task-segment: [install] [INFO] [INFO] [plexus:descriptor {execution: default}] [WARNING] Specified source directory isn't a directory: '/home/minto/rommel/test/maven/archiva/archiva-plexus-runtime/src/main/java'. [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [plexus:merge-descriptors {execution: default}] [INFO] [compiler:compile] [INFO] No sources to compile [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] No tests to run. [INFO] [jar:jar] [WARNING] JAR will be empty - no content was marked for inclusion! [INFO] Building jar: /home/minto/rommel/test/maven/archiva/archiva-plexus-runtime/target/archiva-plexus-runtime-1.0-SNAPSHOT.jar [WARNING] DEPRECATED [descriptor]: Please use descriptors instead [INFO] [assembly:single {execution: default}] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error creating assembly: You must set at least one file. [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error creating assembly: You must set at least one file. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi fecycle(DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:454) ... However everthing seems to compile just fine as mvn compile does not give me an error. You guys probably wanna know what revision I am on, so here it is: [EMAIL PROTECTED]:~/rommel/test/maven/archiva$ svn up At revision 482978. Does anyone have a clue what caused this? Kind regards, Minto van der Sluis -- View this message in context: http://www.nabble.com/Building-archiva-failed-tf2766950.html#a7718699 Sent from the archiva-users mailing list archive at Nabble.com.