<commit_before><?xml version="1.0"?>
<!-- Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
<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">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>com.yahoo.vespa</groupId>
        <artifactId>parent</artifactId>
        <version>6-SNAPSHOT</version>
        <relativePath>../parent</relativePath>
    </parent>

    <artifactId>container-dependencies-enforcer</artifactId>
    <version>6-SNAPSHOT</version>
    <packaging>pom</packaging>

    <dependencies>
        <dependency>
            <groupId>com.yahoo.vespa</groupId>
            <artifactId>container</artifactId>
            <version>${project.version}</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.yahoo.vespa</groupId>
            <artifactId>container-test</artifactId>
            <version>${project.version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>
    <profiles>
        <profile>
            <id>enforce-container-deps</id>
            <activation>
                <activeByDefault>false</activeByDefault>
                 <property>
                     <!-- Dependency resolution is broken for old maven used in our CentOS docker containers -->
                    <name>maven.version</name>
                    <value>!3.0.5</value>
                </property>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-enforcer-plugin</artifactId>
                        <version>3.0.0-M1</version>
                        <executions>
                            <execution>
                                <!-- To allow running 'mvn enforcer:enforce' from the command line -->
                                <id>default-cli</id>
                                <goals>
                                    <goal>enforce</goal>
                                </goals>
                                <configuration>
                                    <rules>
                                        <bannedDependencies>
                                            <excludes>
                                                <!-- Only allow explicitly listed deps in provided and compile scope -->
                                                <exclude>*:*:*:jar:provided:*</exclude>
                                                <exclude>*:*:*:jar:compile:*</exclude>
                                            </excludes>
                                            <includes>
                                                <include>com.yahoo.vespa</include>
                                                <include>aopalliance:aopalliance:[1.0]:jar:provided</include>
                                                <include>com.fasterxml.jackson.core:jackson-annotations:[${jackson2.version}]:jar:provided</include>
                                                <include>com.fasterxml.jackson.core:jackson-core:[${jackson2.version}]:jar:provided</include>
                                                <include>com.fasterxml.jackson.core:jackson-databind:[${jackson2.version}]:jar:provided</include>
                                                <include>com.fasterxml.jackson.datatype:jackson-datatype-jdk8:[${jackson2.version}]:jar:provided</include>
                                                <include>com.fasterxml.jackson.datatype:jackson-datatype-jsr310:[${jackson2.version}]:jar:provided</include>


                                                <!-- Use version range for jax deps, because jersey and junit affect the versions. -->
                                                <include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:[2.5.4, ${jackson2.version}]:jar:provided</include>
                                                <include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:[2.5.4, ${jackson2.version}]:jar:provided</include>
                                                <include>com.fasterxml.jackson.module:jackson-module-jaxb-annotations:[2.5.4, ${jackson2.version}]:jar:provided</include>

                                                <include>com.google.code.findbugs:annotations:[1.3.9]:jar:provided</include>
                                                <include>com.google.code.findbugs:jsr305:[1.3.9]:jar:provided</include>
                                                <include>com.google.guava:guava:[18.0]:jar:provided</include>
                                                <include>com.google.inject.extensions:guice-assistedinject:[3.0]:jar:provided</include>
                                                <include>com.google.inject.extensions:guice-multibindings:[3.0]:jar:provided</include>
                                                <include>com.google.inject:guice:[3.0]:jar:provided:no_aop</include>
                                                <include>commons-codec:commons-codec:[1.4]:jar:provided</include>
                                                <include>commons-daemon:commons-daemon:[1.0.3]:jar:provided</include>
                                                <include>commons-logging:commons-logging:[1.1.1]:jar:provided</include>
                                                <include>javax.annotation:javax.annotation-api:[1.2]:jar:provided</include>
                                                <include>javax.inject:javax.inject:[1]:jar:provided</include>
                                                <include>javax.servlet:javax.servlet-api:[3.1.0]:jar:provided</include>
                                                <include>javax.validation:validation-api:[1.1.0.Final]:jar:provided</include>
                                                <include>javax.ws.rs:javax.ws.rs-api:[${javax.ws.rs-api.version}]:jar:provided</include>
                                                <include>net.jcip:jcip-annotations:[1.0]:jar:provided</include>
                                                <include>net.jpountz.lz4:lz4:[1.3.0]:jar:provided</include>
                                                <include>org.apache.felix:org.apache.felix.framework:[4.2.1]:jar:provided</include>
                                                <include>org.apache.felix:org.apache.felix.log:[1.0.1]:jar:provided</include>
                                                <include>org.apache.felix:org.apache.felix.main:[4.2.1]:jar:provided</include>
                                                <include>org.apache.httpcomponents:httpclient:[4.3.6]:jar:provided</include>
                                                <include>org.apache.httpcomponents:httpcore:[4.3.3]:jar:provided</include>
                                                <include>org.eclipse.jetty:jetty-http:[${jetty.version}]:jar:provided</include>
                                                <include>org.eclipse.jetty:jetty-io:[${jetty.version}]:jar:provided</include>
                                                <include>org.eclipse.jetty:jetty-util:[${jetty.version}]:jar:provided</include>
                                                <include>org.glassfish.hk2.external:aopalliance-repackaged:[2.5.0-b05]:jar:provided</include>
                                                <include>org.glassfish.hk2.external:javax.inject:[2.5.0-b05]:jar:provided</include>
                                                <include>org.glassfish.hk2:hk2-api:[2.5.0-b05]:jar:provided</include>
                                                <include>org.glassfish.hk2:hk2-locator:[2.5.0-b05]:jar:provided</include>
                                                <include>org.glassfish.hk2:hk2-utils:[2.5.0-b05]:jar:provided</include>
                                                <include>org.glassfish.hk2:osgi-resource-locator:[1.0.1]:jar:provided</include>
                                                <include>org.glassfish.jersey.bundles.repackaged:jersey-guava:[${jersey2.version}]:jar:provided</include>
                                                <include>org.glassfish.jersey.containers:jersey-container-servlet-core:[${jersey2.version}]:jar:provided</include>
                                                <include>org.glassfish.jersey.containers:jersey-container-servlet:[${jersey2.version}]:jar:provided</include>
                                                <include>org.glassfish.jersey.core:jersey-client:[${jersey2.version}]:jar:provided</include>
                                                <include>org.glassfish.jersey.core:jersey-common:[${jersey2.version}]:jar:provided</include>
                                                <include>org.glassfish.jersey.core:jersey-server:[${jersey2.version}]:jar:provided</include>
                                                <include>org.glassfish.jersey.ext:jersey-entity-filtering:[${jersey2.version}]:jar:provided</include>
                                                <include>org.glassfish.jersey.ext:jersey-proxy-client:[${jersey2.version}]:jar:provided</include>
                                                <include>org.glassfish.jersey.media:jersey-media-jaxb:[${jersey2.version}]:jar:provided</include>
                                                <include>org.glassfish.jersey.media:jersey-media-json-jackson:[${jersey2.version}]:jar:provided</include>
                                                <include>org.glassfish.jersey.media:jersey-media-multipart:[${jersey2.version}]:jar:provided</include>
                                                <include>org.javassist:javassist:[3.20.0-GA]:jar:provided</include>
                                                <include>org.json:json:[20090211]:jar:provided</include>
                                                <include>org.jvnet.mimepull:mimepull:[1.9.6]:jar:provided</include>
                                                <include>org.slf4j:jcl-over-slf4j:[1.7.5]:jar:provided</include>
                                                <include>org.slf4j:log4j-over-slf4j:[1.7.5]:jar:provided</include>
                                                <include>org.slf4j:slf4j-api:[1.7.5]:jar:provided</include>
                                                <include>org.slf4j:slf4j-jdk14:[1.7.5]:jar:provided</include>
                                                <include>xml-apis:xml-apis:[1.4.01]:jar:provided</include>
                                            </includes>
                                        </bannedDependencies>
                                    </rules>
                                    <fail>true</fail>
                                </configuration>
                            </execution><commit_msg>Use new version properties from container-dependency-versions.<commit_after><?xml version="1.0"?>
<!-- Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
<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">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>com.yahoo.vespa</groupId>
        <artifactId>parent</artifactId>
        <version>6-SNAPSHOT</version>
        <relativePath>../parent</relativePath>
    </parent>

    <artifactId>container-dependencies-enforcer</artifactId>
    <version>6-SNAPSHOT</version>
    <packaging>pom</packaging>

    <dependencies>
        <dependency>
            <groupId>com.yahoo.vespa</groupId>
            <artifactId>container</artifactId>
            <version>${project.version}</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.yahoo.vespa</groupId>
            <artifactId>container-test</artifactId>
            <version>${project.version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>
    <profiles>
        <profile>
            <id>enforce-container-deps</id>
            <activation>
                <activeByDefault>false</activeByDefault>
                 <property>
                     <!-- Dependency resolution is broken for old maven used in our CentOS docker containers -->
                    <name>maven.version</name>
                    <value>!3.0.5</value>
                </property>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-enforcer-plugin</artifactId>
                        <version>3.0.0-M1</version>
                        <executions>
                            <execution>
                                <!-- To allow running 'mvn enforcer:enforce' from the command line -->
                                <id>default-cli</id>
                                <goals>
                                    <goal>enforce</goal>
                                </goals>
                                <configuration>
                                    <rules>
                                        <bannedDependencies>
                                            <excludes>
                                                <!-- Only allow explicitly listed deps in provided and compile scope -->
                                                <exclude>*:*:*:jar:provided:*</exclude>
                                                <exclude>*:*:*:jar:compile:*</exclude>
                                            </excludes>
                                            <includes>
                                                <include>com.yahoo.vespa</include>
                                                <include>aopalliance:aopalliance:[1.0]:jar:provided</include>
                                                <include>com.fasterxml.jackson.core:jackson-annotations:[${jackson2.version}]:jar:provided</include>
                                                <include>com.fasterxml.jackson.core:jackson-core:[${jackson2.version}]:jar:provided</include>
                                                <include>com.fasterxml.jackson.core:jackson-databind:[${jackson2.version}]:jar:provided</include>
                                                <include>com.fasterxml.jackson.datatype:jackson-datatype-jdk8:[${jackson2.version}]:jar:provided</include>
                                                <include>com.fasterxml.jackson.datatype:jackson-datatype-jsr310:[${jackson2.version}]:jar:provided</include>


                                                <!-- Use version range for jax deps, because jersey and junit affect the versions. -->
                                                <include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:[2.5.4, ${jackson2.version}]:jar:provided</include>
                                                <include>com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:[2.5.4, ${jackson2.version}]:jar:provided</include>
                                                <include>com.fasterxml.jackson.module:jackson-module-jaxb-annotations:[2.5.4, ${jackson2.version}]:jar:provided</include>

                                                <include>com.google.code.findbugs:annotations:[${findbugs.version}]:jar:provided</include>
                                                <include>com.google.code.findbugs:jsr305:[${findbugs.version}]:jar:provided</include>
                                                <include>com.google.guava:guava:[${guava.version}]:jar:provided</include>
                                                <include>com.google.inject.extensions:guice-assistedinject:[${guice.version}]:jar:provided</include>
                                                <include>com.google.inject.extensions:guice-multibindings:[${guice.version}]:jar:provided</include>
                                                <include>com.google.inject:guice:[${guice.version}]:jar:provided:no_aop</include>
                                                <include>commons-codec:commons-codec:[1.4]:jar:provided</include>
                                                <include>commons-daemon:commons-daemon:[1.0.3]:jar:provided</include>
                                                <include>commons-logging:commons-logging:[1.1.1]:jar:provided</include>
                                                <include>javax.annotation:javax.annotation-api:[${javax.annotation-api.version}]:jar:provided</include>
                                                <include>javax.inject:javax.inject:[1]:jar:provided</include>
                                                <include>javax.servlet:javax.servlet-api:[3.1.0]:jar:provided</include>
                                                <include>javax.validation:validation-api:[${javax.validation-api.version}]:jar:provided</include>
                                                <include>javax.ws.rs:javax.ws.rs-api:[${javax.ws.rs-api.version}]:jar:provided</include>
                                                <include>net.jcip:jcip-annotations:[1.0]:jar:provided</include>
                                                <include>net.jpountz.lz4:lz4:[1.3.0]:jar:provided</include>
                                                <include>org.apache.felix:org.apache.felix.framework:[${felix.version}]:jar:provided</include>
                                                <include>org.apache.felix:org.apache.felix.log:[1.0.1]:jar:provided</include>
                                                <include>org.apache.felix:org.apache.felix.main:[${felix.version}]:jar:provided</include>
                                                <include>org.apache.httpcomponents:httpclient:[4.3.6]:jar:provided</include>
                                                <include>org.apache.httpcomponents:httpcore:[4.3.3]:jar:provided</include>
                                                <include>org.eclipse.jetty:jetty-http:[${jetty.version}]:jar:provided</include>
                                                <include>org.eclipse.jetty:jetty-io:[${jetty.version}]:jar:provided</include>
                                                <include>org.eclipse.jetty:jetty-util:[${jetty.version}]:jar:provided</include>
                                                <include>org.glassfish.hk2.external:aopalliance-repackaged:[${hk2.version}]:jar:provided</include>
                                                <include>org.glassfish.hk2.external:javax.inject:[${hk2.version}]:jar:provided</include>
                                                <include>org.glassfish.hk2:hk2-api:[${hk2.version}]:jar:provided</include>
                                                <include>org.glassfish.hk2:hk2-locator:[${hk2.version}]:jar:provided</include>
                                                <include>org.glassfish.hk2:hk2-utils:[${hk2.version}]:jar:provided</include>
                                                <include>org.glassfish.hk2:osgi-resource-locator:[${hk2.osgi-resource-locator.version}]:jar:provided</include>
                                                <include>org.glassfish.jersey.bundles.repackaged:jersey-guava:[${jersey2.version}]:jar:provided</include>
                                                <include>org.glassfish.jersey.containers:jersey-container-servlet-core:[${jersey2.version}]:jar:provided</include>
                                                <include>org.glassfish.jersey.containers:jersey-container-servlet:[${jersey2.version}]:jar:provided</include>
                                                <include>org.glassfish.jersey.core:jersey-client:[${jersey2.version}]:jar:provided</include>
                                                <include>org.glassfish.jersey.core:jersey-common:[${jersey2.version}]:jar:provided</include>
                                                <include>org.glassfish.jersey.core:jersey-server:[${jersey2.version}]:jar:provided</include>
                                                <include>org.glassfish.jersey.ext:jersey-entity-filtering:[${jersey2.version}]:jar:provided</include>
                                                <include>org.glassfish.jersey.ext:jersey-proxy-client:[${jersey2.version}]:jar:provided</include>
                                                <include>org.glassfish.jersey.media:jersey-media-jaxb:[${jersey2.version}]:jar:provided</include>
                                                <include>org.glassfish.jersey.media:jersey-media-json-jackson:[${jersey2.version}]:jar:provided</include>
                                                <include>org.glassfish.jersey.media:jersey-media-multipart:[${jersey2.version}]:jar:provided</include>
                                                <include>org.javassist:javassist:[${javassist.version}]:jar:provided</include>
                                                <include>org.json:json:[20090211]:jar:provided</include>
                                                <include>org.jvnet.mimepull:mimepull:[${mimepull.version}]:jar:provided</include>
                                                <include>org.slf4j:jcl-over-slf4j:[${slf4j.version}]:jar:provided</include>
                                                <include>org.slf4j:log4j-over-slf4j:[${slf4j.version}]:jar:provided</include>
                                                <include>org.slf4j:slf4j-api:[${slf4j.version}]:jar:provided</include>
                                                <include>org.slf4j:slf4j-jdk14:[${slf4j.version}]:jar:provided</include>
                                                <include>xml-apis:xml-apis:[1.4.01]:jar:provided</include>
                                            </includes>
                                        </bannedDependencies>
                                    </rules>
                                    <fail>true</fail>
                                </configuration>
                            </execution>
{'fraction_non_alphanumeric': 0.12633147766624292, 'fraction_numerical': 0.015122956209178976, 'mean_word_length': 1.2960950080515299, 'pattern_counts': {'":': 0, '<': 445, '<?xml version=': 2, '>': 445, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 26}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 280, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '961540', 'n_tokens_mistral': 5802, 'n_tokens_neox': 5214, 'n_words': 400}