gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r792089 - in /gump/mvnrepo/tags/HELIOS_20090708: ./ src/java/org/apache/gump/mvnrepoproxy/restlets/ArtifactAdder.java
Date Wed, 08 Jul 2009 10:15:28 GMT
Author: bodewig
Date: Wed Jul  8 10:15:27 2009
New Revision: 792089

URL: http://svn.apache.org/viewvc?rev=792089&view=rev
Log:
forgot that pom.xml is a very likely name for POMs

Modified:
    gump/mvnrepo/tags/HELIOS_20090708/   (props changed)
    gump/mvnrepo/tags/HELIOS_20090708/src/java/org/apache/gump/mvnrepoproxy/restlets/ArtifactAdder.java

Propchange: gump/mvnrepo/tags/HELIOS_20090708/
------------------------------------------------------------------------------
    svn:mergeinfo = /gump/mvnrepo/trunk:792088

Modified: gump/mvnrepo/tags/HELIOS_20090708/src/java/org/apache/gump/mvnrepoproxy/restlets/ArtifactAdder.java
URL: http://svn.apache.org/viewvc/gump/mvnrepo/tags/HELIOS_20090708/src/java/org/apache/gump/mvnrepoproxy/restlets/ArtifactAdder.java?rev=792089&r1=792088&r2=792089&view=diff
==============================================================================
--- gump/mvnrepo/tags/HELIOS_20090708/src/java/org/apache/gump/mvnrepoproxy/restlets/ArtifactAdder.java
(original)
+++ gump/mvnrepo/tags/HELIOS_20090708/src/java/org/apache/gump/mvnrepoproxy/restlets/ArtifactAdder.java
Wed Jul  8 10:15:27 2009
@@ -40,6 +40,7 @@
         String fileName =
             (String) request.getAttributes().get(Constants.FILE_NAME);
         String artifactType = fileName.endsWith(Constants.POM_TYPE)
+            || fileName.endsWith("pom.xml")
             ? Constants.POM_TYPE : Constants.JAR_TYPE;
 
         getLogger().info("adding " + artifactType + " artifact with groupId '"



Mime
View raw message