Skip to content

Commit

Permalink
Setup maven multi module build
Browse files Browse the repository at this point in the history
  • Loading branch information
Isuru Wijesiri committed Oct 31, 2023
1 parent 087a608 commit 57ccbc9
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 73 deletions.
92 changes: 19 additions & 73 deletions counter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,82 +18,17 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>org.wso2.integration.transaction.counter</groupId>
<parent>
<groupId>org.wso2.integration.transaction.counter</groupId>
<artifactId>transaction-counter</artifactId>
<version>1.0.0</version>
</parent>

<artifactId>transaction-count-handler</artifactId>
<packaging>bundle</packaging>
<version>1.0.0</version>

<name>WSO2 Integration Transaction Counting Handler</name>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<commons-logging.version>1.1.1</commons-logging.version>
<synapse.version>[4.0.0,5.0.0)</synapse.version>
<google.code.gson.version>2.9.1</google.code.gson.version>
<httpcore.version>4.4.16.wso2v1</httpcore.version>
<httpcomponent.version>4.2.5.wso2v1</httpcomponent.version>
</properties>

<repositories>
<repository>
<id>wso2-nexus</id>
<name>WSO2 internal Repository</name>
<url>https://maven.wso2.org/nexus/content/groups/wso2-public/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
<checksumPolicy>ignore</checksumPolicy>
</releases>
</repository>

<repository>
<id>wso2.releases</id>
<name>WSO2 internal Repository</name>
<url>https://maven.wso2.org/nexus/content/repositories/releases/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
<checksumPolicy>ignore</checksumPolicy>
</releases>
</repository>
</repositories>

<pluginRepositories>
<pluginRepository>
<id>wso2.releases</id>
<name>WSO2 internal Repository</name>
<url>https://maven.wso2.org/nexus/content/repositories/releases/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
<checksumPolicy>ignore</checksumPolicy>
</releases>
</pluginRepository>

<pluginRepository>
<id>wso2.snapshots</id>
<name>WSO2 Snapshot Repository</name>
<url>https://maven.wso2.org/nexus/content/repositories/snapshots/</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</pluginRepository>
<pluginRepository>
<id>wso2-nexus</id>
<name>WSO2 internal Repository</name>
<url>https://maven.wso2.org/nexus/content/groups/wso2-public/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
<checksumPolicy>ignore</checksumPolicy>
</releases>
</pluginRepository>
</pluginRepositories>

<dependencies>
<dependency>
<groupId>commons-logging</groupId>
Expand Down Expand Up @@ -127,7 +62,7 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>5.1.2</version>
<version>${bundle.plugin.version}</version>
<extensions>true</extensions>
<configuration>
<instructions>
Expand All @@ -147,12 +82,23 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<version>${compiler.plugin.version}</version>
<configuration>
<source>8</source>
<target>8</target>
</configuration>
</plugin>
</plugins>
</build>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<commons-logging.version>1.1.1</commons-logging.version>
<synapse.version>[4.0.0,5.0.0)</synapse.version>
<google.code.gson.version>2.9.1</google.code.gson.version>
<httpcore.version>4.4.16.wso2v1</httpcore.version>
<httpcomponent.version>4.2.5.wso2v1</httpcomponent.version>
<compiler.plugin.version>3.11.0</compiler.plugin.version>
<bundle.plugin.version>5.1.2</bundle.plugin.version>
</properties>
</project>
53 changes: 53 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
# Copyright (c) 2023, WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-->
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>org.wso2.integration.transaction.counter</groupId>
<artifactId>transaction-counter</artifactId>
<packaging>pom</packaging>
<version>1.0.0</version>
<name>WSO2 Integration Transaction Counter</name>

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

<repositories>
<repository>
<id>wso2-nexus</id>
<name>WSO2 internal Repository</name>
<url>https://maven.wso2.org/nexus/content/groups/wso2-public/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
<checksumPolicy>ignore</checksumPolicy>
</releases>
</repository>
<repository>
<id>wso2.releases</id>
<name>WSO2 internal Repository</name>
<url>https://maven.wso2.org/nexus/content/repositories/releases/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
<checksumPolicy>ignore</checksumPolicy>
</releases>
</repository>
</repositories>
</project>

0 comments on commit 57ccbc9

Please sign in to comment.