<?xml version="1.0"?>
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <relativePath>../tl-parent-build</relativePath>
    <groupId>com.top-logic</groupId>
    <artifactId>tl-parent-build</artifactId>
    <version>7.9.9</version>
  </parent>
  <artifactId>tl-build-processor</artifactId>
	<name>${project.artifactId}</name>
	<url>https://github.com/top-logic/tl-engine/</url>
  <dependencies>
    <dependency>
      <groupId>com.top-logic</groupId>
      <artifactId>tl-xref</artifactId>
    </dependency>
  </dependencies>
  
  <build>
	<plugins>
		<plugin>
			<artifactId>maven-compiler-plugin</artifactId>
			<configuration>
				<useIncrementalCompilation>false</useIncrementalCompilation>
				
				<annotationProcessorPaths>
					<!-- 
						Here is no annotation processor - its a desperate attempt to stop the compiler from loading 
						the annotation processor it should first compile.
					-->
					<annotationProcessorPath>
						<groupId>com.top-logic</groupId>
						<artifactId>tl-basic-core</artifactId>
						<version>${tl.version}</version>
					</annotationProcessorPath>
				</annotationProcessorPaths>
			</configuration>
			
			<dependencies>
				<dependency>
					<groupId>com.top-logic</groupId>
					<artifactId>tl-basic-core</artifactId>
					<version>7.9.9</version>
				</dependency>
			</dependencies>
		</plugin>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-assembly-plugin</artifactId>

            <configuration>
                <descriptorRefs>
                    <descriptorRef>jar-with-dependencies</descriptorRef>
                </descriptorRefs>
            </configuration>

            <executions>
                <execution>
                    <id>make-assembly</id>
                    <phase>package</phase>
                    <goals>
                        <goal>single</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
     </plugins>
  </build>
	  
</project>
