Skip to content

Commit

Permalink
Update pom.xml for product
Browse files Browse the repository at this point in the history
  • Loading branch information
nqhoan-axonivy authored Feb 1, 2024
1 parent c2ba8ef commit 6b601c1
Showing 1 changed file with 63 additions and 3 deletions.
66 changes: 63 additions & 3 deletions salesforce-connector-product/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,67 @@
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.axonivy.connector.salesforce</groupId>
<artifactId>salesforce-product</artifactId>
<version>10.0.12-SNAPSHOT</version>
<artifactId>salesforce-connector-product</artifactId>
<version>10.0.12</version>
<packaging>pom</packaging>
</project>

<properties>
<variables.yaml.file>../../../salesforce-connector/config/variables.yaml</variables.yaml.file>
</properties>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>zip.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<phase>generate-sources</phase>
<configuration>
<skip>${skip-readme}</skip>
<target>
<copy todir="${project.build.directory}">
<fileset dir="../../" includes="doc/**" />
</copy>
<copy file="README.md" tofile="${project.build.directory}/README.md" />
<loadfile property="variables.yaml" srcFile="${variables.yaml.file}" encoding="UTF-8" failonerror="false" />
<replace file="${project.build.directory}/README.md" token="@variables.yaml@" value="${variables.yaml}" />
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.0.0-M1</version>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>

0 comments on commit 6b601c1

Please sign in to comment.