servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject svn commit: r1432478 - in /servicemix/smx4/bundles/trunk: ./ commons-configuration-1.8/ commons-configuration-1.9/ commons-configuration-1.9/src/ commons-configuration-1.9/src/main/ commons-configuration-1.9/src/main/resources/ commons-configuration-1....
Date Sat, 12 Jan 2013 17:34:51 GMT
Author: jbonofre
Date: Sat Jan 12 17:34:50 2013
New Revision: 1432478

URL: http://svn.apache.org/viewvc?rev=1432478&view=rev
Log:
[SMX4-1340] Create OSGi bundle for commons-configuration 1.9

Added:
    servicemix/smx4/bundles/trunk/commons-configuration-1.9/
    servicemix/smx4/bundles/trunk/commons-configuration-1.9/pom.xml
      - copied, changed from r1432220, servicemix/smx4/bundles/trunk/commons-configuration-1.8/pom.xml
    servicemix/smx4/bundles/trunk/commons-configuration-1.9/src/
    servicemix/smx4/bundles/trunk/commons-configuration-1.9/src/main/
    servicemix/smx4/bundles/trunk/commons-configuration-1.9/src/main/resources/
    servicemix/smx4/bundles/trunk/commons-configuration-1.9/src/main/resources/OSGI-INF/
    servicemix/smx4/bundles/trunk/commons-configuration-1.9/src/main/resources/OSGI-INF/bundle.info
Modified:
    servicemix/smx4/bundles/trunk/commons-configuration-1.8/pom.xml
    servicemix/smx4/bundles/trunk/pom.xml

Modified: servicemix/smx4/bundles/trunk/commons-configuration-1.8/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/commons-configuration-1.8/pom.xml?rev=1432478&r1=1432477&r2=1432478&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/commons-configuration-1.8/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/commons-configuration-1.8/pom.xml Sat Jan 12 17:34:50 2013
@@ -67,7 +67,6 @@
             <groupId>${pkgGroupId}</groupId>
             <artifactId>${pkgArtifactId}</artifactId>
             <version>${pkgVersion}</version>
-            <optional>true</optional>
         </dependency>
 
         <!-- sources -->
@@ -76,7 +75,6 @@
             <artifactId>${pkgArtifactId}</artifactId>
             <version>${pkgVersion}</version>
             <classifier>sources</classifier>
-            <optional>true</optional>
         </dependency>
     </dependencies>
 

Copied: servicemix/smx4/bundles/trunk/commons-configuration-1.9/pom.xml (from r1432220, servicemix/smx4/bundles/trunk/commons-configuration-1.8/pom.xml)
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/commons-configuration-1.9/pom.xml?p2=servicemix/smx4/bundles/trunk/commons-configuration-1.9/pom.xml&p1=servicemix/smx4/bundles/trunk/commons-configuration-1.8/pom.xml&r1=1432220&r2=1432478&rev=1432478&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/commons-configuration-1.8/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/commons-configuration-1.9/pom.xml Sat Jan 12 17:34:50 2013
@@ -29,8 +29,8 @@
     </parent>
 
     <groupId>org.apache.servicemix.bundles</groupId>
-    <artifactId>org.apache.servicemix.bundles.commons-configuration</artifactId>
-    <version>1.8_2-SNAPSHOT</version>
+    <artifactId>org.apache.servicemmix.bundles.commons-configuration</artifactId>
+    <version>1.9_1-SNAPSHOT</version>
     <packaging>bundle</packaging>
     <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
     <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.</description>
@@ -38,7 +38,7 @@
     <properties>
         <pkgGroupId>commons-configuration</pkgGroupId>
         <pkgArtifactId>commons-configuration</pkgArtifactId>
-        <pkgVersion>1.8</pkgVersion>
+        <pkgVersion>1.9</pkgVersion>
         <servicemix.osgi.export.pkg>
             org.apache.commons.configuration
         </servicemix.osgi.export.pkg>
@@ -67,7 +67,6 @@
             <groupId>${pkgGroupId}</groupId>
             <artifactId>${pkgArtifactId}</artifactId>
             <version>${pkgVersion}</version>
-            <optional>true</optional>
         </dependency>
 
         <!-- sources -->
@@ -76,7 +75,6 @@
             <artifactId>${pkgArtifactId}</artifactId>
             <version>${pkgVersion}</version>
             <classifier>sources</classifier>
-            <optional>true</optional>
         </dependency>
     </dependencies>
 
@@ -85,32 +83,25 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-shade-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>shade</goal>
-                        </goals>
-                        <configuration>
-                            <artifactSet>
-                                <includes>
-                                    <include>${pkgGroupId}:${pkgArtifactId}</include>
-                                </includes>
-                            </artifactSet>
-                            <filters>
-                                <filter>
-                                    <artifact>${pkgGroupId}:${pkgArtifactId}</artifact>
-                                    <excludes>
-                                        <exclude>**</exclude>
-                                    </excludes>
-                                </filter>
-                            </filters>
-                            <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
-                            <createDependencyReducedPom>true</createDependencyReducedPom>
-                        </configuration>
-                    </execution>
-                </executions>
+                <configuration>
+                    <artifactSet>
+                        <includes>
+                            <include>${pkgGroupId}:${pkgArtifactId}</include>
+                        </includes>
+                    </artifactSet>
+                    <filters>
+                        <filter>
+                            <artifact>${pkgGroupId}:${pkgArtifactId}</artifact>
+                            <excludes>
+                                <exclude>**/*</exclude>
+                            </excludes>
+                        </filter>
+                    </filters>
+                    <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+                    <createDependencyReducedPom>true</createDependencyReducedPom>
+                </configuration>
             </plugin>
         </plugins>
     </build>
-</project>
+
+</project>
\ No newline at end of file

Added: servicemix/smx4/bundles/trunk/commons-configuration-1.9/src/main/resources/OSGI-INF/bundle.info
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/commons-configuration-1.9/src/main/resources/OSGI-INF/bundle.info?rev=1432478&view=auto
==============================================================================
--- servicemix/smx4/bundles/trunk/commons-configuration-1.9/src/main/resources/OSGI-INF/bundle.info
(added)
+++ servicemix/smx4/bundles/trunk/commons-configuration-1.9/src/main/resources/OSGI-INF/bundle.info
Sat Jan 12 17:34:50 2013
@@ -0,0 +1,32 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    Commons Configuration provides a generic configuration interface which enables a Java
application to read
+    configuration data from a variety of sources. Commons Configuration provides typed access
to single, and
+    multi-valued configuration parameters as demonstrated by the following code:
+
+        Double double = config.getDouble("number");
+        Integer integer = config.getInteger("number");
+
+    Configuration parameters may be loaded from the following sources:
+
+        * Properties files
+        * XML documents
+        * Windows INI files
+        * Property list files (plist)
+        * JNDI
+        * JDBC Datasource
+        * System properties
+        * Applet parameters
+        * Servlet parameters
+
+    Different configuration sources can be mixed using a ConfigurationFactory and a CompositeConfiguration.
+    Additional sources of configuration parameters can be created by using custom configuration
objects.
+    This customization can be achieved by extending AbstractConfiguration or AbstractFileConfiguration.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://commons.apache.org/configuration/\u001B[0m

Modified: servicemix/smx4/bundles/trunk/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/pom.xml?rev=1432478&r1=1432477&r2=1432478&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/pom.xml Sat Jan 12 17:34:50 2013
@@ -60,6 +60,8 @@
         <module>lucene-analyzers-common-4.0.0</module>
         <module>lucene-queryparser-4.0.0</module>
         <module>jutf7-1.0.0</module>
+        <module>commons-configuration-1.8</module>
+        <module>commons-configuration-1.9</module>
     </modules>
 
 </project>



Mime
View raw message