incubator-nmaven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sisb...@apache.org
Subject svn commit: r549204 - /incubator/nmaven/trunk/plugins/maven-repository-plugin/src/main/java/org/apache/maven/dotnet/plugin/repository/RepositoryAssemblerMojo.java
Date Wed, 20 Jun 2007 19:30:50 GMT
Author: sisbell
Date: Wed Jun 20 12:30:50 2007
New Revision: 549204

URL: http://svn.apache.org/viewvc?view=rev&rev=549204
Log:
Fixed problem in the repository assembler where the .NET artifacts were assemblied with a
version in the file name.

Modified:
    incubator/nmaven/trunk/plugins/maven-repository-plugin/src/main/java/org/apache/maven/dotnet/plugin/repository/RepositoryAssemblerMojo.java

Modified: incubator/nmaven/trunk/plugins/maven-repository-plugin/src/main/java/org/apache/maven/dotnet/plugin/repository/RepositoryAssemblerMojo.java
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/plugins/maven-repository-plugin/src/main/java/org/apache/maven/dotnet/plugin/repository/RepositoryAssemblerMojo.java?view=diff&rev=549204&r1=549203&r2=549204
==============================================================================
--- incubator/nmaven/trunk/plugins/maven-repository-plugin/src/main/java/org/apache/maven/dotnet/plugin/repository/RepositoryAssemblerMojo.java
(original)
+++ incubator/nmaven/trunk/plugins/maven-repository-plugin/src/main/java/org/apache/maven/dotnet/plugin/repository/RepositoryAssemblerMojo.java
Wed Jun 20 12:30:50 2007
@@ -114,14 +114,14 @@
 
         for ( Dependency dependency : (List<Dependency>) project.getDependencies()
)
         {
-            if ( !dependency.getType().equals( ArtifactType.LIBRARY.getTargetCompileType())
&&
+            if ( !dependency.getType().equals( ArtifactType.LIBRARY.getTargetCompileType()
) &&
                 !dependency.getType().equals( ArtifactType.NETPLUGIN.getPackagingType() )
&&
                 !dependency.getType().equals( ArtifactType.EXE.getTargetCompileType() ) &&
                 !dependency.getType().equals( ArtifactType.EXECONFIG.getTargetCompileType()
) &&
                 !dependency.getType().equals( ArtifactType.MODULE.getTargetCompileType()
) &&
                 !dependency.getType().equals( ArtifactType.NAR.getTargetCompileType() ) &&
                 !dependency.getType().equals( ArtifactType.VISUAL_STUDIO_ADDIN.getTargetCompileType()
) &&
-                !dependency.getType().equals( ArtifactType.WINEXE.getTargetCompileType()
))
+                !dependency.getType().equals( ArtifactType.WINEXE.getTargetCompileType()
) )
             {
                 javaDependencies.add( dependency );
             }
@@ -149,8 +149,7 @@
                                                                                         
               "file://" +
                                                                                         
                   project.getBuild().getDirectory() +
                                                                                         
                   "/archive-temp/releases",
-                                                                                        
               new DefaultRepositoryLayout(),
-                                                                                        
               true );
+                                                                                        
               layout, true );
 
         try
         {



Mime
View raw message