Commit 2888bd8e authored by Vivek Ojha's avatar Vivek Ojha
Browse files

Added repackage goal for dataset and added spring jar filter in copy fiels tasjk in pipline

parent 8749dd32
Pipeline #60163 failed with stages
in 16 seconds
......@@ -63,7 +63,7 @@ stages:
copyFileContents: |
pom.xml
provider/dataset-azure/pom.xml
provider/dataset-azure/target/*.jar
provider/dataset-azure/target/*-spring-boot.jar
.mvn/community-maven.settings.xml
copyFileContentsToFlatten: ''
serviceBase: ${{ variables.serviceName }}
......
......@@ -112,4 +112,25 @@
<version>${osdu.corelibazure.version}</version>
</dependency>
</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>org.opengroup.osdu.dataset.provider.azure.DatasetAzureApplication</mainClass>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment