Skip to content

Commit

Permalink
Repository provided from BunnyTime collapsed.
Browse files Browse the repository at this point in the history
Signed-off-by: astro-angelfish <[email protected]>
  • Loading branch information
astro-angelfish committed Jan 1, 2024
1 parent 342e719 commit 7c99245
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 133 deletions.
29 changes: 14 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,27 @@ plugins.
Still under construction. No compatibility is guaranteed. But feel free to contribute if you have encountered a bug and
sure it is not a compatibility issue.

## Maven
## Get Started

```xml
<dependency>
<groupId>moe.orangemc</groupId>
<artifactId>fishlib-api</artifactId>
<version>0.0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
You might need to clone this repository directly because we don't have a maven repository yet.

```shell
git clone https://github.com/astro-angelfish/fishlib.git
cd fishlib
mvn clean install
```

in `dependencies` tag of pom.xml
Then add the dependency to your pom.xml:

```xml
<repository>
<id>bunnytime-public</id>
<url>http://maven.bunnytime.top/repository/bunnytime-public/</url>
</repository>
<dependency>
<groupId>moe.orangemc</groupId>
<artifactId>fishlib</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
```

in `repositories` tag of pom.xml. We are temporarily borrowing the repository of *BunnyTime*.

## Usage

### Command
Expand Down
40 changes: 0 additions & 40 deletions api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,38 +93,6 @@
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.5.1</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
<configuration>
<serverId>bunnytime-public</serverId>
<nexusUrl>http://maven.bunnytime.top/repository/bunnytime-public/</nexusUrl>
<skipStaging>true</skipStaging>
</configuration>
</plugin>
</plugins>
<resources>
<resource>
Expand All @@ -133,12 +101,4 @@
</resource>
</resources>
</build>

<!--Currently we borrow nexus deploy server from bunnytime -->
<distributionManagement>
<snapshotRepository>
<id>bunnytime-public</id>
<url>http://maven.bunnytime.top/repository/bunnytime-public/</url>
</snapshotRepository>
</distributionManagement>
</project>
39 changes: 0 additions & 39 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,38 +93,6 @@
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.5.1</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
<configuration>
<serverId>bunnytime-public</serverId>
<nexusUrl>http://maven.bunnytime.top/repository/bunnytime-public/</nexusUrl>
<skipStaging>true</skipStaging>
</configuration>
</plugin>
</plugins>
<resources>
<resource>
Expand Down Expand Up @@ -159,11 +127,4 @@
<scope>provided</scope>
</dependency>
</dependencies>

<distributionManagement>
<snapshotRepository>
<id>bunnytime-public</id>
<url>http://maven.bunnytime.top/repository/bunnytime-public/</url>
</snapshotRepository>
</distributionManagement>
</project>
39 changes: 0 additions & 39 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,38 +90,6 @@
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.5.1</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
<configuration>
<serverId>bunnytime-public</serverId>
<nexusUrl>http://maven.bunnytime.top/repository/bunnytime-public/</nexusUrl>
<skipStaging>true</skipStaging>
</configuration>
</plugin>
</plugins>
<resources>
<resource>
Expand Down Expand Up @@ -172,11 +140,4 @@
<scope>provided</scope>
</dependency>
</dependencies>

<distributionManagement>
<snapshotRepository>
<id>bunnytime-public</id>
<url>http://maven.bunnytime.top/repository/bunnytime-public/</url>
</snapshotRepository>
</distributionManagement>
</project>

0 comments on commit 7c99245

Please sign in to comment.