Skip to content

Commit

Permalink
Now With site!
Browse files Browse the repository at this point in the history
  • Loading branch information
Miniontoby committed Mar 2, 2022
1 parent f63f09c commit 895d809
Show file tree
Hide file tree
Showing 179 changed files with 6,828 additions and 1,973 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build Release
on:
push:
branches:
- master
- main

jobs:
build:
Expand Down
1 change: 1 addition & 0 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ fi

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

36 changes: 21 additions & 15 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,16 @@

<name>ModUpdater</name>
<description>Java app to update your minecraft mods</description>
<url>http://kodipi.fritz.box/ModUpdater</url>
<url>https://miniontoby.github.io/ModUpdater</url>
<organization>
<name>TheDutchProgrammers</name>
<url></url>
</organization>
<developers>
<developer>
<id>miniontoby</id>
<name>Miniontoby</name>
<email>[email protected]</email>
<url></url>
<organization>TheDutchProgrammers</organization>
<organizationUrl></organizationUrl>
<roles>
<role>developer</role>
</roles>
Expand All @@ -31,13 +28,11 @@
</developer>
</developers>

<licenses>
</licenses>

<distributionManagement>
<site>
<id>website</id>
<url>file:///var/www/html/ModUpdater/</url>
<id>github</id>
<url>scm:git:[email protected]:Miniontoby/ModUpdater.git</url>
<!--<url>file:///var/www/html/ModUpdater/</url>-->
</site>
<repository>
<id>github</id>
Expand Down Expand Up @@ -69,15 +64,13 @@
<artifactId>gson</artifactId>
<version>2.8.9</version>
<scope>compile</scope>
<optional>false</optional>
</dependency>

<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.9.0</version>
<scope>compile</scope>
<optional>false</optional>
</dependency>
</dependencies>

Expand Down Expand Up @@ -127,10 +120,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<configuration>
<!--<altDeploymentRepository>internal.repo::default::file://${project.build.directory}/mvn-repo</altDeploymentRepository>-->
<!--<altDeploymentRepository>github::default::https://maven.pkg.github.com/Miniontoby/ModUpdater</altDeploymentRepository>-->
</configuration>
<configuration></configuration>
</plugin>
<!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
<plugin>
Expand Down Expand Up @@ -181,9 +171,25 @@
<tagNameFormat>@{project.version}</tagNameFormat>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<scmBranch>gh-pages</scmBranch>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

<reporting>
<plugins>
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
</plugin>
</plugins>
</reporting>
<scm>
<connection>scm:git:${project.scm.url}</connection>
<developerConnection>scm:git:${project.scm.url}</developerConnection>
Expand Down
5 changes: 5 additions & 0 deletions release
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash


# mvn archetype:generate -DgroupId=com.miniontoby -DartifactId=modupdater -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-site -DarchetypeVersion=1.4 -DinteractiveMode=false
mvn clean site site:stage scm-publish:publish-scm
Loading

0 comments on commit 895d809

Please sign in to comment.