You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by ro...@apache.org on 2019/10/16 16:00:10 UTC

[aries-cdi] 01/02: more build cleanup

This is an automated email from the ASF dual-hosted git repository.

rotty3000 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/aries-cdi.git

commit a4feff78689eb21bbc599d7968c48d9e9384ae99
Author: Raymond Augé <ro...@apache.org>
AuthorDate: Tue May 28 13:57:56 2019 -0400

    more build cleanup
    
    Signed-off-by: Raymond Augé <ro...@apache.org>
---
 pom.xml | 39 +++++++++++++++++++++++++++++++++++----
 1 file changed, 35 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index 8f29352..10a15e9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
 	<parent>
 		<groupId>org.apache</groupId>
 		<artifactId>apache</artifactId>
-		<version>17</version>
+		<version>21</version>
 		<relativePath />
 	</parent>
 
@@ -247,16 +247,47 @@
 								<exclude>**/.settings/**</exclude>
 								<exclude>**/eclipse-classes/**/*</exclude>
 								<exclude>.gitignore</exclude>
-								<exclude>README.md</exclude>
+								<exclude>*.md</exclude>
 								<exclude>*.cfg</exclude>
-								<exclude>**/README.md</exclude>
-								<exclude>**/Readme.md</exclude>
+								<exclude>**/*.md</exclude>
 							</excludes>
 						</configuration>
 					</plugin>
 				</plugins>
 			</build>
 		</profile>
+
+		<profile>
+			<id>deploy</id>
+			<build>
+				<plugins>
+					<plugin>
+						<groupId>org.apache.maven.plugins</groupId>
+						<artifactId>maven-source-plugin</artifactId>
+						<executions>
+							<execution>
+							<id>attach-sources</id>
+							<goals>
+								<goal>jar-no-fork</goal>
+							</goals>
+							</execution>
+						</executions>
+					</plugin>
+					<plugin>
+						<groupId>org.apache.maven.plugins</groupId>
+						<artifactId>maven-javadoc-plugin</artifactId>
+						<executions>
+							<execution>
+							<id>attach-javadocs</id>
+							<goals>
+								<goal>jar</goal>
+							</goals>
+							</execution>
+						</executions>
+					</plugin>
+				</plugins>
+			</build>
+		</profile>
 	</profiles>
 
 	<build>