Last active
June 7, 2020 18:22
-
-
Save pulasthi7/7871d9f5f892f02a4d8f8a525fc2e798 to your computer and use it in GitHub Desktop.
WSO2 IS - Promethus pom
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<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.identity.sample</groupId> | |
<artifactId>org.wso2.carbon.identity.sample.prometheus.agent</artifactId> | |
<version>0.1.0-SNAPSHOT</version> | |
<packaging>bundle</packaging> | |
<properties> | |
<carbon.identity.framework.version>5.17.5</carbon.identity.framework.version> | |
<prometheus.simpleclient.version>0.9.0</prometheus.simpleclient.version> | |
<maven.scr.plugin.version>1.24.0</maven.scr.plugin.version> | |
<maven.compiler.plugin.version>3.2</maven.compiler.plugin.version> | |
<maven.bundle.plugin.version>2.4.0</maven.bundle.plugin.version> | |
<apache.felix.scr.ds.annotations.version>1.2.8</apache.felix.scr.ds.annotations.version> | |
</properties> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>${maven.compiler.plugin.version}</version> | |
<configuration> | |
<encoding>UTF-8</encoding> | |
<source>8</source> | |
<target>8</target> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.felix</groupId> | |
<artifactId>maven-scr-plugin</artifactId> | |
<version>${maven.scr.plugin.version}</version> | |
<executions> | |
<execution> | |
<id>generate-scr-scrdescriptor</id> | |
<goals> | |
<goal>scr</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.felix</groupId> | |
<artifactId>maven-bundle-plugin</artifactId> | |
<version>${maven.bundle.plugin.version}</version> | |
<extensions>true</extensions> | |
<configuration> | |
<obrRepository>NONE</obrRepository> | |
<instructions> | |
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> | |
<Bundle-Name>${project.artifactId}</Bundle-Name> | |
<Private-Package> | |
org.wso2.carbon.identity.sample.prometheus.internal, | |
</Private-Package> | |
<Export-Package> | |
org.wso2.carbon.identity.sample.prometheus.event.*; version="${project.version}", | |
org.wso2.carbon.identity.sample.prometheus.servlet.*; version="${project.version}", | |
!org.wso2.carbon.identity.sample.prometheus.internal, | |
</Export-Package> | |
<Import-Package> | |
io.prometheus.client, | |
io.prometheus.client.exporter.common, | |
javax.servlet, | |
javax.servlet.http, | |
org.apache.commons.logging, | |
org.eclipse.equinox.http.helper, | |
org.osgi.framework, | |
org.osgi.service.component, | |
org.osgi.service.http, | |
org.wso2.carbon.identity.application.authentication.framework.context, | |
org.wso2.carbon.identity.application.authentication.framework.model, | |
org.wso2.carbon.identity.application.authentication.framework.util, | |
org.wso2.carbon.identity.application.common.model, | |
org.wso2.carbon.identity.event, | |
org.wso2.carbon.identity.event.bean, | |
org.wso2.carbon.identity.event.event, | |
org.wso2.carbon.identity.event.handler | |
</Import-Package> | |
</instructions> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
<dependencies> | |
<dependency> | |
<groupId>io.prometheus</groupId> | |
<artifactId>simpleclient</artifactId> | |
<version>${prometheus.simpleclient.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>io.prometheus</groupId> | |
<artifactId>simpleclient_common</artifactId> | |
<version>${prometheus.simpleclient.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.wso2.carbon.identity.framework</groupId> | |
<artifactId>org.wso2.carbon.identity.event</artifactId> | |
<version>${carbon.identity.framework.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.wso2.carbon.identity.framework</groupId> | |
<artifactId>org.wso2.carbon.identity.application.authentication.framework</artifactId> | |
<version>${carbon.identity.framework.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.felix</groupId> | |
<artifactId>org.apache.felix.scr.ds-annotations</artifactId> | |
<version>${apache.felix.scr.ds.annotations.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
</dependencies> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment