You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by dj...@apache.org on 2011/03/22 23:36:24 UTC

svn commit: r1084390 - in /karaf/trunk/assemblies: apache-karaf-minimal/ apache-karaf-minimal/pom.xml pom.xml

Author: djencks
Date: Tue Mar 22 22:36:23 2011
New Revision: 1084390

URL: http://svn.apache.org/viewvc?rev=1084390&view=rev
Log:
set up a minimal server assembly to demo archive-server functionality

Added:
    karaf/trunk/assemblies/apache-karaf-minimal/
    karaf/trunk/assemblies/apache-karaf-minimal/pom.xml   (with props)
Modified:
    karaf/trunk/assemblies/pom.xml

Added: karaf/trunk/assemblies/apache-karaf-minimal/pom.xml
URL: http://svn.apache.org/viewvc/karaf/trunk/assemblies/apache-karaf-minimal/pom.xml?rev=1084390&view=auto
==============================================================================
--- karaf/trunk/assemblies/apache-karaf-minimal/pom.xml (added)
+++ karaf/trunk/assemblies/apache-karaf-minimal/pom.xml Tue Mar 22 22:36:23 2011
@@ -0,0 +1,73 @@
+<?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.assemblies</groupId>
+        <artifactId>assemblies</artifactId>
+        <version>3.0.0-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>apache-karaf-minimal</artifactId>
+    <packaging>pom</packaging>
+    <name>Apache Karaf :: Assemblies :: Minimal</name>
+
+    <properties>
+        <appendedResourcesDirectory>${basedir}/../etc/appended-resources</appendedResourcesDirectory>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.karaf.assemblies.features</groupId>
+            <artifactId>karaf-framework</artifactId>
+            <version>${project.version}</version>
+            <type>kar</type>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.karaf.tooling</groupId>
+                <artifactId>features-maven-plugin</artifactId>
+                <version>${project.version}</version>
+                <executions>
+                    <execution>
+                        <id>process-resources</id>
+                        <phase>process-resources</phase>
+                        <goals>
+                            <goal>install-kars</goal>
+                        </goals>
+                    </execution>
+                    <execution>
+                        <id>package</id>
+                        <goals>
+                            <goal>archive-server</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+
+        </plugins>
+    </build>
+
+</project>

Propchange: karaf/trunk/assemblies/apache-karaf-minimal/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: karaf/trunk/assemblies/apache-karaf-minimal/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: karaf/trunk/assemblies/apache-karaf-minimal/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: karaf/trunk/assemblies/pom.xml
URL: http://svn.apache.org/viewvc/karaf/trunk/assemblies/pom.xml?rev=1084390&r1=1084389&r2=1084390&view=diff
==============================================================================
--- karaf/trunk/assemblies/pom.xml (original)
+++ karaf/trunk/assemblies/pom.xml Tue Mar 22 22:36:23 2011
@@ -35,6 +35,7 @@
     <modules>
         <module>features</module>
         <module>apache-karaf</module>
+        <module>apache-karaf-minimal</module>
     </modules>
 
 </project>



Re: svn commit: r1084390 - in /karaf/trunk/assemblies: apache-karaf-minimal/ apache-karaf-minimal/pom.xml pom.xml

Posted by Andreas Pieber <an...@gmail.com>.
Alhough a little bit against the typical mvn architecture wouldn't it
be simpler to overwrite the groupId here to org.apache.karaf to keep
all assemblies in the root context? This would sense IMHO and provide
a clear structure in the repo as well as on m2. WDYT?

Kind regards,
Andreas

On Tue, Mar 22, 2011 at 11:36 PM,  <dj...@apache.org> wrote:
> +    <parent>
> +        <groupId>org.apache.karaf.assemblies</groupId>
> +        <artifactId>assemblies</artifactId>
> +        <version>3.0.0-SNAPSHOT</version>
> +    </parent>
> +
> +    <artifactId>apache-karaf-minimal</artifactId>
> +    <packaging>pom</packaging>
> +    <name>Apache Karaf :: Assemblies :: Minimal</name>