开发者

what does those doing in the maven pom.xml

What does the following do in pom.xml?

 <build>         
    <plugins>      
           <plugin>           
          <groupId>org.apache.maven.plugins</groupId>    
                 <artifactId>maven-compiler-plugin</artifactId>              
          <configuration>         
                <source>1.6</source>                   
                <target>1.6</target>              
       </configuration>            
       </plugin> 开发者_C百科     
       </plugins>   
      </build> 


Configures the compiler compliance level. Source 1.6 means your source code must be according to java 1.6, and target means the generated bytecode should be compatible with a 1.6 compliant JVM.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜