Skip to content

Commit

Permalink
Moved repository from LUCKO to MAVEN CENTRAL (temporarily)
Browse files Browse the repository at this point in the history
  • Loading branch information
Picono435 committed May 27, 2021
1 parent 58f6e64 commit 3694b68
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 36 deletions.
38 changes: 6 additions & 32 deletions dependency-reduced-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,32 +27,6 @@
</executions>
<configuration>
<minimizeJar>true</minimizeJar>
<filters>
<filter>
<artifact>com.h2database:h2</artifact>
<includes>
<include>**</include>
</includes>
</filter>
<filter>
<artifact>org.xerial:sqlite-jdbc</artifact>
<includes>
<include>**</include>
</includes>
</filter>
<filter>
<artifact>org.mariadb.jbdc:mariadb-java-client</artifact>
<includes>
<include>**</include>
</includes>
</filter>
<filter>
<artifact>mysql:mysql-connector-java</artifact>
<includes>
<include>**</include>
</includes>
</filter>
</filters>
<relocations>
<relocation>
<pattern>org.bstats</pattern>
Expand All @@ -63,7 +37,7 @@
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<version>3.3.0</version>
<configuration>
<show>public</show>
<windowtitle>PicoJobs</windowtitle>
Expand Down Expand Up @@ -134,13 +108,13 @@
<dependency>
<groupId>org.spongepowered</groupId>
<artifactId>configurate-core</artifactId>
<version>3.7.2</version>
<version>4.1.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.spongepowered</groupId>
<artifactId>configurate-json</artifactId>
<version>3.7.2</version>
<artifactId>configurate-gson</artifactId>
<version>4.1.1</version>
<scope>provided</scope>
<exclusions>
<exclusion>
Expand All @@ -152,7 +126,7 @@
<dependency>
<groupId>org.spongepowered</groupId>
<artifactId>configurate-yaml</artifactId>
<version>3.7.2</version>
<version>4.1.1</version>
<scope>provided</scope>
<exclusions>
<exclusion>
Expand All @@ -164,7 +138,7 @@
<dependency>
<groupId>org.spongepowered</groupId>
<artifactId>configurate-hocon</artifactId>
<version>3.7.2</version>
<version>4.1.1</version>
<scope>provided</scope>
<exclusions>
<exclusion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,12 +201,11 @@ public boolean onCommand(CommandSender sender, Command cmd, String label, String
if(subcmd.equalsIgnoreCase("editor") || subcmd.equalsIgnoreCase(editorString) || subcmd.equalsIgnoreCase("editor")) {
// CREATE EDITOR
p.sendMessage(LanguageManager.formatMessage("&7Preparing a new editor session. Please wait..."));
p.sendMessage(LanguageManager.formatMessage("&cThis feature is not yet avaiable for public. For more information check our discord or/and ou wiki."));
String editor = createEditor(sender);
if(editor != null) {
p.sendMessage(LanguageManager.formatMessage("&aClick the link below to open the editor:\n&b&ehttp://www.piconodev.tk/editor/picojobs/" + editor));
} else {
p.sendMessage(LanguageManager.getMessage("unknow-error"));
p.sendMessage(LanguageManager.formatMessage("&cThis feature is not yet avaiable for public. For more information check our discord or/and ou wiki."));
}
return true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public enum Dependency {
this.artifactId = Objects.requireNonNull(artifactId, "artifactId");
this.version = Objects.requireNonNull(version, "version");
// Please ask @lucko before using this mirror in your own project.
this.repoUrl = "https://nexus.lucko.me/repository/maven-central/";
this.repoUrl = "https://repo1.maven.org/maven2/";
}

Dependency(String groupId, String artifactId, String version, String repoUrl) {
Expand Down Expand Up @@ -139,7 +139,7 @@ public static Dependency[] getRequiredDependencies() {

@Override
public String toString() {
return "LibraryLoader.Dependency(" +
return "Dependency(" +
"groupId=" + this.getGroupId() + ", " +
"artifactId=" + this.getArtifactId() + ", " +
"version=" + this.getVersion() + ", " +
Expand Down

0 comments on commit 3694b68

Please sign in to comment.