─━ IT ━─/Maven

'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ line , column

DKel 2018. 1. 8. 13:42
반응형

[INFO] Scanning for projects...

[WARNING] 

[WARNING] Some problems were encountered while building the effective model for groupId:artifactId:packaging:0.0.1-SNAPSHOT

[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ line 80, column 14

[WARNING] 

[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.

[WARNING] 

[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.

[WARNING] 

[INFO]                                                                         

[INFO] ------------------------------------------------------------------------

[INFO] Building artifactId version

[INFO] ------------------------------------------------------------------------


해당 WARNING은 org.apache.maven.plugins:maven-source-plugin의 버젼을 명시해주지 않아 발생하는 WARNING이다.

해결하기 위해서는 

maven-source-plugin쪽에 <version>알맞은 버젼</version>을 명시해주면 된다.

나의 경우, 2.2.1버젼을 명시해주었다. (mvnrepository.com 참조)

이렇게 간단한거였는데.. 항상 뜰때마다 마음에 들지 않았네요.

반응형