Skip to content

Commit

Permalink
Download protos automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
TSchmiedlechner committed May 8, 2020
1 parent ce99f69 commit dfc0aaa
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 188 deletions.
32 changes: 32 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,37 @@
</extension>
</extensions>
<plugins>
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>1.3.0</version>
<executions>
<execution>
<id>download1</id>
<phase>initialize</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>https://raw.githubusercontent.com/fiskaltrust/interface-doc/master/dist/protos/IPOS.proto</url>
<outputFileName>IPOS.proto</outputFileName>
<outputDirectory>src/main/proto</outputDirectory>
</configuration>
</execution>
<execution>
<id>download2</id>
<phase>initialize</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>https://raw.githubusercontent.com/fiskaltrust/interface-doc/master/dist/protos/bcl.proto</url>
<outputFileName>bcl.proto</outputFileName>
<outputDirectory>src/main/proto</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.xolstice.maven.plugins</groupId>
<artifactId>protobuf-maven-plugin</artifactId>
Expand All @@ -78,6 +109,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>10</source>
<target>10</target>
Expand Down
111 changes: 0 additions & 111 deletions src/main/proto/IPOS.proto

This file was deleted.

77 changes: 0 additions & 77 deletions src/main/proto/bcl.proto

This file was deleted.

0 comments on commit dfc0aaa

Please sign in to comment.