Skip to content

Commit

Permalink
Merge pull request #1 from ndkhanh-axonivy/chore/polish-document
Browse files Browse the repository at this point in the history
Refinement
  • Loading branch information
ptanhaxon authored Jan 4, 2024
2 parents 475aeb8 + d4f61ce commit 8a55716
Show file tree
Hide file tree
Showing 9 changed files with 105 additions and 19 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# ups-connector
UPS connector
# UPS connector
[![CI Build](https://github.com/axonivy-market/ups-connector/actions/workflows/ci.yml/badge.svg)](https://github.com/axonivy-market/ups-connector/actions/workflows/ci.yml)

This is a UPS module built in the Axon Ivy framework, enabling users to seamlessly integrate with UPS services. With this app, users can effortlessly manage their packages through UPS.

Read our [documentation](ups-connector-product/README.md).
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<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 -->
<groupId>com.axonivy.connector.ups</groupId><!-- your group id: e.g. com.axonivy.connector.<myconnector> or com.axonivy.utils.<myutil> -->
<name>ups-connector</name><!-- fill your product name -->
<artifactId>ups-connector-modules</artifactId><!-- fill your product name + a "-modules" postfix -->
<version>10.0.14-SNAPSHOT</version><!-- identicate your minimal compliant ivy version with the first 2 digits -->
<packaging>pom</packaging>

<modules>
Expand Down
6 changes: 3 additions & 3 deletions ups-connector-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
<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>ups.connector.demo</groupId>
<groupId>com.axonivy.connector.ups</groupId>
<artifactId>ups-connector-demo</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>10.0.14-SNAPSHOT</version>
<packaging>iar</packaging>
<dependencies>
<dependency>
<groupId>ups.connector</groupId>
<groupId>com.axonivy.connector.ups</groupId>
<artifactId>ups-connector</artifactId>
<version>${project.version}</version>
<type>iar</type>
Expand Down
7 changes: 7 additions & 0 deletions ups-connector-product/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<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.ups</groupId>
<artifactId>ups-connector-product</artifactId>
<version>10.0.14-SNAPSHOT</version>
<packaging>pom</packaging>
</project>
49 changes: 49 additions & 0 deletions ups-connector-product/product.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"$schema": "https://json-schema.axonivy.com/market/10.0.0/product.json",
"installers": [
{
"id": "maven-import",
"data": {
"projects": [
{
"groupId": "com.axonivy.connector.ups",
"artifactId": "ups-connector-demo",
"version": "${version}",
"type": "iar"
}
],
"repositories": [
{
"id": "maven.axonivy.com",
"url": "https://maven.axonivy.com",
"snapshots": {
"enabled": "true"
}
}
]
}
},
{
"id": "maven-dependency",
"data": {
"dependencies": [
{
"groupId": "com.axonivy.connector.ups",
"artifactId": "ups-connector",
"version": "${version}",
"type": "iar"
}
],
"repositories": [
{
"id": "maven.axonivy.com",
"url": "https://maven.axonivy.com",
"snapshots": {
"enabled": "true"
}
}
]
}
}
]
}
26 changes: 26 additions & 0 deletions ups-connector-product/zip.xml
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>
8 changes: 4 additions & 4 deletions ups-connector-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<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>ups.connector.test</groupId>
<groupId>com.axonivy.connector.ups</groupId>
<artifactId>ups-connector-test</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>10.0.14-SNAPSHOT</version>
<packaging>iar</packaging>
<dependencies>
<dependency>
<groupId>ups.connector</groupId>
<groupId>com.axonivy.connector.ups</groupId>
<artifactId>ups-connector</artifactId>
<version>1.0.0</version>
<version>10.0.14-SNAPSHOT</version>
<type>iar</type>
</dependency>
<dependency>
Expand Down
8 changes: 4 additions & 4 deletions ups-connector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<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>ups.connector</groupId>
<groupId>com.axonivy.connector.ups</groupId>
<artifactId>ups-connector</artifactId>
<version>1.0.0</version>
<version>10.0.14-SNAPSHOT</version>
<packaging>iar</packaging>
<dependencies>
<dependency>
<groupId>com.ups.oauth.feature</groupId>
<groupId>com.axonivy.connector.ups</groupId>
<artifactId>ups-oauth-feature</artifactId>
<version>1.0.0</version>
<version>10.0.14-SNAPSHOT</version>
<type>iar</type>
</dependency>
</dependencies>
Expand Down
4 changes: 2 additions & 2 deletions ups-oauth-feature/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<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.ups.oauth.feature</groupId>
<groupId>com.axonivy.connector.ups</groupId>
<artifactId>ups-oauth-feature</artifactId>
<version>1.0.0</version>
<version>10.0.14-SNAPSHOT</version>
<packaging>iar</packaging>
<scm>
<developerConnection>scm:git:https://github.com/axonivy-market/${project.name}.git</developerConnection>
Expand Down

0 comments on commit 8a55716

Please sign in to comment.