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/06/29 09:11:14 UTC

svn commit: r1891136 - in /turbine/fulcrum/trunk/json/dist: pom.xml src/assembly/src.xml

Author: gk
Date: Tue Jun 29 09:11:14 2021
New Revision: 1891136

URL: http://svn.apache.org/viewvc?rev=1891136&view=rev
Log:
- moved dist to profile apache-release 8AS IN FILCRUM-SECURITY9 
- set sub-directory (name of the arifact) to be created when unpacking the distribution.

Modified:
    turbine/fulcrum/trunk/json/dist/pom.xml
    turbine/fulcrum/trunk/json/dist/src/assembly/src.xml

Modified: turbine/fulcrum/trunk/json/dist/pom.xml
URL: http://svn.apache.org/viewvc/turbine/fulcrum/trunk/json/dist/pom.xml?rev=1891136&r1=1891135&r2=1891136&view=diff
==============================================================================
--- turbine/fulcrum/trunk/json/dist/pom.xml (original)
+++ turbine/fulcrum/trunk/json/dist/pom.xml Tue Jun 29 09:11:14 2021
@@ -65,30 +65,40 @@
           <skip>true</skip>
         </configuration>
       </plugin>
-      <plugin>
-        <!-- build the source and binary distribution packages -->
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-assembly-plugin</artifactId>
-        <executions>
-            <execution>
-                <id>fulcrum-release-assembly</id>
-                <phase>package</phase>
-                <goals>
-                    <goal>single</goal>
-                </goals>
-                <configuration>
-                    <runOnlyAtExecutionRoot>false</runOnlyAtExecutionRoot>
-                    <!--outputDirectory>${file.separator}/${project.artifactId}-${project.version}</outputDirectory-->
-                    <descriptors>
-                      <descriptor>src/assembly/bin.xml</descriptor>
-                      <descriptor>src/assembly/src.xml</descriptor>
-                    </descriptors>
-                    <tarLongFileFormat>gnu</tarLongFileFormat>
-                </configuration>
-            </execution>
-        </executions>
-    </plugin>
+
     </plugins>
   </build>
+  
+   <profiles>
+        <profile>
+            <id>apache-release</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <!-- build the source and binary distribution packages -->
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-assembly-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>fulcrum-release-assembly</id>
+                                <phase>package</phase>
+                                <goals>
+                                    <goal>single</goal>
+                                </goals>
+                                <configuration>
+                                    <runOnlyAtExecutionRoot>false</runOnlyAtExecutionRoot>
+                                    <descriptors>
+                                      <descriptor>src/assembly/bin.xml</descriptor>
+                                      <descriptor>src/assembly/src.xml</descriptor>
+                                    </descriptors>
+                                    <tarLongFileFormat>gnu</tarLongFileFormat>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
 
 </project>
\ No newline at end of file

Modified: turbine/fulcrum/trunk/json/dist/src/assembly/src.xml
URL: http://svn.apache.org/viewvc/turbine/fulcrum/trunk/json/dist/src/assembly/src.xml?rev=1891136&r1=1891135&r2=1891136&view=diff
==============================================================================
--- turbine/fulcrum/trunk/json/dist/src/assembly/src.xml (original)
+++ turbine/fulcrum/trunk/json/dist/src/assembly/src.xml Tue Jun 29 09:11:14 2021
@@ -25,7 +25,6 @@
     <format>tar.gz</format>
     <format>zip</format>
   </formats>
-  <includeBaseDirectory>false</includeBaseDirectory>
   <moduleSets>
     <moduleSet>
       <useAllReactorProjects>true</useAllReactorProjects>