mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-10 13:21:53 +01:00
[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>
This commit is contained in:
parent
4480e04137
commit
dc5ddba83c
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
||||
|
BIN
bundles/antlr-generator-3.2.0-patch.jar
Normal file
BIN
bundles/antlr-generator-3.2.0-patch.jar
Normal file
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
Block a user