Skip to content

Commit 895d809

Browse files
committed
Now With site!
1 parent f63f09c commit 895d809

File tree

179 files changed

+6828
-1973
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

179 files changed

+6828
-1973
lines changed

.github/workflows/deploy-package.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build Release
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77

88
jobs:
99
build:

build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ fi
1515

1616
java -jar target/modupdater-*-jar-with-dependencies.jar
1717
#java -cp target/ModUpdater-1.0-SNAPSHOT.jar com.miniontoby.ModUpdater.App
18+

pom.xml

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,16 @@
88

99
<name>ModUpdater</name>
1010
<description>Java app to update your minecraft mods</description>
11-
<url>http://kodipi.fritz.box/ModUpdater</url>
11+
<url>https://miniontoby.github.io/ModUpdater</url>
1212
<organization>
1313
<name>TheDutchProgrammers</name>
14-
<url></url>
1514
</organization>
1615
<developers>
1716
<developer>
1817
<id>miniontoby</id>
1918
<name>Miniontoby</name>
2019
<email>tobias.gaarenstroom@gmail.com</email>
21-
<url></url>
2220
<organization>TheDutchProgrammers</organization>
23-
<organizationUrl></organizationUrl>
2421
<roles>
2522
<role>developer</role>
2623
</roles>
@@ -31,13 +28,11 @@
3128
</developer>
3229
</developers>
3330

34-
<licenses>
35-
</licenses>
36-
3731
<distributionManagement>
3832
<site>
39-
<id>website</id>
40-
<url>file:///var/www/html/ModUpdater/</url>
33+
<id>github</id>
34+
<url>scm:git:git@github.com:Miniontoby/ModUpdater.git</url>
35+
<!--<url>file:///var/www/html/ModUpdater/</url>-->
4136
</site>
4237
<repository>
4338
<id>github</id>
@@ -69,15 +64,13 @@
6964
<artifactId>gson</artifactId>
7065
<version>2.8.9</version>
7166
<scope>compile</scope>
72-
<optional>false</optional>
7367
</dependency>
7468

7569
<dependency>
7670
<groupId>commons-io</groupId>
7771
<artifactId>commons-io</artifactId>
7872
<version>2.9.0</version>
7973
<scope>compile</scope>
80-
<optional>false</optional>
8174
</dependency>
8275
</dependencies>
8376

@@ -127,10 +120,7 @@
127120
<groupId>org.apache.maven.plugins</groupId>
128121
<artifactId>maven-deploy-plugin</artifactId>
129122
<version>2.8.2</version>
130-
<configuration>
131-
<!--<altDeploymentRepository>internal.repo::default::file://${project.build.directory}/mvn-repo</altDeploymentRepository>-->
132-
<!--<altDeploymentRepository>github::default::https://maven.pkg.github.com/Miniontoby/ModUpdater</altDeploymentRepository>-->
133-
</configuration>
123+
<configuration></configuration>
134124
</plugin>
135125
<!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
136126
<plugin>
@@ -181,9 +171,25 @@
181171
<tagNameFormat>@{project.version}</tagNameFormat>
182172
</configuration>
183173
</plugin>
174+
<plugin>
175+
<groupId>org.apache.maven.plugins</groupId>
176+
<artifactId>maven-scm-publish-plugin</artifactId>
177+
<version>3.0.0</version>
178+
<configuration>
179+
<scmBranch>gh-pages</scmBranch>
180+
</configuration>
181+
</plugin>
184182
</plugins>
185183
</pluginManagement>
186184
</build>
185+
186+
<reporting>
187+
<plugins>
188+
<plugin>
189+
<artifactId>maven-project-info-reports-plugin</artifactId>
190+
</plugin>
191+
</plugins>
192+
</reporting>
187193
<scm>
188194
<connection>scm:git:${project.scm.url}</connection>
189195
<developerConnection>scm:git:${project.scm.url}</developerConnection>

release

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
4+
# mvn archetype:generate -DgroupId=com.miniontoby -DartifactId=modupdater -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-site -DarchetypeVersion=1.4 -DinteractiveMode=false
5+
mvn clean site site:stage scm-publish:publish-scm

0 commit comments

Comments
 (0)