Build sources and javadocs

This commit is contained in:
lexikiq
2021-05-04 11:52:38 -04:00
parent 54964d1b69
commit dc6942f631
4 changed files with 116 additions and 1 deletions

View File

@@ -32,4 +32,39 @@
</dependency>
</dependencies>
<build>
<sourceDirectory>src/main/java</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@@ -89,7 +89,7 @@ case "$1" in
cd ../${FORK_NAME}-API
mvn clean deploy
cd ../${FORK_NAME}-Server
mvn clean install
mvn clean deploy
)
;;
"up" | "upstream")

View File

@@ -0,0 +1,48 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: lexikiq <noellekiq@gmail.com>
Date: Tue, 4 May 2021 11:50:43 -0400
Subject: [PATCH] Build sources and javadocs
diff --git a/pom.xml b/pom.xml
index 8a45c77963d3cd35d2cfa4a3af15c0e27bbbf165..1edfbf2c99a1815f9f7aabbbcf11e45eceaea2e5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -333,6 +333,37 @@
</signature>
</configuration>
</plugin>
+ <!-- Parchment start -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>3.2.0</version>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>3.2.0</version>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
+ </configuration>
+ </plugin>
+ <!-- Parchment end -->
</plugins>
</build>
</profile>

View File

@@ -0,0 +1,32 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: lexikiq <noellekiq@gmail.com>
Date: Tue, 4 May 2021 11:50:36 -0400
Subject: [PATCH] Build sources
diff --git a/pom.xml b/pom.xml
index 85bf0a229fa8c4e42744f438b71fda4cef67b4e0..dde8ac8aadd56c411f72c12124dcf301ea50e169 100644
--- a/pom.xml
+++ b/pom.xml
@@ -352,6 +352,21 @@
</excludes>
</configuration>
</plugin>
+ <!-- Parchment start -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>3.2.0</version>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <!-- Parchment end -->
</plugins>
</build>