ReportServer: update package name and configure Maven to generate a META-INF file with the main class name included.
This commit is contained in:
parent
a51c579f74
commit
a8f9c91534
@ -51,8 +51,8 @@ public class SnapshotPublisher
|
||||
}
|
||||
|
||||
private static final String URL_PREFIX = "http://file.mineplex.com/chatsnap/view.php?identifier=";
|
||||
public static final String CHANNEL_DEPLOY = "chatsnap:deploy";
|
||||
public static final String CHANNEL_DESTROY = "chatsnap:destroy";
|
||||
public static final String CHANNEL_DEPLOY = "reportserver:deploy";
|
||||
public static final String CHANNEL_DESTROY = "reportserver:destroy";
|
||||
|
||||
private JavaPlugin _plugin;
|
||||
private JedisPool _jedisPool;
|
||||
|
@ -43,4 +43,20 @@
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifestEntries>
|
||||
<Main-Class>mineplex.reportserver.ReportServer</Main-Class>
|
||||
</manifestEntries>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
@ -1,3 +0,0 @@
|
||||
Manifest-Version: 1.0
|
||||
Main-Class: mineplex.chatsnap.ReportServer
|
||||
|
@ -1,4 +1,4 @@
|
||||
package mineplex.chatsnap;
|
||||
package mineplex.reportserver;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileFilter;
|
@ -1,4 +1,4 @@
|
||||
package mineplex.chatsnap;
|
||||
package mineplex.reportserver;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.File;
|
@ -1,4 +1,4 @@
|
||||
package mineplex.chatsnap;
|
||||
package mineplex.reportserver;
|
||||
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
@ -1,4 +1,4 @@
|
||||
package mineplex.chatsnap;
|
||||
package mineplex.reportserver;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.concurrent.Executors;
|
||||
@ -25,8 +25,8 @@ import redis.clients.jedis.JedisPool;
|
||||
*/
|
||||
public class ReportServer
|
||||
{
|
||||
public static final String CHANNEL_DEPLOY = "chatsnap:deploy";
|
||||
public static final String CHANNEL_DESTROY = "chatsnap:destroy";
|
||||
public static final String CHANNEL_DEPLOY = "reportserver:deploy";
|
||||
public static final String CHANNEL_DESTROY = "reportserver:destroy";
|
||||
|
||||
private static final String[] CHANNELS = new String[]{CHANNEL_DEPLOY, CHANNEL_DESTROY};
|
||||
|
Loading…
Reference in New Issue
Block a user