| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| 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. |
| --> |
| <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> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>sling-bundle-parent</artifactId> |
| <version>45</version> |
| <relativePath /> |
| </parent> |
| |
| <artifactId>org.apache.sling.experimental.aries.jaxrs.whiteboard</artifactId> |
| <version>0.0.1-SNAPSHOT</version> |
| |
| <name>Apache Sling Aries JAX-RS Whiteboard Experiments</name> |
| <description>Minimal Sling application using OSGi components as JAX-RS resources</description> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| <project.build.outputTimestamp>1</project.build.outputTimestamp> |
| <http.port>8080</http.port> |
| </properties> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>biz.aQute.bnd</groupId> |
| <artifactId>bnd-maven-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <artifactId>maven-clean-plugin</artifactId> |
| <configuration> |
| <filesets> |
| <fileset> |
| <directory>${basedir}</directory> |
| <includes> |
| <include>launcher/**</include> |
| <include>conf/**</include> |
| </includes> |
| </fileset> |
| </filesets> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <version>3.0.0</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>java</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <mainClass>org.apache.sling.kickstart.app.KickstartStarter</mainClass> |
| <commandlineArgs>-s src/test/resources/features/feature-sling12.json -af src/test/resources/features//feature-aries-jars-sample.json -p ${http.port}</commandlineArgs> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>launcher/**</exclude> |
| <exclude>conf/**</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>biz.aQute.bnd</groupId> |
| <artifactId>bnd-baseline-maven-plugin</artifactId> |
| <configuration> |
| <!-- TODO remove this once we have a release of this module --> |
| <failOnMissing>false</failOnMissing> |
| </configuration> |
| </plugin> |
| <plugin> |
| <!-- docs at http://geronimo.apache.org/microprofile/openapi.html --> |
| <groupId>org.apache.geronimo</groupId> |
| <artifactId>geronimo-openapi-maven-plugin</artifactId> |
| <version>1.0.14</version> |
| <executions> |
| <execution> |
| <id>generate-openapi.json</id> |
| <goals> |
| <goal>openapi.json</goal> |
| </goals> |
| <configuration> |
| <application>org.apache.sling.jaxrs.FakeApp</application> |
| <endpointClasses> |
| <endpointClass>org.apache.sling.jaxrs.TestService</endpointClass> |
| </endpointClasses> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.service.component.annotations</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.aries.spec</groupId> |
| <artifactId>org.apache.aries.javax.jax.rs-api</artifactId> |
| <version>1.0.4</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.aries.jax.rs</groupId> |
| <artifactId>org.apache.aries.jax.rs.whiteboard</artifactId> |
| <version>2.0.1</version> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jaxrs_2.1_spec</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.kickstart</artifactId> |
| <version>0.0.2</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.api</artifactId> |
| <version>2.18.4</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.jcr</groupId> |
| <artifactId>jcr</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>javax.servlet-api</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.jetbrains</groupId> |
| <artifactId>annotations</artifactId> |
| <version>16.0.3</version> |
| <scope>provided</scope> |
| </dependency> |
| </dependencies> |
| </project> |