geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r680326 - in /geronimo/gshell/trunk: gshell-support/gshell-artifact/src/main/java/org/apache/geronimo/gshell/artifact/GShellArtifactMetadataSource.java pom.xml
Date Mon, 28 Jul 2008 11:54:24 GMT
Author: jdillon
Date: Mon Jul 28 04:54:23 2008
New Revision: 680326

URL: http://svn.apache.org/viewvc?rev=680326&view=rev
Log:
Update to latest maven-artifact

Modified:
    geronimo/gshell/trunk/gshell-support/gshell-artifact/src/main/java/org/apache/geronimo/gshell/artifact/GShellArtifactMetadataSource.java
    geronimo/gshell/trunk/pom.xml

Modified: geronimo/gshell/trunk/gshell-support/gshell-artifact/src/main/java/org/apache/geronimo/gshell/artifact/GShellArtifactMetadataSource.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-artifact/src/main/java/org/apache/geronimo/gshell/artifact/GShellArtifactMetadataSource.java?rev=680326&r1=680325&r2=680326&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-artifact/src/main/java/org/apache/geronimo/gshell/artifact/GShellArtifactMetadataSource.java
(original)
+++ geronimo/gshell/trunk/gshell-support/gshell-artifact/src/main/java/org/apache/geronimo/gshell/artifact/GShellArtifactMetadataSource.java
Mon Jul 28 04:54:23 2008
@@ -78,4 +78,34 @@
         
         return versions;
     }
+
+    public List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository(final
Artifact artifact, final ArtifactRepository localRepository, final ArtifactRepository deploymentRepository1)
+        throws ArtifactMetadataRetrievalException
+    {
+        assert delegate != null;
+        assert repositoryManager != null;
+
+        log.trace("Retrieving available versions from deployment repo; artifact={}, local={},
deployment={}", new Object[] { artifact, localRepository, deploymentRepository1 });
+
+        List<ArtifactVersion> versions = delegate.retrieveAvailableVersionsFromDeploymentRepository(artifact,
localRepository, deploymentRepository1);
+
+        log.trace("Available versions: {}", versions);
+
+        return versions;
+    }
+
+    public Artifact retrieveRelocatedArtifact(final Artifact artifact, final ArtifactRepository
localRepository, final List<ArtifactRepository> remoteRepositories)
+        throws ArtifactMetadataRetrievalException
+    {
+        assert delegate != null;
+        assert repositoryManager != null;
+
+        log.trace("Retrieving relocated artirfat; artifact={}, local={}, remote={}", new
Object[] { artifact, localRepository, remoteRepositories });
+
+        Artifact relocated = delegate.retrieveRelocatedArtifact(artifact, localRepository,
repositoryManager.selectRemoteRepositories(remoteRepositories));
+
+        log.trace("Relocated artifact: {}", relocated);
+
+        return relocated;
+    }
 }

Modified: geronimo/gshell/trunk/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/pom.xml?rev=680326&r1=680325&r2=680326&view=diff
==============================================================================
--- geronimo/gshell/trunk/pom.xml (original)
+++ geronimo/gshell/trunk/pom.xml Mon Jul 28 04:54:23 2008
@@ -40,7 +40,26 @@
     <description>
         GShell is a framework for building rich command-line applications.
     </description>
+    
+    <!--
+    FIXME:
+    
+    <url>http://geronimo.apache.org/maven-generated/${project.artifactId}/${project.version}</url>
 
+    <scm>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/geronimo/${project.artifactId}/trunk</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/geronimo/${project.artifactId}/trunk</developerConnection>
+        <url>http://svn.apache.org/viewvc/geronimo/${project.artifactId}/trunk</url>
+    </scm>
+    
+    <distributionManagement>
+        <site>
+            <id>geronimo-website</id>
+            <url>scp://people.apache.org/www/geronimo.apache.org/maven-generated/${project.artifactId}/${project.version}</url>
+        </site>
+    </distributionManagement>
+    -->
+    
     <dependencyManagement>
         <dependencies>
             <dependency>
@@ -134,19 +153,19 @@
             <dependency>
                 <groupId>org.codehaus.plexus</groupId>
                 <artifactId>plexus-utils</artifactId>
-                <version>1.5.4</version>
+                <version>1.5.5</version>
             </dependency>
 
             <dependency>
                 <groupId>org.codehaus.plexus</groupId>
                 <artifactId>plexus-interpolation</artifactId>
-                <version>1.0</version>
+                <version>1.2</version>
             </dependency>
 
             <dependency>
                 <groupId>org.apache.maven.artifact</groupId>
                 <artifactId>maven-artifact</artifactId>
-                <version>3.0-SNAPSHOT</version>
+                <version>3.0-alpha-1</version>
             </dependency>
 
             <dependency>



Mime
View raw message