record a little thing

In the process of using intellij to build a maven project, I encountered a situation where the target bytecode version was changed back and forth. I didn't pay attention at first, but after using it a few times, I found that it was changed back and forth inexplicably;

After careful investigation, I found out that the following configuration in MAVEN is the strange thing, record it here, so as not to forget it;

<build>
   <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>
</build>

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326979390&siteId=291194637