maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r965097 - /maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-artifact/src/main/java/org/apache/maven/plugin/coreit/BuildPomMojo.java
Date Sat, 17 Jul 2010 15:53:39 GMT
Author: bentmann
Date: Sat Jul 17 15:53:39 2010
New Revision: 965097

URL: http://svn.apache.org/viewvc?rev=965097&view=rev
Log:
o Extended plugin to detect stub models

Modified:
    maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-artifact/src/main/java/org/apache/maven/plugin/coreit/BuildPomMojo.java

Modified: maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-artifact/src/main/java/org/apache/maven/plugin/coreit/BuildPomMojo.java
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-artifact/src/main/java/org/apache/maven/plugin/coreit/BuildPomMojo.java?rev=965097&r1=965096&r2=965097&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-artifact/src/main/java/org/apache/maven/plugin/coreit/BuildPomMojo.java
(original)
+++ maven/core-integration-testing/trunk/core-it-support/core-it-plugins/maven-it-plugin-artifact/src/main/java/org/apache/maven/plugin/coreit/BuildPomMojo.java
Sat Jul 17 15:53:39 2010
@@ -123,6 +123,8 @@ public class BuildPomMojo
                     MavenProject project = builder.buildFromRepository( artifact, remoteRepositories,
localRepository );
 
                     String key = artifact.getId() + ".";
+                    props.setProperty( key + "project.name", project.getName() );
+                    props.setProperty( key + "project.description", project.getDescription()
);
                     props.setProperty( key + "project.id", project.getId() );
                     if ( project.getArtifact() != null )
                     {



Mime
View raw message