Skip to content

Commit

Permalink
Merge pull request #6 from IsuruMaduranga/main
Browse files Browse the repository at this point in the history
Configure for Jenkins build and releases
  • Loading branch information
isudana authored Oct 31, 2023
2 parents 0969a5b + 6ccf99b commit 5f7fd29
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 7 deletions.
11 changes: 9 additions & 2 deletions counter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@
<parent>
<groupId>org.wso2.integration.transaction.counter</groupId>
<artifactId>transaction-counter</artifactId>
<version>1.0.0</version>
<version>0.1.0-SNAPSHOT</version>
</parent>

<artifactId>transaction-count-handler</artifactId>
<packaging>bundle</packaging>
<version>1.0.0</version>
<name>WSO2 Integration Transaction Counting Handler</name>

<dependencies>
Expand Down Expand Up @@ -88,6 +87,14 @@
<target>8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<preparationGoals>clean install</preparationGoals>
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
</plugin>
</plugins>
</build>

Expand Down
22 changes: 21 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,21 @@
<groupId>org.wso2.integration.transaction.counter</groupId>
<artifactId>transaction-counter</artifactId>
<packaging>pom</packaging>
<version>1.0.0</version>
<version>0.1.0-SNAPSHOT</version>
<name>WSO2 Integration Transaction Counter</name>

<modules>
<module>counter</module>
<module>service</module>
</modules>

<scm>
<connection>scm:git:https://github.com/wso2/integration-transaction-counter.git</connection>
<developerConnection>scm:git:https://github.com/wso2/integration-transaction-counter.git</developerConnection>
<url>https://github.com/wso2/integration-transaction-counter.git/</url>
<tag>HEAD</tag>
</scm>

<repositories>
<repository>
<id>wso2-nexus</id>
Expand All @@ -51,4 +58,17 @@
</releases>
</repository>
</repositories>

<distributionManagement>
<snapshotRepository>
<id>wso2.snapshots</id>
<name>Apache Snapshot Repository</name>
<url>https://maven.wso2.org/nexus/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>nexus-releases</id>
<name>WSO2 Release Distribution Repository</name>
<url>https://maven.wso2.org/nexus/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</project>
2 changes: 1 addition & 1 deletion service/Ballerina.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
org = "wso2"
name = "TransactionCountingService"
version = "1.0.0"
version = "0.1.0-SNAPSHOT"
distribution = "2201.7.0"

[build-options]
Expand Down
2 changes: 1 addition & 1 deletion service/Cloud.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[container.image]
repository="wso2inc"
name="transaction-counting-service"
tag="v1.0.0"
tag="v0.1.0-SNAPSHOT"

[settings]
buildImage=false
3 changes: 1 addition & 2 deletions service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@
<parent>
<groupId>org.wso2.integration.transaction.counter</groupId>
<artifactId>transaction-counter</artifactId>
<version>1.0.0</version>
<version>0.1.0-SNAPSHOT</version>
</parent>

<artifactId>transaction-count-service</artifactId>
<packaging>pom</packaging>
<version>1.0.0</version>
<name>WSO2 Integration Transaction Counting Service</name>

<build>
Expand Down

0 comments on commit 5f7fd29

Please sign in to comment.