generated from axonivy-market/market-product
-
Notifications
You must be signed in to change notification settings - Fork 1
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
0 parents
commit fa3c82d
Showing
11 changed files
with
287 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,12 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
trim_trailing_spaces = true | ||
insert_final_newline = true | ||
|
||
# trailing spaces in markdown indicate word wrap | ||
[*.md] | ||
trim_trailing_spaces = false |
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,12 @@ | ||
name: CI-Build | ||
|
||
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
- cron: '21 21 * * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
uses: axonivy-market/github-workflows/.github/workflows/ci.yml@v2 |
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,11 @@ | ||
name: Dev-Build | ||
|
||
on: | ||
push: | ||
schedule: | ||
- cron: '21 21 * * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
uses: axonivy-market/github-workflows/.github/workflows/dev.yml@v2 |
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,7 @@ | ||
name: Release-Build | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
build: | ||
uses: axonivy-market/github-workflows/.github/workflows/release.yml@v2 |
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,18 @@ | ||
# general | ||
Thumbs.db | ||
.DS_Store | ||
*~ | ||
*.log | ||
|
||
# java | ||
*.class | ||
hs_err_pid* | ||
|
||
# maven | ||
target/ | ||
|
||
# ivy | ||
lib/mvn-deps/ | ||
logs/ | ||
src_dataClasses/ | ||
src_wsproc/ |
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,15 @@ | ||
# MY-PRODUCT-NAME | ||
|
||
YOUR DESCRIPTION GOES HERE | ||
|
||
## Demo | ||
|
||
YOUR DEMO DESCRIPTION GOES HERE | ||
|
||
## Setup | ||
|
||
YOUR SETUP DESCRIPTION GOES HERE | ||
|
||
``` | ||
@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,69 @@ | ||
{ | ||
"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> |
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,7 @@ | ||
# MY-PRODUCT-NAME | ||
|
||
[![CI Build](https://github.com/axonivy-market/REPO-NAME/actions/workflows/ci.yml/badge.svg)](https://github.com/axonivy-market/REPO-NAME/actions/workflows/ci.yml) | ||
|
||
"YOUR SHORT DESCRIPTION GOES HERE" | ||
|
||
Read our [documentation](MY-PRODUCT-NAME-product/README.md). |
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,43 @@ | ||
<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><!-- your group id: e.g. com.axonivy.connector.<myconnector> or com.axonivy.utils.<myutil> --> | ||
<name>my-product</name><!-- fill your product name --> | ||
<artifactId>my-product-modules</artifactId><!-- fill your product name + a "-modules" postfix --> | ||
<version>10.0.0-SNAPSHOT</version><!-- identicate your minimal compliant ivy version with the first 2 digits --> | ||
<packaging>pom</packaging> | ||
|
||
<modules> | ||
<module>${project.name}</module> | ||
<module>${project.name}-demo</module> | ||
<module>${project.name}-test</module> | ||
<module>${project.name}-product</module> | ||
</modules> | ||
|
||
<scm> | ||
<developerConnection>scm:git:https://github.com/axonivy-market/${project.name}.git</developerConnection> | ||
<tag>HEAD</tag> | ||
</scm> | ||
|
||
<build> | ||
<pluginManagement> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-deploy-plugin</artifactId> | ||
<version>3.0.0-M1</version> | ||
<configuration> | ||
<skip>true</skip> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-release-plugin</artifactId> | ||
<version>3.0.0-M4</version> | ||
<configuration> | ||
<tagNameFormat>v@{project.version}</tagNameFormat> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</pluginManagement> | ||
</build> | ||
|
||
</project> |