<commit_before><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>io.sarl</groupId>
		<artifactId>io.sarl.products</artifactId>
		<version>0.12.0-SNAPSHOT</version>
	</parent>

	<artifactId>io.sarl.lang.sarlc</artifactId>
	<packaging>jar</packaging>
	<name>CLI Compiler</name>

	<properties>
		<cliCompilerName>sarlc</cliCompilerName>
		<cliCompilerMainClass>io.sarl.lang.sarlc.Main</cliCompilerMainClass>
	</properties>

	<dependencies>
		<dependency>
			<groupId>io.sarl.maven</groupId>
			<artifactId>io.sarl.maven.bootiquebatchcompiler</artifactId>
		</dependency>
		<dependency>
			<groupId>me.tongfei</groupId>
			<artifactId>progressbar</artifactId>
		</dependency>
		<dependency>
			<groupId>io.sarl.maven</groupId>
			<artifactId>io.sarl.maven.sdk</artifactId>
		</dependency>
		<dependency>
			<groupId>org.junit.jupiter</groupId>
			<artifactId>junit-jupiter-engine</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.junit.jupiter</groupId>
			<artifactId>junit-jupiter-params</artifactId>
			<scope>test</scope>
		</dependency>
	</dependencies>

	<build>
		<plugins>
			<plugin>
				<artifactId>maven-jar-plugin</artifactId>
				<configuration>
					<archive>
						<manifestEntries>
							<Automatic-Module-Name>${project.artifactId}</Automatic-Module-Name>
						</manifestEntries>
					</archive>
				</configuration>
			</plugin>
			<plugin>
				<groupId>com.google.code.maven-replacer-plugin</groupId>
				<artifactId>replacer</artifactId>
				<executions>
					<execution>
						<id>prepare-constants-class</id>
						<phase>process-sources</phase>
						<goals>
							<goal>replace</goal>
						</goals>
						<configuration>
							<encoding>${project.build.sourceEncoding}</encoding>
							<file>${project.basedir}/src/main/java/io/sarl/lang/sarlc/Constants.java</file>
							<regexFlags><regexFlag>MULTILINE</regexFlag></regexFlags>
							<replacements>
								<replacement>
									<token>(PROGRAM_NAME *= *")([^"]+)(";)</token>
									<value>$1${cliCompilerName}$3</value>
								</replacement>
							</replacements>
						</configuration>
					</execution>
				</executions>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-checkstyle-plugin</artifactId>
				<configuration>
					<sourceDirectories>
						<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
					</sourceDirectories>
				</configuration>
			</plugin>

			<plugin>
				<artifactId>maven-assembly-plugin</artifactId>
				<executions>
					<execution>
						<id>cli-application</id>
						<phase>package</phase>
						<goals>
							<goal>single</goal>
						</goals>
						<configuration>
							<descriptors>
								<descriptor>with-dependencies.xml</descriptor>
							</descriptors>
							<archive>
								<manifest>
									<mainClass>${cliCompilerMainClass}</mainClass>
								</manifest>
								<manifestEntries>
									<Automatic-Module-Name>${project.artifactId}</Automatic-Module-Name>
								</manifestEntries>
							</archive>
							<attach>false</attach>
						</configuration>
					</execution>
					<execution>
						<id>cli-embedded-sdk</id>
						<phase>generate-sources</phase>
						<goals>
							<goal>single</goal>
						</goals>
						<configuration>
							<finalName>embedded</finalName>
							<outputDirectory>${project.build.outputDirectory}</outputDirectory>
							<descriptors>
								<descriptor>sdk-libs.xml</descriptor>
							</descriptors>
							<attach>false</attach>
						</configuration>
					</execution>
				</executions>
			</plugin>

			<plugin>
				<groupId>com.akathist.maven.plugins.launch4j</groupId>
				<artifactId>launch4j-maven-plugin</artifactId>
				<executions>
					<execution>
						<id>generate-sarlc-win</id>
						<phase>package</phase>
						<goals>
							<goal>launch4j</goal>
						</goals>
						<configuration>
							<headerType>console</headerType>
							<outfile>${project.build.directory}/${cliCompilerName}.exe</outfile>
							<jar>${project.build.directory}/${project.build.finalName}-cli.jar</jar>
							<icon>${project.basedir}/icons/sarlc.ico</icon>
							<classPath>
								<mainClass>${cliCompilerMainClass}</mainClass>
								<addDependencies>false</addDependencies>
							</classPath>
							<jre>
								<minVersion>${sarl-run.min.jdk.version}.0</minVersion>
								<jdkPreference>jdkOnly</jdkPreference>
								<runtimeBits>64/32</runtimeBits>
							</jre>
							<versionInfo>
								<fileVersion>${sarl.release_version}.0</fileVersion>
								<txtFileVersion>${project.version}</txtFileVersion>
								<fileDescription>${cliCompilerName}</fileDescription>
								<copyright>${copyrighters}</copyright>
								<productVersion>${sarl.release_version}.0</productVersion>
								<txtProductVersion>${project.version}</txtProductVersion><commit_msg>[sarlc] Generate 64 bit executable.<commit_after><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>io.sarl</groupId>
		<artifactId>io.sarl.products</artifactId>
		<version>0.12.0-SNAPSHOT</version>
	</parent>

	<artifactId>io.sarl.lang.sarlc</artifactId>
	<packaging>jar</packaging>
	<name>CLI Compiler</name>

	<properties>
		<cliCompilerName>sarlc</cliCompilerName>
		<cliCompilerMainClass>io.sarl.lang.sarlc.Main</cliCompilerMainClass>
	</properties>

	<dependencies>
		<dependency>
			<groupId>io.sarl.maven</groupId>
			<artifactId>io.sarl.maven.bootiquebatchcompiler</artifactId>
		</dependency>
		<dependency>
			<groupId>me.tongfei</groupId>
			<artifactId>progressbar</artifactId>
		</dependency>
		<dependency>
			<groupId>io.sarl.maven</groupId>
			<artifactId>io.sarl.maven.sdk</artifactId>
		</dependency>
		<dependency>
			<groupId>org.junit.jupiter</groupId>
			<artifactId>junit-jupiter-engine</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.junit.jupiter</groupId>
			<artifactId>junit-jupiter-params</artifactId>
			<scope>test</scope>
		</dependency>
	</dependencies>

	<build>
		<plugins>
			<plugin>
				<artifactId>maven-jar-plugin</artifactId>
				<configuration>
					<archive>
						<manifestEntries>
							<Automatic-Module-Name>${project.artifactId}</Automatic-Module-Name>
						</manifestEntries>
					</archive>
				</configuration>
			</plugin>
			<plugin>
				<groupId>com.google.code.maven-replacer-plugin</groupId>
				<artifactId>replacer</artifactId>
				<executions>
					<execution>
						<id>prepare-constants-class</id>
						<phase>process-sources</phase>
						<goals>
							<goal>replace</goal>
						</goals>
						<configuration>
							<encoding>${project.build.sourceEncoding}</encoding>
							<file>${project.basedir}/src/main/java/io/sarl/lang/sarlc/Constants.java</file>
							<regexFlags><regexFlag>MULTILINE</regexFlag></regexFlags>
							<replacements>
								<replacement>
									<token>(PROGRAM_NAME *= *")([^"]+)(";)</token>
									<value>$1${cliCompilerName}$3</value>
								</replacement>
							</replacements>
						</configuration>
					</execution>
				</executions>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-checkstyle-plugin</artifactId>
				<configuration>
					<sourceDirectories>
						<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
					</sourceDirectories>
				</configuration>
			</plugin>

			<plugin>
				<artifactId>maven-assembly-plugin</artifactId>
				<executions>
					<execution>
						<id>cli-application</id>
						<phase>package</phase>
						<goals>
							<goal>single</goal>
						</goals>
						<configuration>
							<descriptors>
								<descriptor>with-dependencies.xml</descriptor>
							</descriptors>
							<archive>
								<manifest>
									<mainClass>${cliCompilerMainClass}</mainClass>
								</manifest>
								<manifestEntries>
									<Automatic-Module-Name>${project.artifactId}</Automatic-Module-Name>
								</manifestEntries>
							</archive>
							<attach>false</attach>
						</configuration>
					</execution>
					<execution>
						<id>cli-embedded-sdk</id>
						<phase>generate-sources</phase>
						<goals>
							<goal>single</goal>
						</goals>
						<configuration>
							<finalName>embedded</finalName>
							<outputDirectory>${project.build.outputDirectory}</outputDirectory>
							<descriptors>
								<descriptor>sdk-libs.xml</descriptor>
							</descriptors>
							<attach>false</attach>
						</configuration>
					</execution>
				</executions>
			</plugin>

			<plugin>
				<groupId>com.akathist.maven.plugins.launch4j</groupId>
				<artifactId>launch4j-maven-plugin</artifactId>
				<executions>
					<execution>
						<id>generate-sarlc-win</id>
						<phase>package</phase>
						<goals>
							<goal>launch4j</goal>
						</goals>
						<configuration>
							<headerType>console</headerType>
							<outfile>${project.build.directory}/${cliCompilerName}.exe</outfile>
							<jar>${project.build.directory}/${project.build.finalName}-cli.jar</jar>
							<icon>${project.basedir}/icons/sarlc.ico</icon>
							<classPath>
								<mainClass>${cliCompilerMainClass}</mainClass>
								<addDependencies>false</addDependencies>
							</classPath>
							<jre>
								<minVersion>${sarl-run.min.jdk.version}.0</minVersion>
								<jdkPreference>jdkOnly</jdkPreference>
								<runtimeBits>64</runtimeBits>
							</jre>
							<versionInfo>
								<fileVersion>${sarl.release_version}.0</fileVersion>
								<txtFileVersion>${project.version}</txtFileVersion>
								<fileDescription>${cliCompilerName}</fileDescription>
								<copyright>${copyrighters}</copyright>
								<productVersion>${sarl.release_version}.0</productVersion>
								<txtProductVersion>${project.version}</txtProductVersion>
{'fraction_non_alphanumeric': 0.1619544872426362, 'fraction_numerical': 0.006501822480543789, 'mean_word_length': 3.179497735693701, 'pattern_counts': {'":': 0, '<': 459, '<?xml version=': 0, '>': 459, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4189936', 'n_tokens_mistral': 4780, 'n_tokens_neox': 3244, 'n_words': 325}