Skip to content

Commit

Permalink
Merge pull request #51 from axonivy-market/MARP-1872-Export-MarketPla…
Browse files Browse the repository at this point in the history
…ce-Components-from-Designer-with-Dependencies

Add missing Maven artifact blocks
  • Loading branch information
tvtphuc-axonivy authored Jan 23, 2025
2 parents 6d04cfa + ca8295f commit 6653131
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 6 deletions.
25 changes: 25 additions & 0 deletions amazon-comprehend-demo-app/assembly.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
<id>app</id>
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>

<dependencySets>
<dependencySet>
<includes>
<include>*:*:iar:*</include>
</includes>
</dependencySet>
</dependencySets>

<fileSets>
<fileSet>
<includes>
<include>deploy.options.yaml</include>
</includes>
</fileSet>
</fileSets>
</assembly>
8 changes: 8 additions & 0 deletions amazon-comprehend-demo-app/deploy.options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Indicates whether project test users should be deployed to the engine or not.
deployTestUsers: FALSE # [AUTO], TRUE, FALSE

# Deployment target settings.
target:
version: RELEASED # [AUTO], RELEASED, (version values, e.g. 2.5 or (2.0,3.0])
state: ACTIVE_AND_RELEASED # [ACTIVE_AND_RELEASED], ACTIVE, INACTIVE
fileFormat: AUTO # [AUTO], PACKED, EXPANDED
46 changes: 46 additions & 0 deletions amazon-comprehend-demo-app/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.axonivy.connector.amazon.comprehend</groupId>
<artifactId>amazon-comprehend-demo-app-app</artifactId>
<version>12.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<scm>
<developerConnection>scm:git:https://github.com/axonivy-market/amazon-comprehend-connector.git</developerConnection>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>com.axonivy.connector.amazon.comprehend</groupId>
<artifactId>amazon-comprehend-connector-demo</artifactId>
<version>12.0.1-SNAPSHOT</version>
<type>iar</type>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>create.app</id>
<phase>generate-resources</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<configuration>
<descriptors>
<descriptor>assembly.xml</descriptor>
</descriptors>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</plugin>
</plugins>
</build>
</project>
10 changes: 4 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
<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">
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.axonivy.connector.amazon.comprehend</groupId>
<artifactId>amazon-comprehend-connector-modules</artifactId>
<version>12.0.1-SNAPSHOT</version>
<packaging>pom</packaging>

<modules>
<module>amazon-comprehend-connector</module>
<module>amazon-comprehend-connector-demo</module>
<module>amazon-comprehend-connector-test</module>
<module>amazon-comprehend-connector-product</module>
<module>amazon-comprehend-demo-app</module>
</modules>

<scm>
<developerConnection>scm:git:https://github.com/axonivy-market/amazon-comprehend-connector.git</developerConnection>
<tag>HEAD</tag>
</scm>

<build>
<pluginManagement>
<plugins>
Expand All @@ -28,7 +27,6 @@
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.0.0-M4</version>
<configuration>
Expand Down

0 comments on commit 6653131

Please sign in to comment.