blob: 6a10f3534bacdc6f13e57edcd6cfc5b7fa1b0457 [file] [log] [blame]
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.googlecode.prolog-cafe</groupId>
<artifactId>PrologCafe</artifactId>
<packaging>jar</packaging>
<version>1.3</version>
<name>Prolog Cafe</name>
<mailingLists>
<mailingList>
<name>repo-discuss mailing list</name>
<post>repo-discuss@googlegroups.com</post>
<archive>https://groups.google.com/group/repo-discuss/about</archive>
</mailingList>
</mailingLists>
<build>
<sourceDirectory>java_src</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>clean_prolog</id>
<phase>clean</phase>
<configuration>
<target>
<exec executable="make">
<arg value="realclean" />
</exec>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
<execution>
<id>build_prolog</id>
<phase>generate-sources</phase>
<configuration>
<target>
<exec executable="make">
<arg value="plc" />
<arg value="gen-builtin" />
<arg value="gen-compiler" />
</exec>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>target/generated-sources/prologcafe-builtin</source>
<source>target/generated-sources/prologcafe-pl2am</source>
<source>target/generated-sources/prologcafe-am2j</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<encoding>UTF-8</encoding>
<debug>false</debug>
<optimize>true</optimize>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
<configuration>
<includes>
<include>**/*.java</include>
<include>**/*.pl</include>
</includes>
<excludes>
<exclude>com/googlecode/prolog_cafe/compiler/am2j/**/*.java</exclude>
<exclude>com/googlecode/prolog_cafe/compiler/pl2am/**/*.java</exclude>
</excludes>
</configuration>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-webdav-jackrabbit</artifactId>
<version>1.0-beta-6</version>
</extension>
</extensions>
</build>
<distributionManagement>
<snapshotRepository>
<id>gerrit-snapshot-repository</id>
<name>gerrit Snapshot Repository</name>
<url>dav:https://gerrit-maven-repository.googlecode.com/svn/</url>
<uniqueVersion>true</uniqueVersion>
</snapshotRepository>
<repository>
<id>gerrit-maven-repository</id>
<name>gerrit Maven Repository</name>
<url>dav:https://gerrit-maven-repository.googlecode.com/svn/</url>
<uniqueVersion>true</uniqueVersion>
</repository>
</distributionManagement>
</project>