You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@turbine.apache.org by gk...@apache.org on 2021/02/24 14:32:19 UTC

svn commit: r1886881 - /turbine/maven/turbine-parent/trunk/pom.xml

Author: gk
Date: Wed Feb 24 14:32:19 2021
New Revision: 1886881

URL: http://svn.apache.org/viewvc?rev=1886881&view=rev
Log:
- use java8 profile for any java version higher also
- add source if installing into local repo (IDE lookup might be more accurate)

Modified:
    turbine/maven/turbine-parent/trunk/pom.xml

Modified: turbine/maven/turbine-parent/trunk/pom.xml
URL: http://svn.apache.org/viewvc/turbine/maven/turbine-parent/trunk/pom.xml?rev=1886881&r1=1886880&r2=1886881&view=diff
==============================================================================
--- turbine/maven/turbine-parent/trunk/pom.xml (original)
+++ turbine/maven/turbine-parent/trunk/pom.xml Wed Feb 24 14:32:19 2021
@@ -290,6 +290,20 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>attach-sources</id>
+            <!-- to push to locale repo phase must be before install -->
+            <phase>verify</phase>
+            <goals>
+              <goal>jar-no-fork</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
   <reporting>
@@ -549,7 +563,7 @@
     <profile>
       <id>java8</id>
       <activation>
-        <jdk>8</jdk>
+        <jdk>[8,)</jdk>
       </activation>
       <properties>
         <doclint>none</doclint><!-- since javadoc v.3 this is required instead