[ https://issues.apache.org/jira/browse/ARIES-1872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16711310#comment-16711310 ]
ASF GitHub Bot commented on ARIES-1872: --------------------------------------- cschneider closed pull request #11: WIP: [ARIES-1872] Add Aries JAX-RS Whiteboard Karaf features repository URL: https://github.com/apache/aries-jax-rs-whiteboard/pull/11 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/jax-rs.features/pom.xml b/jax-rs.features/pom.xml new file mode 100644 index 0000000..0520ae2 --- /dev/null +++ b/jax-rs.features/pom.xml @@ -0,0 +1,80 @@ +<?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.aries.jax.rs</groupId> + <artifactId>org.apache.aries.jax.rs</artifactId> + <version>1.0.2-SNAPSHOT</version> + </parent> + + <artifactId>org.apache.aries.jax.rs.features</artifactId> + <description>Apache Aries JAX-RS Karaf features repository</description> + <name>Apache Aries JAX-RS Karaf Features</name> + <packaging>pom</packaging> + + <build> + <resources> + <resource> + <directory>${project.basedir}/src/main/feature</directory> + <filtering>true</filtering> + <targetPath>${project.build.directory}/feature</targetPath> + </resource> + </resources> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-resources-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>resources</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>3.0.0</version> + <executions> + <execution> + <id>attach-artifact</id> + <phase>package</phase> + <goals> + <goal>attach-artifact</goal> + </goals> + <configuration> + <artifacts> + <artifact> + <file>target/feature/feature.xml</file> + <type>xml</type> + </artifact> + </artifacts> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + +</project> \ No newline at end of file diff --git a/jax-rs.features/src/main/feature/feature.xml b/jax-rs.features/src/main/feature/feature.xml new file mode 100644 index 0000000..8822162 --- /dev/null +++ b/jax-rs.features/src/main/feature/feature.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<!-- + 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. +--> +<features name="aries-jax-rs-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.3.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.3.0 http://karaf.apache.org/xmlns/features/v1.3.0"> + + <repository>mvn:org.apache.karaf.features/standard/[4,5)/xml/features</repository> + + <feature version="${project.version}" name="aries-jax-rs-whiteboard"> + <feature>http</feature> + <feature>pax-jetty</feature> + <bundle dependency="true">mvn:org.apache.aries.spec/org.apache.aries.javax.jax.rs-api/1.0.1</bundle> + <bundle dependency="true">mvn:org.osgi/org.osgi.util.function/1.1.0</bundle> + <bundle dependency="true">mvn:org.osgi/org.osgi.util.promise/1.1.0</bundle> + <bundle dependency="true">mvn:org.osgi/org.osgi.service.jaxrs/1.0.0</bundle> + <bundle dependency="true">mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.annotation-api-1.3/1.3_1</bundle> + <bundle>mvn:org.apache.aries.jax.rs/org.apache.aries.jax.rs.whiteboard/${project.version}</bundle> + </feature> + +</features> \ No newline at end of file diff --git a/pom.xml b/pom.xml index f6c1477..7c1d117 100644 --- a/pom.xml +++ b/pom.xml @@ -52,6 +52,7 @@ <module>jax-rs.whiteboard</module> <module>jax-rs.itests</module> <module>jax-rs.itests-fragment</module> + <module>jax-rs.features</module> </modules> <build> ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Provide karaf features repository > --------------------------------- > > Key: ARIES-1872 > URL: https://issues.apache.org/jira/browse/ARIES-1872 > Project: Aries > Issue Type: New Feature > Components: jax-rs-whiteboard > Reporter: Jean-Baptiste Onofré > Assignee: Jean-Baptiste Onofré > Priority: Major > Fix For: jax-rs-whiteboard-1.0.2 > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)