| <?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"> |
| |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF 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. |
| --> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.karaf</groupId> |
| <artifactId>karaf</artifactId> |
| <version>4.3.1-SNAPSHOT</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <groupId>org.apache.karaf.scheduler</groupId> |
| <artifactId>org.apache.karaf.scheduler.core</artifactId> |
| <packaging>bundle</packaging> |
| <name>Apache Karaf :: Scheduler :: Core</name> |
| <description>This bundle provides a Service Listener which listens for Runnable Services and schedules their execution, based on the service properties</description> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>${project.basedir}/src/main/resources</directory> |
| <includes> |
| <include>**/*</include> |
| </includes> |
| </resource> |
| <resource> |
| <directory>${project.basedir}/src/main/resources</directory> |
| <filtering>true</filtering> |
| <includes> |
| <include>**/*.info</include> |
| </includes> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.karaf.tooling</groupId> |
| <artifactId>karaf-services-maven-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <configuration> |
| <instructions> |
| <Export-Package> |
| org.apache.karaf.scheduler;version=${project.version};-noimport:=true |
| </Export-Package> |
| <Import-Package> |
| com.mchange.*;resolution:=optional, |
| oracle.*;resolution:=optional, |
| org.quartz.*;resolution:=optional, |
| !weblogic.*, |
| javax.transaction;resolution:=optional, |
| javax.servlet*;resolution:=optional, |
| org.jboss.*;resolution:=optional, |
| com.zaxxer.hikari;resolution:=optional, |
| javax.xml.bind*;version="[2.2,3)", |
| org.osgi.framework;version="[1,3)", |
| * |
| </Import-Package> |
| <Private-Package> |
| org.apache.karaf.scheduler.core, |
| org.apache.karaf.scheduler.command.*, |
| org.quartz, |
| org.quartz.core.*, |
| org.quartz.listeners.*, |
| org.quartz.impl.*, |
| org.quartz.spi.*, |
| org.quartz.simpl.*, |
| org.quartz.utils.*, |
| org.quartz.ee.* |
| </Private-Package> |
| </instructions> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.karaf</groupId> |
| <artifactId>karaf-bom</artifactId> |
| <version>${project.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>osgi.core</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>osgi.cmpn</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.quartz-scheduler</groupId> |
| <artifactId>quartz</artifactId> |
| <version>2.3.2</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.karaf</groupId> |
| <artifactId>org.apache.karaf.util</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.karaf.shell</groupId> |
| <artifactId>org.apache.karaf.shell.core</artifactId> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>jakarta.xml.bind</groupId> |
| <artifactId>jakarta.xml.bind-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jaxb</groupId> |
| <artifactId>jaxb-runtime</artifactId> |
| </dependency> |
| </dependencies> |
| <profiles> |
| <profile> |
| <id>java9-plus</id> |
| <properties> |
| <plexus-utils.version>3.1.0</plexus-utils.version> |
| <mvn.opts>--add-exports=java.base/sun.net.www.protocol.file=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.ftp=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.https=ALL-UNNAMED --add-exports=java.base/sun.net.www.content.text=ALL-UNNAMED --add-exports=jdk.xml.dom/org.w3c.dom.html=ALL-UNNAMED -Djava.io.tmpdir=${project.build.directory}</mvn.opts> |
| </properties> |
| <dependencies> |
| <dependency> |
| <groupId>javax.activation</groupId> |
| <artifactId>activation</artifactId> |
| <version>1.1.1</version> |
| </dependency> |
| </dependencies> |
| <activation> |
| <jdk>[9,)</jdk> |
| </activation> |
| </profile> |
| </profiles> |
| |
| </project> |