Working packaging to jar

This commit is contained in:
Filip Izydorczyk 2020-08-12 15:07:55 +02:00
parent e8ebcd3517
commit 024734eb30

View File

@ -5,6 +5,7 @@
<artifactId>backend</artifactId> <artifactId>backend</artifactId>
<groupId>com.plannaplan</groupId> <groupId>com.plannaplan</groupId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
</parent> </parent>
<groupId>com.plannaplan</groupId> <groupId>com.plannaplan</groupId>
@ -19,6 +20,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target> <maven.compiler.target>1.8</maven.compiler.target>
<start-class>com.plannaplan.App</start-class>
</properties> </properties>
<dependencies> <dependencies>
@ -28,23 +30,23 @@
<version>4.11</version> <version>4.11</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId> <artifactId>spring-boot-starter-web</artifactId>
<scope>test</scope> </dependency>
<exclusions>
<exclusion> <dependency>
<groupId>org.junit.vintage</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>junit-vintage-engine</artifactId> <artifactId>spring-boot-starter-test</artifactId>
</exclusion> <scope>test</scope>
</exclusions> <exclusions>
</dependency> <exclusion>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency> <dependency>
<artifactId>buisnesslogic</artifactId> <artifactId>buisnesslogic</artifactId>
@ -54,7 +56,8 @@
</dependencies> </dependencies>
<build> <build>
<pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) --> <pluginManagement>
<!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
<plugins> <plugins>
<!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle --> <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
<plugin> <plugin>