Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[examples] Add pom files to the JavaFX-based examples.
The pom file adds the dependency to the JavaFX library. Signed-off-by: Stéphane Galland <galland@arakhne.org>
- Loading branch information
1 parent
4c01c6a
commit c7bd778
Showing
5 changed files
with
188 additions
and
0 deletions.
There are no files selected for viewing
56 changes: 56 additions & 0 deletions
56
contribs/io.sarl.examples/io.sarl.examples.plugin/projects/io-sarl-demos-fireworks/pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>@GROUP_ID@</groupId> | ||
<artifactId>@PROJECT_NAME@</artifactId> | ||
<version>@PROJECT_VERSION@</version> | ||
|
||
<properties> | ||
<sarl.version>@SARL_VERSION@</sarl.version> | ||
<compiler.level>@JAVA_VERSION@</compiler.level> | ||
<project.build.sourceEncoding>@FILE_ENCODING@</project.build.sourceEncoding> | ||
</properties> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>javafx</groupId> | ||
<artifactId>jfxrt</artifactId> | ||
<version>${java.version}</version> | ||
<scope>system</scope> | ||
<systemPath>${java.home}/lib/ext/jfxrt.jar</systemPath> | ||
</dependency> | ||
<dependency> | ||
<groupId>io.sarl.maven</groupId> | ||
<artifactId>io.sarl.maven.sdk</artifactId> | ||
<version>${sarl.version}</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>@MAVEN_COMPILER_VERSION@</version> | ||
<configuration> | ||
<source>${compiler.level}</source> | ||
<target>${compiler.level}</target> | ||
<encoding>${project.build.sourceEncoding}</encoding> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>io.sarl.maven</groupId> | ||
<artifactId>sarl-maven-plugin</artifactId> | ||
<version>${sarl.version}</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<source>${compiler.level}</source> | ||
<target>${compiler.level}</target> | ||
<encoding>${project.build.sourceEncoding}</encoding> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
</project> |
56 changes: 56 additions & 0 deletions
56
...o.sarl.examples/io.sarl.examples.plugin/projects/io-sarl-demos-sierpinskifractals/pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>@GROUP_ID@</groupId> | ||
<artifactId>@PROJECT_NAME@</artifactId> | ||
<version>@PROJECT_VERSION@</version> | ||
|
||
<properties> | ||
<sarl.version>@SARL_VERSION@</sarl.version> | ||
<compiler.level>@JAVA_VERSION@</compiler.level> | ||
<project.build.sourceEncoding>@FILE_ENCODING@</project.build.sourceEncoding> | ||
</properties> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>javafx</groupId> | ||
<artifactId>jfxrt</artifactId> | ||
<version>${java.version}</version> | ||
<scope>system</scope> | ||
<systemPath>${java.home}/lib/ext/jfxrt.jar</systemPath> | ||
</dependency> | ||
<dependency> | ||
<groupId>io.sarl.maven</groupId> | ||
<artifactId>io.sarl.maven.sdk</artifactId> | ||
<version>${sarl.version}</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>@MAVEN_COMPILER_VERSION@</version> | ||
<configuration> | ||
<source>${compiler.level}</source> | ||
<target>${compiler.level}</target> | ||
<encoding>${project.build.sourceEncoding}</encoding> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>io.sarl.maven</groupId> | ||
<artifactId>sarl-maven-plugin</artifactId> | ||
<version>${sarl.version}</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<source>${compiler.level}</source> | ||
<target>${compiler.level}</target> | ||
<encoding>${project.build.sourceEncoding}</encoding> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
</project> |
56 changes: 56 additions & 0 deletions
56
contribs/io.sarl.examples/io.sarl.examples.plugin/projects/io-sarl-templates-javafx/pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>@GROUP_ID@</groupId> | ||
<artifactId>@PROJECT_NAME@</artifactId> | ||
<version>@PROJECT_VERSION@</version> | ||
|
||
<properties> | ||
<sarl.version>@SARL_VERSION@</sarl.version> | ||
<compiler.level>@JAVA_VERSION@</compiler.level> | ||
<project.build.sourceEncoding>@FILE_ENCODING@</project.build.sourceEncoding> | ||
</properties> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>javafx</groupId> | ||
<artifactId>jfxrt</artifactId> | ||
<version>${java.version}</version> | ||
<scope>system</scope> | ||
<systemPath>${java.home}/lib/ext/jfxrt.jar</systemPath> | ||
</dependency> | ||
<dependency> | ||
<groupId>io.sarl.maven</groupId> | ||
<artifactId>io.sarl.maven.sdk</artifactId> | ||
<version>${sarl.version}</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>@MAVEN_COMPILER_VERSION@</version> | ||
<configuration> | ||
<source>${compiler.level}</source> | ||
<target>${compiler.level}</target> | ||
<encoding>${project.build.sourceEncoding}</encoding> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>io.sarl.maven</groupId> | ||
<artifactId>sarl-maven-plugin</artifactId> | ||
<version>${sarl.version}</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<source>${compiler.level}</source> | ||
<target>${compiler.level}</target> | ||
<encoding>${project.build.sourceEncoding}</encoding> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters