<commit_before><?xml version="1.0" encoding="ISO-8859-1"?>
<!--
    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.
-->

<!-- $Rev$ $Date$ -->

<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.geronimo.plugins</groupId>
        <artifactId>activemq</artifactId>
        <version>3.0-SNAPSHOT</version>
    </parent>

    <groupId>org.apache.geronimo.configs</groupId>
    <artifactId>activemq-broker-blueprint</artifactId>
    <name>Geronimo Plugins, ActiveMQ v5 :: Broker using blueprint</name>
    <packaging>car</packaging>

    <description>Apache ActiveMQ v5 integration into geronimo.  This module starts an activemq broker embedded in geronimo.</description>

    <dependencies>
        <dependency>
             <groupId>org.apache.karaf.features</groupId>
             <artifactId>framework</artifactId>
             <type>kar</type>
             <version>3.0.0-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>org.apache.karaf.features</groupId>
             <artifactId>standard</artifactId>
             <classifier>features</classifier>
             <type>xml</type>
             <scope>runtime</scope>
             <version>3.0.0-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>org.apache.karaf.features</groupId>
             <artifactId>enterprise</artifactId>
             <classifier>features</classifier>
             <type>xml</type>
             <scope>runtime</scope>
             <version>3.0.0-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>org.apache.geronimo.framework.features</groupId>
             <artifactId>framework</artifactId>
             <version>${project.version}</version>
             <type>kar</type>
         </dependency>
         <dependency>
             <groupId>org.apache.geronimo.framework.features</groupId>
             <artifactId>org.apache.geronimo.javaee-specs</artifactId>
             <version>${project.version}</version>
             <classifier>features</classifier>
             <type>xml</type>
         </dependency>

        <!--<dependency>-->
            <!--<groupId>org.apache.geronimo.framework</groupId>-->
            <!--<artifactId>geronimo-blueprint</artifactId>-->
            <!--<version>${project.version}</version>-->
        <!--</dependency>-->

        <!-- parent config -->
        <dependency>
            <groupId>org.apache.geronimo.configs</groupId>
            <artifactId>system-database</artifactId>
            <version>${project.version}</version>
            <type>car</type>
        </dependency>

        <dependency>
            <groupId>org.apache.geronimo.modules</groupId>
            <artifactId>geronimo-activemq-blueprint</artifactId>
            <version>${project.version}</version>
        </dependency>

        <dependency>
            <groupId>org.apache.geronimo.modules</groupId>
            <artifactId>geronimo-activemq-management</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.xbean</groupId>
            <artifactId>xbean-blueprint</artifactId>
        </dependency>

        <dependency>
            <groupId>org.apache.servicemix.bundles</groupId>
            <artifactId>org.apache.servicemix.bundles.commons-codec</artifactId>
        </dependency>

        <dependency>
            <groupId>org.apache.servicemix.bundles</groupId>
            <artifactId>org.apache.servicemix.bundles.jasypt</artifactId>
        </dependency>

        <dependency>
            <groupId>org.apache.activemq</groupId>
            <artifactId>activemq-core</artifactId>
        </dependency>

        <dependency>
            <groupId>org.apache.activemq</groupId>
            <artifactId>activeio-core</artifactId>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.geronimo.buildsupport</groupId>
                <artifactId>car-maven-plugin</artifactId>
                <configuration>
                    <useMavenDependencies>
                        <value>true</value>
                        <includeVersion>true</includeVersion>
                    </useMavenDependencies>
                    <category>JMS</category>
                    <instance>
                        <plugin-artifact>
                            <!--<copy-file relative-to="server" dest-dir="var/activemq/conf">activemq.xml</copy-file>-->
                            <!--<copy-file relative-to="server" dest-dir="var/activemq/template">activemq-template.xml</copy-file>-->
                            <!--<copy-file relative-to="geronimo" dest-dir="etc">etc/org.apache.geronimo.activemq-broker.cfg</copy-file>-->
                            <!--
                            <config-xml-content>
                                <gbean name="ActiveMQ.tcp.default">
                                    <attribute name="host">#{ServerHostname}</attribute>
                                    <attribute name="port">#{ActiveMQPort + PortOffset}</attribute>
                                </gbean>
                                <gbean name="ActiveMQ.stomp.default">
                                    <attribute name="host">#{ServerHostname}</attribute>
                                    <attribute name="port">#{ActiveMQStompPort + PortOffset}</attribute>
                                </gbean>
                            </config-xml-content>
                            <config-substitution key="ActiveMQStompPort">61613</config-substitution>
                            -->
                            <config-substitution key="ActiveMQPort">61616</config-substitution>
                            <config-substitution key="activemq.brokerName">DefaultActiveMQBroker</config-substitution>
                            <config-substitution key="activemq.data">var/activemq</config-substitution>
                        </plugin-artifact>
                    </instance>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>
<commit_msg>GERONIMO-6281 Use o.a.g.server.dir as the prefix to activemq.data path in order to generate the activemq datastore in the instance folder, for 3.0 trunk<commit_after><?xml version="1.0" encoding="ISO-8859-1"?>
<!--
    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.
-->

<!-- $Rev$ $Date$ -->

<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.geronimo.plugins</groupId>
        <artifactId>activemq</artifactId>
        <version>3.0-SNAPSHOT</version>
    </parent>

    <groupId>org.apache.geronimo.configs</groupId>
    <artifactId>activemq-broker-blueprint</artifactId>
    <name>Geronimo Plugins, ActiveMQ v5 :: Broker using blueprint</name>
    <packaging>car</packaging>

    <description>Apache ActiveMQ v5 integration into geronimo.  This module starts an activemq broker embedded in geronimo.</description>

    <dependencies>
        <dependency>
             <groupId>org.apache.karaf.features</groupId>
             <artifactId>framework</artifactId>
             <type>kar</type>
             <version>3.0.0-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>org.apache.karaf.features</groupId>
             <artifactId>standard</artifactId>
             <classifier>features</classifier>
             <type>xml</type>
             <scope>runtime</scope>
             <version>3.0.0-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>org.apache.karaf.features</groupId>
             <artifactId>enterprise</artifactId>
             <classifier>features</classifier>
             <type>xml</type>
             <scope>runtime</scope>
             <version>3.0.0-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>org.apache.geronimo.framework.features</groupId>
             <artifactId>framework</artifactId>
             <version>${project.version}</version>
             <type>kar</type>
         </dependency>
         <dependency>
             <groupId>org.apache.geronimo.framework.features</groupId>
             <artifactId>org.apache.geronimo.javaee-specs</artifactId>
             <version>${project.version}</version>
             <classifier>features</classifier>
             <type>xml</type>
         </dependency>

        <!--<dependency>-->
            <!--<groupId>org.apache.geronimo.framework</groupId>-->
            <!--<artifactId>geronimo-blueprint</artifactId>-->
            <!--<version>${project.version}</version>-->
        <!--</dependency>-->

        <!-- parent config -->
        <dependency>
            <groupId>org.apache.geronimo.configs</groupId>
            <artifactId>system-database</artifactId>
            <version>${project.version}</version>
            <type>car</type>
        </dependency>

        <dependency>
            <groupId>org.apache.geronimo.modules</groupId>
            <artifactId>geronimo-activemq-blueprint</artifactId>
            <version>${project.version}</version>
        </dependency>

        <dependency>
            <groupId>org.apache.geronimo.modules</groupId>
            <artifactId>geronimo-activemq-management</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.xbean</groupId>
            <artifactId>xbean-blueprint</artifactId>
        </dependency>

        <dependency>
            <groupId>org.apache.servicemix.bundles</groupId>
            <artifactId>org.apache.servicemix.bundles.commons-codec</artifactId>
        </dependency>

        <dependency>
            <groupId>org.apache.servicemix.bundles</groupId>
            <artifactId>org.apache.servicemix.bundles.jasypt</artifactId>
        </dependency>

        <dependency>
            <groupId>org.apache.activemq</groupId>
            <artifactId>activemq-core</artifactId>
        </dependency>

        <dependency>
            <groupId>org.apache.activemq</groupId>
            <artifactId>activeio-core</artifactId>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.geronimo.buildsupport</groupId>
                <artifactId>car-maven-plugin</artifactId>
                <configuration>
                    <useMavenDependencies>
                        <value>true</value>
                        <includeVersion>true</includeVersion>
                    </useMavenDependencies>
                    <category>JMS</category>
                    <instance>
                        <plugin-artifact>
                            <!--<copy-file relative-to="server" dest-dir="var/activemq/conf">activemq.xml</copy-file>-->
                            <!--<copy-file relative-to="server" dest-dir="var/activemq/template">activemq-template.xml</copy-file>-->
                            <!--<copy-file relative-to="geronimo" dest-dir="etc">etc/org.apache.geronimo.activemq-broker.cfg</copy-file>-->
                            <!--
                            <config-xml-content>
                                <gbean name="ActiveMQ.tcp.default">
                                    <attribute name="host">#{ServerHostname}</attribute>
                                    <attribute name="port">#{ActiveMQPort + PortOffset}</attribute>
                                </gbean>
                                <gbean name="ActiveMQ.stomp.default">
                                    <attribute name="host">#{ServerHostname}</attribute>
                                    <attribute name="port">#{ActiveMQStompPort + PortOffset}</attribute>
                                </gbean>
                            </config-xml-content>
                            <config-substitution key="ActiveMQStompPort">61613</config-substitution>
                            -->
                            <config-substitution key="ActiveMQPort">61616</config-substitution>
                            <config-substitution key="activemq.brokerName">DefaultActiveMQBroker</config-substitution>
                            <config-substitution key="activemq.data">${org.apache.geronimo.server.dir}/var/activemq</config-substitution>
                        </plugin-artifact>
                    </instance>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>

{'fraction_non_alphanumeric': 0.12608124005259153, 'fraction_numerical': 0.007473531243512559, 'mean_word_length': 1.8657545112036487, 'pattern_counts': {'":': 0, '<': 429, '<?xml version=': 2, '>': 429, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 20}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5277463', 'n_tokens_mistral': 4092, 'n_tokens_neox': 3689, 'n_words': 598}