Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
casperwtf committed Oct 10, 2024
1 parent dfb905d commit 5b2c5a0
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 6 deletions.
40 changes: 35 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>wtf.casper.storageapi</groupId>
<artifactId>StorageAPI</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0.1</version>
<packaging>jar</packaging>

<properties>
Expand All @@ -17,10 +17,15 @@

<distributionManagement>
<repository>
<id>ossrh</id>
<name>Central Repository OSSRH</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
<id>casperwtf respository-releases</id>
<name>casperwtf Repository</name>
<url>http://185.135.158.51:8080/releases</url>
</repository>
<snapshotRepository>
<id>casperwtf respository-snapshots</id>
<name>casperwtf Repository</name>
<url>http://185.135.158.51:8080/snapshots</url>
</snapshotRepository>
</distributionManagement>

<build>
Expand Down Expand Up @@ -121,7 +126,32 @@
<minimizeJar>false</minimizeJar>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.0</version>
<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>
<version>3.5.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public static <V> V createInstance(Class<V> valueClass, Object... params) {
}

/**
* Get the generic type of class (e.g. List<String> -> String)
* Get the generic type of class (e.g. List of String -> String)
*
* @param field the field to get the generic type from
* @param index the index of the generic type
Expand Down

0 comments on commit 5b2c5a0

Please sign in to comment.