|
10 | 10 | <properties>
|
11 | 11 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
12 | 12 | <project.build.sourceDirectory>src/main/frege</project.build.sourceDirectory>
|
13 |
| - <frege.version>3.21.190-g714a7cc</frege.version> |
| 13 | + <frege.version>frege-3.21.232-g7b05453</frege.version> |
| 14 | + <frege.plugin.version>1.0.5</frege.plugin.version> |
14 | 15 | </properties>
|
15 | 16 | <build>
|
16 | 17 | <pluginManagement>
|
|
44 | 45 | </pluginManagement>
|
45 | 46 | <plugins>
|
46 | 47 | <plugin>
|
47 |
| - <artifactId>maven-antrun-plugin</artifactId> |
48 |
| - <version>1.7</version> |
| 48 | + <groupId>com.theoryinpractise.frege</groupId> |
| 49 | + <artifactId>frege-maven-plugin</artifactId> |
| 50 | + <version>${frege.plugin.version}</version> |
49 | 51 | <executions>
|
50 | 52 | <execution>
|
51 |
| - <phase>compile</phase> |
52 |
| - <configuration> |
53 |
| - <target> |
54 |
| - <property name="compile_classpath" refid="maven.compile.classpath" /> |
55 |
| - <property name="outputDir" |
56 |
| - value="${project.build.outputDirectory}" /> |
57 |
| - <property name="sourceDir" value="src/main/frege" /> |
58 |
| - <property name="fregec" value="${frege:frege:jar}" /> |
59 |
| - <exec executable="java" failonerror="true"> |
60 |
| - <arg value="-Xss1m" /> |
61 |
| - <arg value="-Dfrege.javac=javac" /> |
62 |
| - <arg value="-classpath" /> |
63 |
| - <arg value="${compile_classpath}" /> |
64 |
| - <arg value="frege.compiler.Main" /> |
65 |
| - <arg value="-d" /> |
66 |
| - <arg path="${outputDir}" /> |
67 |
| - <arg value="${sourceDir}/frege/repl/FregeRepl.fr" /> |
68 |
| - </exec> |
69 |
| - </target> |
70 |
| - </configuration> |
| 53 | + <id>compile</id> |
| 54 | + <phase>generate-sources</phase> |
71 | 55 | <goals>
|
72 |
| - <goal>run</goal> |
| 56 | + <goal>compile</goal> |
73 | 57 | </goals>
|
74 | 58 | </execution>
|
75 | 59 | </executions>
|
| 60 | + <configuration> |
| 61 | + <inline>true</inline> |
| 62 | + <hints>true</hints> |
| 63 | + <includeStale>false</includeStale> |
| 64 | + </configuration> |
76 | 65 | </plugin>
|
| 66 | + |
77 | 67 | <plugin>
|
78 | 68 | <groupId>org.codehaus.mojo</groupId>
|
79 | 69 | <artifactId>exec-maven-plugin</artifactId>
|
|
143 | 133 | <artifactId>jline</artifactId>
|
144 | 134 | <version>2.10</version>
|
145 | 135 | </dependency>
|
146 |
| - <dependency> |
147 |
| - <groupId>frege</groupId> |
148 |
| - <artifactId>frege</artifactId> |
149 |
| - <version>${frege.version}</version> |
150 |
| - </dependency> |
151 | 136 | <dependency>
|
152 | 137 | <groupId>frege</groupId>
|
153 | 138 | <artifactId>frege-interpreter</artifactId>
|
|
159 | 144 | <version>1.0-SNAPSHOT</version>
|
160 | 145 | </dependency>
|
161 | 146 | <dependency>
|
162 |
| - <groupId>org.eclipse.jdt.core.compiler</groupId> |
163 |
| - <artifactId>ecj</artifactId> |
164 |
| - <version>3.7.2</version> |
| 147 | + <groupId>org.eclipse.jdt.core.compiler</groupId> |
| 148 | + <artifactId>ecj</artifactId> |
| 149 | + <version>4.2.2</version> |
165 | 150 | </dependency>
|
166 | 151 | </dependencies>
|
167 | 152 | </project>
|
0 commit comments