mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-12-26 18:29:54 +00:00
238 lines
8.8 KiB
XML
238 lines
8.8 KiB
XML
<?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>
|
|
|
|
<properties>
|
|
<maven.compiler.source>8</maven.compiler.source>
|
|
<maven.compiler.target>8</maven.compiler.target>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<argLine>-Xmx2048m</argLine>
|
|
</properties>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>project.local</id>
|
|
<name>project</name>
|
|
<url>file:${basedir}/repo</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<groupId>dk.camelot64.kickc</groupId>
|
|
<artifactId>kickc</artifactId>
|
|
<version>release</version>
|
|
<name>KickC</name>
|
|
<url>https://gitlab.com/camelot/kickc</url>
|
|
<description>
|
|
KickC is a C-compiler for 6502-based platforms creating optimized and readable assembler code.
|
|
</description>
|
|
<inceptionYear>2017</inceptionYear>
|
|
<licenses>
|
|
<license>
|
|
<name>MIT License</name>
|
|
<url>http://www.opensource.org/licenses/mit-license.php</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
<developers>
|
|
<developer>
|
|
<name>Jesper Balman Gravgaard</name>
|
|
<email>jesper@balmangravgaard.dk</email>
|
|
<url>https://gitlab.com/jespergravgaard</url>
|
|
</developer>
|
|
</developers>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.antlr</groupId>
|
|
<artifactId>antlr4</artifactId>
|
|
<version>4.9.3</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.antlr</groupId>
|
|
<artifactId>antlr4-runtime</artifactId>
|
|
<version>4.9.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
|
<version>5.8.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>info.picocli</groupId>
|
|
<artifactId>picocli</artifactId>
|
|
<version>4.6.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.json</groupId>
|
|
<artifactId>javax.json-api</artifactId>
|
|
<version>1.1.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.glassfish</groupId>
|
|
<artifactId>javax.json</artifactId>
|
|
<version>1.1.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>cml.kickass</groupId>
|
|
<artifactId>kickassembler</artifactId>
|
|
<version>5.24-65ce02.e</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>dk.camelot64.kickass.xexplugin</groupId>
|
|
<artifactId>kickassxexformat</artifactId>
|
|
<version>1.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>se.triad.kickass</groupId>
|
|
<artifactId>kickass-cruncher-plugins</artifactId>
|
|
<version>2.0</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/java</directory>
|
|
<includes>
|
|
<include>**/*.asm</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
|
|
<testResources>
|
|
<testResource>
|
|
<directory>src/test/java</directory>
|
|
<includes>
|
|
<include>**/*.c</include>
|
|
<include>**/*.h</include>
|
|
<include>**/*.ld</include>
|
|
<include>**/*.tgt</include>
|
|
<include>**/*.asm</include>
|
|
<include>**/*.sym</include>
|
|
<include>**/*.cfg</include>
|
|
<include>**/*.log</include>
|
|
<include>**/*.txt</include>
|
|
</includes>
|
|
</testResource>
|
|
</testResources>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.antlr</groupId>
|
|
<artifactId>antlr4-maven-plugin</artifactId>
|
|
<version>4.9.3</version>
|
|
<executions>
|
|
<execution>
|
|
<id>antlr</id>
|
|
<goals>
|
|
<goal>antlr4</goal>
|
|
</goals>
|
|
<configuration>
|
|
<visitor>true</visitor>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>antlr-test</id>
|
|
<goals>
|
|
<goal>antlr4</goal>
|
|
</goals>
|
|
<configuration>
|
|
<visitor>true</visitor>
|
|
<sourceDirectory>src/test/antlr4</sourceDirectory>
|
|
<outputDirectory>${project.build.directory}/generated-test-sources/antlr4</outputDirectory>
|
|
<generateTestSources>true</generateTestSources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>3.0.0-M5</version>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>**/TestFragments.java</exclude>
|
|
<exclude>**/TestProgramsThorough.java</exclude>
|
|
</excludes>
|
|
<useSystemClassLoader>false</useSystemClassLoader>
|
|
<parallel>all</parallel>
|
|
<threadCount>5</threadCount>
|
|
<enableAssertions>false</enableAssertions>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<version>0.8.8</version>
|
|
<executions>
|
|
<execution>
|
|
<id>pre-unit-test</id>
|
|
<goals>
|
|
<goal>prepare-agent</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>post-unit-test</id>
|
|
<phase>test</phase>
|
|
<goals>
|
|
<goal>report</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.2.0</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<mainClass>dk.camelot64.kickc.KickC</mainClass>
|
|
<addClasspath>true</addClasspath>
|
|
</manifest>
|
|
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
<version>3.5.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>bundle-manifest</id>
|
|
<phase>process-classes</phase>
|
|
<goals>
|
|
<goal>manifest</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>3.3.0</version>
|
|
<configuration>
|
|
<finalName>kickc</finalName>
|
|
<tarLongFileMode>posix</tarLongFileMode>
|
|
<descriptors>
|
|
<descriptor>src/main/assembly/assembly.xml</descriptor>
|
|
</descriptors>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>make-assembly</id> <!-- this is used for inheritance merges -->
|
|
<phase>package</phase> <!-- bind to the packaging phase -->
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project> |