You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by da...@apache.org on 2014/07/28 06:01:26 UTC

git commit: [SCM-769] use build helper to attach the generated source and M2E happy

Repository: maven-scm
Updated Branches:
  refs/heads/master 3b4695a81 -> e98f33452


[SCM-769] use build helper to attach the generated source and M2E happy

Project: http://git-wip-us.apache.org/repos/asf/maven-scm/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-scm/commit/e98f3345
Tree: http://git-wip-us.apache.org/repos/asf/maven-scm/tree/e98f3345
Diff: http://git-wip-us.apache.org/repos/asf/maven-scm/diff/e98f3345

Branch: refs/heads/master
Commit: e98f3345265b54da5e292e63a3ee06440cbe3ca2
Parents: 3b4695a
Author: dantran <da...@gmail.com>
Authored: Sun Jul 27 21:01:20 2014 -0700
Committer: dantran <da...@gmail.com>
Committed: Sun Jul 27 21:01:20 2014 -0700

----------------------------------------------------------------------
 .../maven-scm-provider-vss/pom.xml              | 24 ++++++++++++++++++--
 1 file changed, 22 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-scm/blob/e98f3345/maven-scm-providers/maven-scm-provider-vss/pom.xml
----------------------------------------------------------------------
diff --git a/maven-scm-providers/maven-scm-provider-vss/pom.xml b/maven-scm-providers/maven-scm-provider-vss/pom.xml
index b746621..16fe4e8 100644
--- a/maven-scm-providers/maven-scm-provider-vss/pom.xml
+++ b/maven-scm-providers/maven-scm-provider-vss/pom.xml
@@ -45,8 +45,8 @@
             <goals>
               <goal>generate-metadata</goal>
             </goals>
-          </execution>        
-        </executions>        
+          </execution>
+        </executions>
       </plugin>
       <plugin>
         <groupId>org.codehaus.modello</groupId>
@@ -67,6 +67,26 @@
           <model>src/main/mdo/vss-settings.mdo</model>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>build-helper-maven-plugin</artifactId>
+        <version>1.8</version>
+        <executions>
+          <execution>
+            <id>add-modello-source-needed-by-eclipse-since-we-cant-upgrade-modello-maven-plugin</id>
+            <!-- maven actually ignores this goal since it is already done by modello-m-p -->
+            <phase>generate-sources</phase>
+            <goals>
+              <goal>add-source</goal>
+            </goals>
+            <configuration>
+              <sources>
+                <source>${project.build.directory}/generated-sources/modello</source>
+              </sources>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
 </project>