mirror of
https://github.com/DreamExposure/DisCal-Discord-Bot.git
synced 2026-04-28 21:29:28 -05:00
a5bd7cb444
Messed out how to deploy to repos in the poms as I forgot how to do it, this issue is now fixed and it will correctly go through the deploy goal while only actually deploying core to the repos.
98 lines
2.7 KiB
XML
98 lines
2.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<packaging>jar</packaging>
|
|
|
|
<properties>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
<maven.compiler.testTarget>1.8</maven.compiler.testTarget>
|
|
<maven.compiler.testSource>1.8</maven.compiler.testSource>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<project.build.targetEncoding>UTF-8</project.build.targetEncoding>
|
|
</properties>
|
|
|
|
<parent>
|
|
<groupId>org.dreamexposure</groupId>
|
|
<artifactId>DisCal</artifactId>
|
|
<version>${revision}</version>
|
|
</parent>
|
|
|
|
<groupId>org.dreamexposure.discal</groupId>
|
|
<artifactId>server</artifactId>
|
|
<version>${revision}</version>
|
|
|
|
<dependencies>
|
|
<!--DisCal Core-->
|
|
<dependency>
|
|
<groupId>org.dreamexposure.discal</groupId>
|
|
<artifactId>core</artifactId>
|
|
<version>${revision}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<!--JSch for SSH Tunneling-->
|
|
<dependency>
|
|
<groupId>com.jcraft</groupId>
|
|
<artifactId>jsch</artifactId>
|
|
<version>0.1.55</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<directory>../target</directory>
|
|
<finalName>DisCal-Server</finalName>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.1.1</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.0.2</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<addClasspath>true</addClasspath>
|
|
<mainClass>org.dreamexposure.discal.server.DisCalServer</mainClass>
|
|
</manifest>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<version>2.7</version>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |