Skip to content

Commit

Permalink
We were missing the _main_ SVG profile, stupid me
Browse files Browse the repository at this point in the history
  • Loading branch information
thvitt committed Jul 27, 2017
1 parent 9d6483c commit 3d899c1
Showing 1 changed file with 48 additions and 1 deletion.
49 changes: 48 additions & 1 deletion pom.xml
Expand Up @@ -289,6 +289,53 @@
</plugins>
</build>
</profile>

<profile>
<id>svg</id>
<activation><activeByDefault>true</activeByDefault></activation>
<build>

<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.4.0</version>
<executions>
<execution>
<id>generate-svgs</id>
<goals>
<goal>exec</goal>
</goals>
<phase>prepare-package</phase>
<configuration>
<environmentVariables>
<LANG>en_US.UTF-8</LANG>
<LC_ALL>en_US.UTF-8</LC_ALL>
<SLIMERJSLAUNCHER>${project.build.directory}/dependency/firefox/firefox</SLIMERJSLAUNCHER>
</environmentVariables>
<executable>java</executable>
<arguments>
<argument>-classpath</argument>
<classpath/>
<!-- For PhantomJS: -->
<!-- <argument>-Dphantomjs.binary=${phantomjs.binary}</argument> -->
<!-- For SlimerJS instead: -->
<argument>-Dphantomjs.binary=${project.build.directory}/dependency/slimerjs-0.10.1/slimerjs</argument>
<argument>-Dfaust.diplo.allowedFailures=${faust.diplo.allowedFailures}</argument>
<argument>-Dfaust.diplo.server=${faust.diplo.server}</argument>
<argument>-Dfaust.diplo.port=${faust.diplo.port}</argument>
<argument>-Dfaust.diplo.debug=${faust.diplo.debug}</argument>
<argument>net.faustedition.gen.DiplomaticConversion</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>

</plugins>
</build>
</profile>


<profile>
<id>svg-print</id>
Expand Down Expand Up @@ -335,7 +382,7 @@
<version>1.4.0</version>
<executions>
<execution>
<id>generate-svgs</id>
<id>generate-svgs-preprint</id>
<goals>
<goal>exec</goal>
</goals>
Expand Down

0 comments on commit 3d899c1

Please sign in to comment.