[model] don't require to download antlr generator on build time (#810)
The antlr generator has been downloaded by a specific download maven plugin at build time. Instead of calling the plugin goals it would be much simpler to add the downloaded file to the repository (I assume it has been not possible on the Eclipse repository before). Another benefit would be the IDE integration as the IDE does not need to know if the plugin needs to be executed or not... The provided antlr generator has been taken from: http://download.itemis.com/antlr-generator-3.2.0-patch.jar Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>pull/818/head
parent
4480e04137
commit
dc5ddba83c
|
@ -11,7 +11,6 @@ bin/
|
|||
**/.settings/org.eclipse.*
|
||||
|
||||
dependency-reduced-pom.xml
|
||||
bundles/antlr-generator-3.2.0-patch.jar
|
||||
bundles/org.openhab.core.model.*/META-INF/
|
||||
features/karaf/*/src/main/history
|
||||
|
||||
|
|
Binary file not shown.
|
@ -238,38 +238,6 @@
|
|||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>model-antlr-profile</id>
|
||||
<activation>
|
||||
<file>
|
||||
<exists>org.openhab.core.model.codegen/model.profile-marker</exists>
|
||||
</file>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>com.googlecode.maven-download-plugin</groupId>
|
||||
<artifactId>download-maven-plugin</artifactId>
|
||||
<version>1.2.1</version>
|
||||
<inherited>false</inherited>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>install-antrl3</id>
|
||||
<goals>
|
||||
<goal>wget</goal>
|
||||
</goals>
|
||||
<phase>initialize</phase>
|
||||
<configuration>
|
||||
<url>http://download.itemis.com/antlr-generator-3.2.0-patch.jar</url>
|
||||
<unpack>false</unpack>
|
||||
<outputDirectory>/${basedir}</outputDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
</project>
|
||||
|
|
Loading…
Reference in New Issue