mirror of
https://github.com/cincheo/jsweet.git
synced 2025-12-14 23:09:22 +00:00
277 lines
7.5 KiB
XML
277 lines
7.5 KiB
XML
<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>
|
|
<groupId>org.jsweet</groupId>
|
|
<artifactId>jsweet-candy-generator</artifactId>
|
|
<version>2.0.0-SNAPSHOT</version>
|
|
<name>JSweet candy generator</name>
|
|
<developers>
|
|
<developer>
|
|
<id>rpawlak</id>
|
|
<name>Renaud Pawlak</name>
|
|
<email>renaud.pawlak@gmail.com</email>
|
|
</developer>
|
|
<developer>
|
|
<id>lgrignon</id>
|
|
<name>Louis Grignon</name>
|
|
<email>louis.grignon@gmail.com</email>
|
|
</developer>
|
|
</developers>
|
|
<repositories>
|
|
<repository>
|
|
<id>jsweet-central</id>
|
|
<name>libs-release</name>
|
|
<url>http://repository.jsweet.org/artifactory/libs-release-local</url>
|
|
</repository>
|
|
<repository>
|
|
<snapshots />
|
|
<id>jsweet-snapshots</id>
|
|
<name>libs-snapshot</name>
|
|
<url>http://repository.jsweet.org/artifactory/libs-snapshot-local</url>
|
|
</repository>
|
|
<repository>
|
|
<id>jsweet-external</id>
|
|
<name>libs-release</name>
|
|
<url>http://repository.jsweet.org/artifactory/ext-release-local</url>
|
|
</repository>
|
|
</repositories>
|
|
<properties>
|
|
<timestamp>${maven.build.timestamp}</timestamp>
|
|
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
<build>
|
|
<sourceDirectory>src/main/java</sourceDirectory>
|
|
<testSourceDirectory>src/test/java</testSourceDirectory>
|
|
<testResources>
|
|
<testResource>
|
|
<directory>src/test/resources</directory>
|
|
<filtering>true</filtering>
|
|
</testResource>
|
|
</testResources>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.1</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>2.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-dependencies</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${project.build.directory}</outputDirectory>
|
|
<overWriteIfNewer>true</overWriteIfNewer>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>2.4</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<mainClass>org.jsweet.CandyTool</mainClass>
|
|
</manifest>
|
|
</archive>
|
|
<descriptorRefs>
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
</descriptorRefs>
|
|
<finalName>candy-tool</finalName>
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>make-assembly</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<!--This plugin's configuration is used to store Eclipse m2e settings
|
|
only. It has no influence on the Maven build itself. -->
|
|
<plugin>
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
<version>1.0.0</version>
|
|
<configuration>
|
|
<lifecycleMappingMetadata>
|
|
<pluginExecutions>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>
|
|
org.apache.maven.plugins
|
|
</groupId>
|
|
<artifactId>
|
|
maven-antrun-plugin
|
|
</artifactId>
|
|
<versionRange>
|
|
[1.7,)
|
|
</versionRange>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore></ignore>
|
|
</action>
|
|
</pluginExecution>
|
|
</pluginExecutions>
|
|
</lifecycleMappingMetadata>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
<profiles>
|
|
<profile>
|
|
<id>genparser</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>1.7</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>generate-sources</phase>
|
|
<configuration>
|
|
<target>
|
|
<property name="compile_classpath" refid="maven.compile.classpath" />
|
|
<property name="outputDir" value="${project.build.outputDirectory}" />
|
|
<property name="sourceDir" value="${project.build.sourceDirectory}" />
|
|
<ant antfile="${basedir}/build.xml" target="gen-parser" />
|
|
</target>
|
|
</configuration>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</profile>
|
|
</profiles>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.cincheo</groupId>
|
|
<artifactId>file-visitor</artifactId>
|
|
<version>1.0.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.martiansoftware</groupId>
|
|
<artifactId>jsap</artifactId>
|
|
<version>2.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>edu.princeton.cup</groupId>
|
|
<artifactId>java-cup</artifactId>
|
|
<version>10k</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>de.jflex</groupId>
|
|
<artifactId>jflex</artifactId>
|
|
<version>1.3.5</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
<version>1.2.17</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>3.3.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>2.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jsoup</groupId>
|
|
<artifactId>jsoup</artifactId>
|
|
<version>1.7.2</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.jsweet</groupId>
|
|
<artifactId>jsweet-core</artifactId>
|
|
<version>5-SNAPSHOT</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.code.gson</groupId>
|
|
<artifactId>gson</artifactId>
|
|
<version>2.2.4</version>
|
|
<scope>compile</scope>
|
|
<optional>false</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.12</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpcore</artifactId>
|
|
<version>4.4.5</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpclient</artifactId>
|
|
<version>4.5.2</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<organization>
|
|
<name>JSweet</name>
|
|
<url>http://www.jsweet.org</url>
|
|
</organization>
|
|
<description>A project that defines translators that translate Javascript API definitions such as Typescript or IDL to Candies: JSweet definition APIs.</description>
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>jsweet-release</id>
|
|
<name>libs-release</name>
|
|
<url>http://repository.jsweet.org/artifactory/libs-release-local</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>jsweet-snapshots</id>
|
|
<name>libs-snapshot</name>
|
|
<url>http://repository.jsweet.org/artifactory/libs-snapshot-local</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
|
|
</project> |