org.apache.maven.plugins的pOM:maven-compiler-plugin:jar:3.3无效

时间:2015-11-05 12:24:29

标签: java maven java-ee pom.xml

我在ubuntu机器的项目文件夹下执行命令mvn package -DSkipTests时出现以下错误。

org.apache.maven.plugins的pOM:maven-compiler-plugin:jar:3.3无效,传递依赖(如果有的话)将不可用,启用调试日志记录以获取更多详细信息Nov 05,2015 4:04 :31 PM org.sonatype.guice.bean.reflect.Logs $ JULSink警告警告:注入错误:org.apache.maven.plugin.compiler.CompilerMojo

我的pom是

<?xml version="1.0" encoding="UTF-8"?>
<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>com.se</groupId>
 <artifactId>MobileApp</artifactId>
 <version>1.0.0-SNAPSHOT</version>
 <packaging>pom</packaging>
 <name>MobileApp</name>
 <modules>
   <module>Mob-ak</module>
    <module>Mob-as</module>
    </modules> 
 <build>
<plugins>
    <plugin> 
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.3</version>
        <configuration>
            <source>1.6</source>
            <target>1.6</target>
        </configuration>
    </plugin>
    </plugins>
   </build>
</project>

0 个答案:

没有答案