<commit_before><?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">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>com.spotify</groupId>
        <artifactId>helios-parent</artifactId>
        <version>0.9.0-SNAPSHOT</version>
    </parent>

    <name>Helios Services</name>
    <artifactId>helios-services</artifactId>
    <packaging>jar</packaging>

    <properties>
        <masterImageName>helios-master:${project.version}</masterImageName>
        <agentImageName>helios-agent:${project.version}</agentImageName>
        <soloImageName>helios-solo:${project.version}</soloImageName>
    </properties>

    <profiles>
        <profile>
            <id>build-images</id>
            <activation>
                <property>
                    <name>build-images</name>
                </property>
            </activation>
            <properties>
                <baseImage>java:8u66-jre</baseImage>
            </properties>
            <build>
                <plugins>
                    <plugin>
                        <groupId>com.spotify</groupId>
                        <artifactId>docker-maven-plugin</artifactId>
                        <version>1.2.0</version>
                        <configuration>
                            <labels>
                                <label>com.spotify.helios.version="${project.version}"</label>
                            </labels>
                        </configuration>
                        <executions>
                            <execution>
                                <id>master</id>
                                <phase>package</phase>
                                <goals>
                                    <goal>build</goal>
                                </goals>
                                <configuration>
                                    <baseImage>${baseImage}</baseImage>
                                    <resources>
                                        <resource>
                                            <targetPath>/usr/share/helios/lib/services/</targetPath>
                                            <directory>${project.build.directory}</directory>
                                            <include>${project.build.finalName}-shaded.jar</include>
                                        </resource>
                                        <resource>
                                            <targetPath>/usr/bin/</targetPath>
                                            <directory>${project.parent.basedir}/bin</directory>
                                            <include>helios-*</include>
                                        </resource>
                                    </resources>
                                    <imageName>${masterImageName}</imageName>
                                    <entryPoint>["helios-master"]</entryPoint>
                                    <tagInfoFile>
                                        ${project.build.testOutputDirectory}/master-image.json
                                    </tagInfoFile>
                                    <labels>
                                        <label>com.spotify.helios.version="${project.version}"
                                        </label>
                                    </labels>
                                    <pullOnBuild>true</pullOnBuild>
                                </configuration>
                            </execution>
                            <execution>
                                <id>agent</id>
                                <phase>package</phase>
                                <goals>
                                    <goal>build</goal>
                                </goals>
                                <configuration>
                                    <baseImage>${baseImage}</baseImage>
                                    <resources>
                                        <resource>
                                            <targetPath>/usr/share/helios/lib/services/</targetPath>
                                            <directory>${project.build.directory}</directory>
                                            <include>${project.build.finalName}-shaded.jar</include>
                                        </resource>
                                        <resource>
                                            <targetPath>/usr/bin/</targetPath>
                                            <directory>${project.parent.basedir}/bin</directory>
                                            <include>helios-*</include>
                                        </resource>
                                    </resources>
                                    <imageName>${agentImageName}</imageName>
                                    <entryPoint>["helios-agent"]</entryPoint>
                                    <tagInfoFile>
                                        ${project.build.testOutputDirectory}/agent-image.json
                                    </tagInfoFile>
                                    <labels>
                                        <label>com.spotify.helios.version="${project.version}"
                                        </label>
                                    </labels>
                                    <pullOnBuild>true</pullOnBuild>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>

        <profile>
            <id>build-solo</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>com.spotify</groupId>
                        <artifactId>docker-maven-plugin</artifactId>
                        <version>1.2.0</version>
                        <configuration>
                            <labels>
                                <label>com.spotify.helios.version="${project.version}"</label>
                            </labels><commit_msg>Upgrade docker-maven-plugin from 1.2.0 to 1.2.1<commit_after><?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">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>com.spotify</groupId>
        <artifactId>helios-parent</artifactId>
        <version>0.9.0-SNAPSHOT</version>
    </parent>

    <name>Helios Services</name>
    <artifactId>helios-services</artifactId>
    <packaging>jar</packaging>

    <properties>
        <masterImageName>helios-master:${project.version}</masterImageName>
        <agentImageName>helios-agent:${project.version}</agentImageName>
        <soloImageName>helios-solo:${project.version}</soloImageName>
    </properties>

    <profiles>
        <profile>
            <id>build-images</id>
            <activation>
                <property>
                    <name>build-images</name>
                </property>
            </activation>
            <properties>
                <baseImage>java:8u66-jre</baseImage>
            </properties>
            <build>
                <plugins>
                    <plugin>
                        <groupId>com.spotify</groupId>
                        <artifactId>docker-maven-plugin</artifactId>
                        <version>1.2.1</version>
                        <configuration>
                            <labels>
                                <label>com.spotify.helios.version="${project.version}"</label>
                            </labels>
                        </configuration>
                        <executions>
                            <execution>
                                <id>master</id>
                                <phase>package</phase>
                                <goals>
                                    <goal>build</goal>
                                </goals>
                                <configuration>
                                    <baseImage>${baseImage}</baseImage>
                                    <resources>
                                        <resource>
                                            <targetPath>/usr/share/helios/lib/services/</targetPath>
                                            <directory>${project.build.directory}</directory>
                                            <include>${project.build.finalName}-shaded.jar</include>
                                        </resource>
                                        <resource>
                                            <targetPath>/usr/bin/</targetPath>
                                            <directory>${project.parent.basedir}/bin</directory>
                                            <include>helios-*</include>
                                        </resource>
                                    </resources>
                                    <imageName>${masterImageName}</imageName>
                                    <entryPoint>["helios-master"]</entryPoint>
                                    <tagInfoFile>
                                        ${project.build.testOutputDirectory}/master-image.json
                                    </tagInfoFile>
                                    <labels>
                                        <label>com.spotify.helios.version="${project.version}"
                                        </label>
                                    </labels>
                                    <pullOnBuild>true</pullOnBuild>
                                </configuration>
                            </execution>
                            <execution>
                                <id>agent</id>
                                <phase>package</phase>
                                <goals>
                                    <goal>build</goal>
                                </goals>
                                <configuration>
                                    <baseImage>${baseImage}</baseImage>
                                    <resources>
                                        <resource>
                                            <targetPath>/usr/share/helios/lib/services/</targetPath>
                                            <directory>${project.build.directory}</directory>
                                            <include>${project.build.finalName}-shaded.jar</include>
                                        </resource>
                                        <resource>
                                            <targetPath>/usr/bin/</targetPath>
                                            <directory>${project.parent.basedir}/bin</directory>
                                            <include>helios-*</include>
                                        </resource>
                                    </resources>
                                    <imageName>${agentImageName}</imageName>
                                    <entryPoint>["helios-agent"]</entryPoint>
                                    <tagInfoFile>
                                        ${project.build.testOutputDirectory}/agent-image.json
                                    </tagInfoFile>
                                    <labels>
                                        <label>com.spotify.helios.version="${project.version}"
                                        </label>
                                    </labels>
                                    <pullOnBuild>true</pullOnBuild>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>

        <profile>
            <id>build-solo</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>com.spotify</groupId>
                        <artifactId>docker-maven-plugin</artifactId>
                        <version>1.2.1</version>
                        <configuration>
                            <labels>
                                <label>com.spotify.helios.version="${project.version}"</label>
                            </labels>
{'fraction_non_alphanumeric': 0.10270951480781348, 'fraction_numerical': 0.005513547574039068, 'mean_word_length': 0.7782913165266107, 'pattern_counts': {'":': 0, '<': 335, '<?xml version=': 2, '>': 335, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 120, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5795764', 'n_tokens_mistral': 2740, 'n_tokens_neox': 2517, 'n_words': 258}