标签:tar plugins pid switch default apach man build pil
在pom里面加上
<build>
<defaultGoal>compile</defaultGoal>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
maven 编译报错 java: -source 1.5 中不支持switch 中存在字符串
标签:tar plugins pid switch default apach man build pil
原文地址:http://www.cnblogs.com/whyhappy/p/7116042.html