build both zip and tar.gz source archives; don't push these to Nexus

Project: http://git-wip-us.apache.org/repos/asf/bval/repo
Commit: http://git-wip-us.apache.org/repos/asf/bval/commit/975dab0c
Tree: http://git-wip-us.apache.org/repos/asf/bval/tree/975dab0c
Diff: http://git-wip-us.apache.org/repos/asf/bval/diff/975dab0c

Branch: refs/heads/master
Commit: 975dab0c9e5d30b3a7b0bfb60546d5d792fe19ef
Parents: 732e7a6
Author: Matt Benson <[email protected]>
Authored: Thu Oct 18 13:33:05 2018 -0500
Committer: Matt Benson <[email protected]>
Committed: Thu Oct 18 13:33:05 2018 -0500

----------------------------------------------------------------------
 pom.xml | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bval/blob/975dab0c/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 5707e4c..fbebde5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -45,6 +45,7 @@
         <site.checkout>${user.home}/apache-bval-site</site.checkout>
         
<site.url>scm:svn:https://svn.apache.org/repos/infra/websites/production/bval/content/mvnsite</site.url>
         <site.server>bval.site</site.server>
+        
<sourceReleaseAssemblyDescriptor>source-release-zip-tar</sourceReleaseAssemblyDescriptor>
     </properties>
 
     <inceptionYear>2010</inceptionYear>
@@ -56,7 +57,7 @@
         
<developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/bval</developerConnection>
         <url>http://git-wip-us.apache.org/repos/asf/bval</url>
         <tag>HEAD</tag>
-  </scm>
+    </scm>
 
     <mailingLists>
         <mailingList>
@@ -714,7 +715,6 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-scm-publish-plugin</artifactId>
-                <version>3.0.0</version>
                 <inherited>false</inherited>
                 <configuration>
                     <pubScmUrl>${site.url}</pubScmUrl>
@@ -732,6 +732,14 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <configuration>
+                    <!-- don't attach source archives/push to Maven 
repositories -->
+                    <attach>false</attach>
+                </configuration>
+            </plugin>
             <!-- Don't include in all builds for now
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>

Reply via email to