On Fri, Nov 26, 2010 at 21:21, wrote: > Author: iocanel > Date: Fri Nov 26 20:21:25 2010 > New Revision: 1039550 > > URL: http://svn.apache.org/viewvc?rev=1039550&view=rev > Log: > [KARAF-293] Created a project that hosts the karaf enterprise features > > Added: >    karaf/trunk/features/enterprise/ >    karaf/trunk/features/enterprise/pom.xml >    karaf/trunk/features/enterprise/src/ >    karaf/trunk/features/enterprise/src/main/ >    karaf/trunk/features/enterprise/src/main/resources/ >    karaf/trunk/features/enterprise/src/main/resources/features.xml > Modified: >    karaf/trunk/features/pom.xml > > Added: karaf/trunk/features/enterprise/pom.xml > URL: http://svn.apache.org/viewvc/karaf/trunk/features/enterprise/pom.xml?rev=1039550&view=auto > ============================================================================== > --- karaf/trunk/features/enterprise/pom.xml (added) > +++ karaf/trunk/features/enterprise/pom.xml Fri Nov 26 20:21:25 2010 > @@ -0,0 +1,85 @@ > + > + +         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"> > +     > + > +    4.0.0 > + > +     > +        org.apache.karaf.features > +        features > +        2.1.99-SNAPSHOT > +     > + > +    enterprise > +    Apache Karaf :: Features :: Enterprise > + > +     > +         features.xml > +        2.1_3_6 > +        1.1.1 > +        1.1 > +     I think the maintenance would be easier if all versions are defined in the root pom. It avoid looking in various poms when someone wants to update a given version. > + > +     > +         > +             > +                src/main/resources > +                true > +             > +         > + > +         > +             > +                org.apache.maven.plugins > +                maven-resources-plugin > +                2.4.3 > +                 > +                     > +                        filter > +                        process-resources > +                     > +                 > +             > +             > +                org.codehaus.mojo > +                build-helper-maven-plugin > +                 > +                     > +                        attach-artifacts > +                        package > +                         > +                            attach-artifact > +                         > +                         > +                             > +                                 > +                                    target/classes/${features.file} > +                                    xml > +                                    features > +                                 > +                             > +                         > +                     > +                 > +             > +         > +     > + > \ No newline at end of file > > Added: karaf/trunk/features/enterprise/src/main/resources/features.xml > URL: http://svn.apache.org/viewvc/karaf/trunk/features/enterprise/src/main/resources/features.xml?rev=1039550&view=auto > ============================================================================== > --- karaf/trunk/features/enterprise/src/main/resources/features.xml (added) > +++ karaf/trunk/features/enterprise/src/main/resources/features.xml Fri Nov 26 20:21:25 2010 > @@ -0,0 +1,44 @@ > + > + > +     > + > + > +         > +            
The Aries JTA
> +            mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/${geronimo.transaction.version} > +            mvn:org.apache.aries.transaction/org.apache.aries.transaction.blueprint/${aries.blueprint.version} > +            mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/${aries.blueprint.version} > +        
> + > +       > +            mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/${geronimo.transaction.version} > +            mvn:org.apache.geronimo.specs/geronimo-jpa_2.0_spec/${geronimo.transaction.version} > +            mvn:org.apache.aries.jpa/org.apache.aries.jpa.blueprint.aries/${aries.blueprint.version} > +            mvn:org.apache.aries.jpa/org.apache.aries.jpa.container/${aries.blueprint.version} > +            mvn:org.apache.aries.jpa/org.apache.aries.jpa.container.context/${aries.blueprint.version} > +            mvn:org.apache.aries/org.apache.aries.util/${aries.blueprint.version} > +         > + > +         > +            mvn:org.osgi/org.osgi.enterprise/${osgi.version} > +            mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.cglib/${cglib.version} > +            mvn:org.apache.aries.jndi/org.apache.aries.jndi.core/${aries.blueprint.version} > +            mvn:org.apache.aries.jndi/org.apache.aries.jndi.url/${aries.blueprint.version} > +         > +
Apart from the typo on the root element, I think it would be nice if those features could leverage the obr repository when installed. I.e. add repository="(obr)" on the feature elements and put a dependency="true" on bundles which are not part of the core feature (i.e. they are installed because you need those to provide some third party package. Last, installing the org.osgi/org.osgi.enterprise is imho a bad idea and it's too big and could break modularity. Aries usually provide a bundle with the api and also one which contain both the implementation and the api... > \ No newline at end of file > > Modified: karaf/trunk/features/pom.xml > URL: http://svn.apache.org/viewvc/karaf/trunk/features/pom.xml?rev=1039550&r1=1039549&r2=1039550&view=diff > ============================================================================== > --- karaf/trunk/features/pom.xml (original) > +++ karaf/trunk/features/pom.xml Fri Nov 26 20:21:25 2010 > @@ -37,6 +37,7 @@ >         command >         management >         obr > +        enterprise >     > >   > > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com