You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2016/12/03 13:04:33 UTC

svn commit: r1772464 - /maven/shared/trunk/maven-reporting-exec/pom.xml

Author: rfscholte
Date: Sat Dec  3 13:04:33 2016
New Revision: 1772464

URL: http://svn.apache.org/viewvc?rev=1772464&view=rev
Log:
Pass source+target to m-invoker-p, easiest way to override default values of maven-compiler-plugin
Use jigsaw profile with groovy-all-2.4.8-SNAPSHOT, which fixes #AwkwardStrongEncapsulation issue

Modified:
    maven/shared/trunk/maven-reporting-exec/pom.xml

Modified: maven/shared/trunk/maven-reporting-exec/pom.xml
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-reporting-exec/pom.xml?rev=1772464&r1=1772463&r2=1772464&view=diff
==============================================================================
--- maven/shared/trunk/maven-reporting-exec/pom.xml (original)
+++ maven/shared/trunk/maven-reporting-exec/pom.xml Sat Dec  3 13:04:33 2016
@@ -329,6 +329,10 @@
           <pomIncludes>
             <pomInclude>*/pom.xml</pomInclude>
           </pomIncludes>
+          <properties>
+            <maven.compiler.source>${maven.compiler.source}</maven.compiler.source>
+            <maven.compiler.target>${maven.compiler.target}</maven.compiler.target>
+          </properties>
         </configuration>
         <executions>
           <execution>
@@ -343,4 +347,41 @@
       </plugin>
     </plugins>
   </build>
+
+  <profiles>
+    <profile>
+      <id>jigsaw</id>
+      <activation>
+        <jdk>[9,)</jdk>
+      </activation>
+      <pluginRepositories>
+        <pluginRepository>
+          <id>oss-jfrog</id>
+          <url>https://oss.jfrog.org/oss-snapshot-local/</url>
+          <releases>
+            <enabled>false</enabled>
+          </releases>
+          <snapshots>
+            <enabled>true</enabled>
+          </snapshots>
+        </pluginRepository>
+      </pluginRepositories>
+
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-invoker-plugin</artifactId>
+            <dependencies>
+              <dependency>
+                <groupId>org.codehaus.groovy</groupId>
+                <artifactId>groovy-all</artifactId>
+                <version>2.4.8-SNAPSHOT</version>
+              </dependency>
+            </dependencies>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>