diff --git a/maven_parent_jar/pom.xml b/maven_parent_jar/pom.xml index 90d18cf..89f02f7 100644 --- a/maven_parent_jar/pom.xml +++ b/maven_parent_jar/pom.xml @@ -17,6 +17,20 @@ pom + + + maven-source-plugin + + + attach-sources + + jar-no-fork + + + + + + @@ -28,16 +42,7 @@ org.apache.maven.plugins maven-source-plugin 3.0.1 - - - attach-sources - - jar - - - - ${project.groupId}.${project.artifactId}-${project.version} diff --git a/pom.xml b/pom.xml index 2f4768b..c7689a7 100644 --- a/pom.xml +++ b/pom.xml @@ -67,21 +67,25 @@ + + + maven-compiler-plugin + + ${java.version} + ${java.version} + UTF-8 + + + org.apache.maven.plugins maven-compiler-plugin 3.6.1 - - ${java.version} - ${java.version} - UTF-8 - - \ No newline at end of file