[MRM-1651] Add redback-core Karaf features descriptor
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1368215 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e352f3edd3
commit
8703d8873a
1
pom.xml
1
pom.xml
|
@ -53,6 +53,7 @@
|
||||||
<module>redback-users</module>
|
<module>redback-users</module>
|
||||||
<module>redback-data-management</module>
|
<module>redback-data-management</module>
|
||||||
<module>redback-integrations</module>
|
<module>redback-integrations</module>
|
||||||
|
<module>redback-features</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
|
|
|
@ -0,0 +1,94 @@
|
||||||
|
<?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/maven-v4_0_0.xsd">
|
||||||
|
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
<parent>
|
||||||
|
<groupId>org.apache.archiva.redback</groupId>
|
||||||
|
<artifactId>redback</artifactId>
|
||||||
|
<version>2.0-SNAPSHOT</version>
|
||||||
|
</parent>
|
||||||
|
|
||||||
|
<artifactId>redback-core</artifactId>
|
||||||
|
<packaging>pom</packaging>
|
||||||
|
<name>Redback :: Karaf Features</name>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<javax-inject.bundle.version>1_2</javax-inject.bundle.version>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/resources</directory>
|
||||||
|
<filtering>true</filtering>
|
||||||
|
<includes>
|
||||||
|
<include>**/*</include>
|
||||||
|
</includes>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<useDefaultDelimiters>false</useDefaultDelimiters>
|
||||||
|
<delimiters>
|
||||||
|
<delimiter>${*}</delimiter>
|
||||||
|
</delimiters>
|
||||||
|
</configuration>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>filter</id>
|
||||||
|
<phase>generate-resources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>resources</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>build-helper-maven-plugin</artifactId>
|
||||||
|
<version>1.7</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>attach-artifact</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>attach-artifact</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<artifacts>
|
||||||
|
<artifact>
|
||||||
|
<file>target/classes/features.xml</file>
|
||||||
|
<type>xml</type>
|
||||||
|
<classifier>features</classifier>
|
||||||
|
</artifact>
|
||||||
|
</artifacts>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
|
</project>
|
|
@ -0,0 +1,50 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!--
|
||||||
|
|
||||||
|
Licensed 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="redback-core-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.0.0">
|
||||||
|
|
||||||
|
<feature name="redback-configuration" version="${project.version}" resolver="(obr)">
|
||||||
|
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax-inject/${javax-inject.bundle.version}</bundle>
|
||||||
|
<bundle>mvn:org.apache.archiva.redback/redback-configuration/${project.version}</bundle>
|
||||||
|
</feature>
|
||||||
|
|
||||||
|
<feature name="redback-policy" version="${project.version}" resolver="(obr)">
|
||||||
|
<feature version="${project.version}">redback-configuration</feature>
|
||||||
|
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax-inject/${javax-inject.bundle.version}</bundle>
|
||||||
|
<bundle>mvn:org.apache.archiva.redback/redback-policy/${project.version}</bundle>
|
||||||
|
</feature>
|
||||||
|
|
||||||
|
<feature name="redback-authentication-api" version="${project.version}" resolver="(obr)">
|
||||||
|
<feature version="${project.version}">redback-policy</feature>
|
||||||
|
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax-inject/${javax-inject.bundle.version}</bundle>
|
||||||
|
<bundle>mvn:org.apache.archiva.redback/redback-authentication-api/${project.version}</bundle>
|
||||||
|
</feature>
|
||||||
|
|
||||||
|
<feature name="redback-authentication-ldap" version="${project.version}" resolver="(obr)">
|
||||||
|
<feature version="${project.version}">redback-authentication-api</feature>
|
||||||
|
<bundle>mvn:org.apache.archiva.redback/redback-authentication-ldap/${project.version}</bundle>
|
||||||
|
</feature>
|
||||||
|
|
||||||
|
<feature name="redback-authentication-memory" version="${project.version}" resolver="(obr)">
|
||||||
|
<feature version="${project.version}">redback-authentication-api</feature>
|
||||||
|
<bundle>mvn:org.apache.archiva.redback/redback-authentication-memory/${project.version}</bundle>
|
||||||
|
</feature>
|
||||||
|
|
||||||
|
<feature name="redback-authentication-open" version="${project.version}" resolver="(obr)">
|
||||||
|
<feature version="${project.version}">redback-authentication-api</feature>
|
||||||
|
<bundle>mvn:org.apache.archiva.redback/redback-authentication-open/${project.version}</bundle>
|
||||||
|
</feature>
|
||||||
|
|
||||||
|
</features>
|
Loading…
Reference in New Issue