-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
195 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<!-- | ||
Dear developer! | ||
When you create your very valuable documentation, please be aware that this Readme.md is not only published on github. This documentation is also processed automatically and published on our website. For this to work, the two headings "Demo" and "Setup" must not be changed | ||
--> | ||
|
||
# MY-PRODUCT-NAME | ||
|
||
YOUR DESCRIPTION GOES HERE: Please just give a short description here without further headings. | ||
|
||
<!-- | ||
The explanations under "MY-RRODUCT-NAME" are displayed e.g. for the Connector A-Trust here: https://market.axonivy.com/a-trust#tab-description | ||
--> | ||
|
||
## Demo | ||
|
||
YOUR DEMO DESCRIPTION GOES HERE | ||
|
||
<!-- | ||
We use all entries under the heading "Demo" for the demo-Tab on our Website, e.g. for the Connector A-Trust here: https://market.axonivy.com/a-trust#tab-demo | ||
--> | ||
|
||
## Setup | ||
|
||
YOUR SETUP DESCRIPTION GOES HERE | ||
<!-- | ||
The entries under the heading "Setup" are filled in this tab, e.g. for the Connector A-Trust here: https://market.axonivy.com/a-trust#tab-setup. | ||
--> | ||
|
||
``` | ||
@variables.yaml@ | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +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.market</groupId> | ||
<artifactId>MY-PRODUCT-NAME-product</artifactId> | ||
<version>10.0.0-SNAPSHOT</version> | ||
<packaging>pom</packaging> | ||
|
||
<properties> | ||
<variables.yaml.file>../MY-PRODUCT-NAME/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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
{ | ||
"$schema": "https://json-schema.axonivy.com/market/10.0.0/product.json", | ||
"installers": [ | ||
{ | ||
"id": "maven-import", | ||
"data": { | ||
"projects": [ | ||
{ | ||
"groupId": "MY-GROUP-ID", | ||
"artifactId": "MY-PRODUCT-NAME-demo", | ||
"version": "${version}", | ||
"type": "iar" | ||
} | ||
], | ||
"repositories": [ | ||
{ | ||
"id": "maven.axonivy.com", | ||
"url": "https://maven.axonivy.com", | ||
"snapshots": { | ||
"enabled": "true" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"id": "maven-dependency", | ||
"data": { | ||
"dependencies": [ | ||
{ | ||
"groupId": "MY-GROUP-ID", | ||
"artifactId": "MY-PRODUCT-NAME", | ||
"version": "${version}", | ||
"type": "iar" | ||
} | ||
], | ||
"repositories": [ | ||
{ | ||
"id": "maven.axonivy.com", | ||
"url": "https://maven.axonivy.com", | ||
"snapshots": { | ||
"enabled": "true" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"id": "maven-dropins", | ||
"data": { | ||
"dependencies": [ | ||
{ | ||
"groupId": "MY-GROUP-ID", | ||
"artifactId": "MY-PRODUCT-NAME", | ||
"version": "${version}" | ||
} | ||
], | ||
"repositories": [ | ||
{ | ||
"id": "maven.axonivy.com", | ||
"url": "https://maven.axonivy.com", | ||
"snapshots": { | ||
"enabled": "true" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> | ||
<id>zip</id> | ||
<includeBaseDirectory>false</includeBaseDirectory> | ||
|
||
<formats> | ||
<format>zip</format> | ||
</formats> | ||
|
||
<fileSets> | ||
<fileSet> | ||
<directory>.</directory> | ||
<includes> | ||
<include>product.json</include> | ||
<include>openapi.json</include> | ||
<include>**/*.png</include> | ||
</includes> | ||
</fileSet> | ||
<fileSet> | ||
<directory>target</directory> | ||
<outputDirectory>/</outputDirectory> | ||
<includes> | ||
<include>README.md</include> | ||
</includes> | ||
</fileSet> | ||
</fileSets> | ||
</assembly> |