Skip to content

Commit

Permalink
repackage
Browse files Browse the repository at this point in the history
  • Loading branch information
bs committed Jun 6, 2019
1 parent 326a668 commit 2802d96
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,9 @@ jobs:
- ~/.m2
key: v-{{ checksum "/tmp/checksum.txt" }}

- run: mvn clean install surefire-report:report
- run: mvn clean install

- run: mvn -f drift-sample/drift-sample-springboot/pom.xml spring-boot:repackage

- run: mvn site

- store_artifacts:
path: drift-core/target/site

- store_artifacts:
path: drift-core/target/drift-core-0.0.2-SNAPSHOT.jar

- store_artifacts:
path: drift-server/target/drift-server-0.0.2-SNAPSHOT.jar

path: drift-sample/drift-sample-springboot/target/drift-sample-springboot-0.0.2-SNAPSHOT.jar
32 changes: 32 additions & 0 deletions drift-sample/drift-sample-springboot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,36 @@

</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
<configuration>
<classifier>spring-boot</classifier>
<mainClass>com.acme.RunAcmeDriftServer</mainClass>
</configuration>
</execution>
</executions>
</plugin>
<!--
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<descriptors>
<descriptor>src/main/assembly/assembly.xml</descriptor>
</descriptors>
</configuration>
</plugin>
-->
</plugins>
</build>

</project>
Empty file.

0 comments on commit 2802d96

Please sign in to comment.