apex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject [2/2] incubator-apex-core git commit: Enable artifact deployment.
Date Sat, 23 Apr 2016 17:39:46 GMT
Enable artifact deployment.


Project: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/commit/43add789
Tree: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/tree/43add789
Diff: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/diff/43add789

Branch: refs/heads/master
Commit: 43add78907c41d6cb8320c09a9e89ec9c0dd21af
Parents: 59a7fc2
Author: Thomas Weise <thomas@datatorrent.com>
Authored: Sat Apr 23 00:21:00 2016 -0700
Committer: Thomas Weise <thomas@datatorrent.com>
Committed: Sat Apr 23 00:21:00 2016 -0700

----------------------------------------------------------------------
 shaded-ning19/pom.xml | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-apex-core/blob/43add789/shaded-ning19/pom.xml
----------------------------------------------------------------------
diff --git a/shaded-ning19/pom.xml b/shaded-ning19/pom.xml
index 17b4936..e35dea1 100644
--- a/shaded-ning19/pom.xml
+++ b/shaded-ning19/pom.xml
@@ -22,6 +22,11 @@
 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.apache.apex</groupId>
+    <artifactId>apex</artifactId>
+    <version>3.3.0-incubating</version>
+  </parent>
   <groupId>org.apache.apex</groupId>
   <artifactId>apex-shaded-ning19</artifactId>
   <version>1.0.0</version>
@@ -29,9 +34,20 @@
   <name>Apache Apex Shaded ning async-http-client library</name>
   <packaging>jar</packaging>
 
+  <properties>
+    <!-- skip source archives -->
+    <assembly.attach>false</assembly.attach>
+  </properties>
+
   <build>
     <plugins>
       <plugin>
+        <artifactId>maven-source-plugin</artifactId>
+        <configuration>
+          <skipSource>true</skipSource>
+        </configuration>
+      </plugin>
+      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-shade-plugin</artifactId>
       </plugin>
@@ -62,10 +78,30 @@
                   <shadedPattern>org.apache.apex.shaded.ning19.org.jboss</shadedPattern>
                 </relocation>
               </relocations>
+              <dependencyReducedPomLocation>target/reduced-pom.xml</dependencyReducedPomLocation>
             </configuration>
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>flatten-maven-plugin</artifactId>
+        <version>1.0.0</version>
+        <configuration>
+          <outputDirectory>${project.basedir}/target</outputDirectory>
+          <flattenMode>clean</flattenMode>
+          <pomElements><name/></pomElements>
+        </configuration>
+        <executions>
+          <execution>
+            <id>flatten</id>
+            <phase>package</phase>
+            <goals>
+              <goal>flatten</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
 


Mime
View raw message