Last active
April 30, 2020 16:31
-
-
Save mifrazmurthaja/2112af1f40e02e81e7909f2005f2b398 to your computer and use it in GitHub Desktop.
custom-carbon-health-check
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
<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.carbon.custom.healthcheck</groupId> | |
<artifactId>org.wso2.carbon.healthcheck</artifactId> | |
<version>1.2.1</version> | |
<packaging>bundle</packaging> | |
<name>WSO2 Carbon - Sample Health Service</name> | |
<properties> | |
<osgi.framework.imp.pkg.version.range>[1.7.0, 2.0.0)</osgi.framework.imp.pkg.version.range> | |
<commons-logging.osgi.version.range>[1.2,2.0)</commons-logging.osgi.version.range> | |
<carbon.healthcheck.version>${project.version}</carbon.healthcheck.version> | |
<testng.version>6.3.1</testng.version> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>org.osgi</groupId> | |
<artifactId>org.osgi.core</artifactId> | |
<version>6.0.0</version> | |
</dependency> | |
<dependency> | |
<groupId>org.testng</groupId> | |
<artifactId>testng</artifactId> | |
<version>${testng.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.wso2.carbon.healthcheck</groupId> | |
<artifactId>org.wso2.carbon.healthcheck.api.core</artifactId> | |
<version>${project.version}</version> | |
</dependency> | |
</dependencies> | |
<repositories> | |
<repository> | |
<id>wso2-nexus</id> | |
<name>WSO2 internal Repository</name> | |
<url>http://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>http://maven.wso2.org/nexus/content/repositories/releases/</url> | |
<releases> | |
<enabled>true</enabled> | |
<updatePolicy>daily</updatePolicy> | |
<checksumPolicy>ignore</checksumPolicy> | |
</releases> | |
</repository> | |
<repository> | |
<id>wso2.snapshots</id> | |
<name>Apache Snapshot Repository</name> | |
<url>http://maven.wso2.org/nexus/content/repositories/snapshots/</url> | |
<snapshots> | |
<enabled>true</enabled> | |
<updatePolicy>daily</updatePolicy> | |
</snapshots> | |
<releases> | |
<enabled>false</enabled> | |
</releases> | |
</repository> | |
</repositories> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.felix</groupId> | |
<artifactId>maven-bundle-plugin</artifactId> | |
<version>3.0.1</version> | |
<extensions>true</extensions> | |
<configuration> | |
<instructions> | |
<Bundle-Activator>org.wso2.carbon.custom.healthcheck.internal.Activator</Bundle-Activator> | |
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> | |
<Bundle-Name>${project.artifactId}</Bundle-Name> | |
<Private-package>org.sample.project.internal</Private-package> | |
<Export-package> | |
!org.sample.project.internal, | |
org.sample.project.* | |
</Export-package> | |
<Import-Package> | |
org.osgi.framework.*;version="${osgi.framework.imp.pkg.version.range}", | |
org.wso2.carbon.healthcheck.api.core.*; version="${carbon.healthcheck.version}", | |
org.apache.commons.logging; version="${commons-logging.osgi.version.range}", | |
</Import-Package> | |
</instructions> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<configuration> | |
<source>1.8</source> | |
<target>1.8</target> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment