编译Confluence 3.5.13源java依赖项时获取Maven缺少依赖项错误
描述错误 在编译基于Maven的SARL项目时,编译器到Eclipse(不在命令行界面上)在pom.xml文件的第一行显示“未知”错误 复制 复制行为的步骤: 使用以下pom文件创建Maven SARL项目:编译Confluence 3.5.13源java依赖项时获取Maven缺少依赖项错误,java,maven,Java,Maven,描述错误 在编译基于Maven的SARL项目时,编译器到Eclipse(不在命令行界面上)在pom.xml文件的第一行显示“未知”错误 复制 复制行为的步骤: 使用以下pom文件创建Maven SARL项目: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:s
<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>mygroup</groupId>
<artifactId>myproject</artifactId>
<version>0.1-SNAPSHOT</version>
<properties>
<sarl.version>0.10.0-SNAPSHOT</sarl.version>
<janus.version>2.0.10.0-SNAPSHOT</janus.version>
<compiler.level>1.8</compiler.level>
<project.build.sourceEncoding>UTF-8</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.janusproject</groupId>
<artifactId>io.janusproject.kernel</artifactId>
<version>${janus.version}</version>
</dependency>
<dependency>
<groupId>org.arakhne.afc.gis.ui</groupId>
<artifactId>gisroadfx</artifactId>
<version>${afc.version}</version>
</dependency>
<dependency>
<groupId>org.arakhne.afc.core</groupId>
<artifactId>mathphysics</artifactId>
<version>${afc.version}</version>
</dependency>
<dependency>
<groupId>org.arakhne.afc.core</groupId>
<artifactId>mathstochastic</artifactId>
<version>${afc.version}</version>
</dependency>
<dependency>
<groupId>org.arakhne.afc.core</groupId>
<artifactId>vmutils</artifactId>
<version>${afc.version}</version>
</dependency>
<dependency>
<groupId>com.dlsc.preferencesfx</groupId>
<artifactId>preferencesfx-core</artifactId>
<version>2.1.0</version>
</dependency>
<dependency>
<groupId>org.fxmisc.richtext</groupId>
<artifactId>richtextfx</artifactId>
<version>0.10.1</version>
</dependency>
<dependency>
<groupId>com.opencsv</groupId>
<artifactId>opencsv</artifactId>
<version>4.6</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</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>
<repositories>
<repository>
<name>Arakhne Lastest Builds</name>
<id>org.arakhne.maven</id>
<url>http://download.arakhne.org/arakhne/maven</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</project>
4.0.0
mygroup
我的项目
0.1-1快照
0.10.0-快照
2.0.10.0-快照
1.8
UTF-8
javafx
jfxrt
${java.version}
系统
${java.home}/lib/ext/jfxrt.jar
io.janusproject
io.janusproject.kernel
${janus.version}
org.arakhne.afc.gis.ui
gisroadfx
${afc.version}
org.arakhne.afc.core
数学物理
${afc.version}
org.arakhne.afc.core
数学随机
${afc.version}
org.arakhne.afc.core
Vmultils
${afc.version}
com.dlsc.preferencesfx
优先权SFX核心
2.1.0
org.fxmisc.richtext
richtextfx
0.10.1
com.opencsv
opencsv
4.6
org.apache.maven.plugins
maven编译器插件
3.8.1
${compiler.level}
${compiler.level}
${project.build.sourceEncoding}
伊奥·萨尔·马文
sarlmaven插件
${sarl.version}
真的
${compiler.level}
${compiler.level}
${project.build.sourceEncoding}
阿拉克尼最新版本
org.arakhne.maven
http://download.arakhne.org/arakhne/maven
真的
真的
编撰
见错误
预期行为
不应出现任何错误
系统配置:
SARL版本:0.9.0和0.10.0
SARL编译器:
不带Maven的Eclipse编译器
带Maven的Eclipse编译器
命令行上的Maven编译器
sarlc编译器
Java JDK版本(制造商名称):1.8.0_201
操作系统:
Linux 64位
Linux 32位
Windows 64位
Windows 32位
MacOS 64位