-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #107 from Ashi1993/OB4-common
[Accelerator 4] Adding Common Module Implementation
- Loading branch information
Showing
54 changed files
with
5,637 additions
and
24 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
257 changes: 257 additions & 0 deletions
257
...al-services-accelerator/components/org.wso2.financial.services.accelerator.common/pom.xml
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,257 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
~ Copyright (c) 2024, WSO2 LLC. (https://www.wso2.com). | ||
~ | ||
~ WSO2 LLC. licenses this file to you 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> | ||
|
||
<parent> | ||
<artifactId>financial-services-accelerator</artifactId> | ||
<groupId>org.wso2.financial.services.accelerator</groupId> | ||
<version>4.0.0-SNAPSHOT</version> | ||
<relativePath>../../pom.xml</relativePath> | ||
</parent> | ||
|
||
<artifactId>org.wso2.financial.services.accelerator.common</artifactId> | ||
<packaging>bundle</packaging> | ||
<name>WSO2 Financial Services - Common component</name> | ||
<dependencies> | ||
<dependency> | ||
<groupId>commons-logging</groupId> | ||
<artifactId>commons-logging</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.commons</groupId> | ||
<artifactId>commons-lang3</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.wso2.securevault</groupId> | ||
<artifactId>org.wso2.securevault</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.wso2.carbon.identity.inbound.auth.oauth2</groupId> | ||
<artifactId>org.wso2.carbon.identity.oauth</artifactId> | ||
<exclusions> | ||
<exclusion> | ||
<groupId>org.wso2.orbit.org.bouncycastle</groupId> | ||
<artifactId>bcprov-jdk15on</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.hibernate</groupId> | ||
<artifactId>hibernate-validator</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>commons-beanutils</groupId> | ||
<artifactId>commons-beanutils</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.wso2.eclipse.osgi</groupId> | ||
<artifactId>org.eclipse.osgi.services</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.eclipse.osgi</groupId> | ||
<artifactId>org.eclipse.osgi</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.wso2.carbon</groupId> | ||
<artifactId>org.wso2.carbon.core</artifactId> | ||
<exclusions> | ||
<exclusion> | ||
<groupId>org.wso2.orbit.com.hazelcast</groupId> | ||
<artifactId>hazelcast</artifactId> | ||
</exclusion> | ||
<exclusion> | ||
<groupId>org.wso2.orbit.org.bouncycastle</groupId> | ||
<artifactId>bcprov-jdk15on</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.wso2.orbit.com.nimbusds</groupId> | ||
<artifactId>nimbus-jose-jwt</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>net.minidev</groupId> | ||
<artifactId>json-smart</artifactId> | ||
</dependency> | ||
<!-- Test Dependencies --> | ||
<dependency> | ||
<groupId>org.testng</groupId> | ||
<artifactId>testng</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.mockito</groupId> | ||
<artifactId>mockito-core</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.mockito</groupId> | ||
<artifactId>mockito-testng</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>com.github.spotbugs</groupId> | ||
<artifactId>spotbugs-maven-plugin</artifactId> | ||
<configuration> | ||
<effort>Max</effort> | ||
<threshold>Low</threshold> | ||
<failOnError>true</failOnError> | ||
<xmlOutput>true</xmlOutput> | ||
<spotbugsXmlOutputDirectory>${project.build.directory}/spotbugs</spotbugsXmlOutputDirectory> | ||
<includeFilterFile>${project.basedir}/src/main/resources/findbugs-include.xml</includeFilterFile> | ||
<excludeFilterFile>${project.basedir}/src/main/resources/findbugs-exclude.xml</excludeFilterFile> | ||
<plugins> | ||
<plugin> | ||
<groupId>com.h3xstream.findsecbugs</groupId> | ||
<artifactId>findsecbugs-plugin</artifactId> | ||
<version>${com.h3xstream.findsecbugs.version}</version> | ||
</plugin> | ||
</plugins> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>analyze-compile</id> | ||
<phase>compile</phase> | ||
<goals> | ||
<goal>check</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.jacoco</groupId> | ||
<artifactId>jacoco-maven-plugin</artifactId> | ||
<configuration> | ||
<excludes> | ||
<!--Excluding them in coverage reports--> | ||
<exclude>**/*Constants.class</exclude> | ||
<exclude>**/*ErrorCodes.class</exclude> | ||
<exclude>**/*Component.class</exclude> | ||
<exclude>**/*DataHolder.class</exclude> | ||
<exclude>**/*Exception.class</exclude> | ||
<exclude>**/*FinancialServicesBaseCache.class</exclude> | ||
<exclude>**/*FinancialServicesBaseCacheKey.class</exclude> | ||
<!-- Excluded since involves datasource initialization --> | ||
<exclude>**/DatabaseUtils.class</exclude> | ||
<exclude>**/JDBCPersistenceManager.class</exclude> | ||
</excludes> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>default-prepare-agent</id> | ||
<goals> | ||
<goal>prepare-agent</goal> | ||
</goals> | ||
</execution> | ||
<execution> | ||
<id>default-prepare-agent-integration</id> | ||
<goals> | ||
<goal>prepare-agent-integration</goal> | ||
</goals> | ||
</execution> | ||
<execution> | ||
<id>default-report</id> | ||
<goals> | ||
<goal>report</goal> | ||
</goals> | ||
</execution> | ||
<execution> | ||
<id>default-report-integration</id> | ||
<goals> | ||
<goal>report-integration</goal> | ||
</goals> | ||
</execution> | ||
<execution> | ||
<id>default-check</id> | ||
<goals> | ||
<goal>check</goal> | ||
</goals> | ||
<configuration> | ||
<rules> | ||
<rule implementation="org.jacoco.maven.RuleConfiguration"> | ||
<element>BUNDLE</element> | ||
<limits> | ||
<limit implementation="org.jacoco.report.check.Limit"> | ||
<counter>INSTRUCTION</counter> | ||
<value>COVEREDRATIO</value> | ||
<minimum>0.8</minimum> | ||
</limit> | ||
</limits> | ||
</rule> | ||
</rules> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
<configuration> | ||
<suiteXmlFiles> | ||
<suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile> | ||
</suiteXmlFiles> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.felix</groupId> | ||
<artifactId>maven-bundle-plugin</artifactId> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<instructions> | ||
<Bundle-SymbolicName> | ||
${project.artifactId} | ||
</Bundle-SymbolicName> | ||
<Private-Package> | ||
org.wso2.financial.services.accelerator.common.internal | ||
</Private-Package> | ||
<Import-Package> | ||
org.osgi.framework;version="${osgi.framework.imp.pkg.version.range}", | ||
org.osgi.service.component;version="${osgi.service.component.imp.pkg.version.range}", | ||
com.nimbusds.jose;version="${org.wso2.orbit.nimbus.version.range}", | ||
com.nimbusds.jwt;version="${org.wso2.orbit.nimbus.version.range}", | ||
javax.cache, | ||
net.minidev.json;version="${json-smart.version}", | ||
org.apache.axiom.*;version="${axiom.osgi.version.range}", | ||
org.apache.commons.lang3;version="${commons-lang3.version}", | ||
org.apache.commons.logging;version="${commons.logging.version}", | ||
org.wso2.carbon.identity.application.mgt.*;version="${carbon.identity.framework.version.range}", | ||
org.wso2.carbon.identity.oauth.*;version="${identity.inbound.auth.oauth.version.range}", | ||
org.wso2.carbon.identity.oauth2.*;version="${identity.inbound.auth.oauth.version.range}", | ||
org.wso2.securevault;version="${org.wso2.securevault.version}" | ||
</Import-Package> | ||
<Export-Package> | ||
!org.wso2.financial.services.accelerator.common.internal, | ||
org.wso2.financial.services.accelerator.common.*;version="${project.version}", | ||
</Export-Package> | ||
<_dsannotations>*</_dsannotations> | ||
</instructions> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
Oops, something went wrong.