ITeye博客

maven 打包的问题

eric_wyf · 2011-09-21 20:20 · maven · 互联网 · Markdown

如果package出现--source1.3 的类似问题,那么在pom.xml中加入如下插件配置:

 

<build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>
    </plugins>
  </build>

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。