Я новичок в ANTLR4, и кажется, что нет Eclipse-Plug-In для v4. Поэтому неплохо было бы автоматически создавать источники Java из грамматик .g4. У меня простой, пустой Maven-проект с src/main/java, src/test/java. Где разместить файлы .g4? Как я могу автоматически строить грамматики с помощью Maven?
Не удалось выполнить мой собственный POM-тест:
<repository>
<id>mvn-public</id>
<name>MVNRepository</name>
<url>http://mvnrepository.com</url>
</repository>
...
<build>
<plugins>
<plugin>
<groupId>org.antlr</groupId>
<artifactId>antlr4-maven-plugin</artifactId>
<version>4.0.0</version>
<executions>
<execution>
<goals>
<goal>antlr</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
Eclipse говорит:
Failure to find org.antlr:antlr4-maven-plugin:pom:4.0.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of
central has elapsed or updates are forced