java - No sources in project. Archive not created -
I use maven-source-plugin to generate Java-source though "MVN Clean; MVAn Package" target Does not generate a project-source.zer in the directory. & lt; Plugin & gt; & Lt; Group & gt; Org.apache.maven.plugins & lt; / Group & gt; & Lt; ArtifactId & gt; Maven source-plugin & lt; / ArtifactId> & Lt; Version & gt; 2.3 & lt; / Edition & gt; & Lt; Hanging & gt; & Lt; Execution & gt; & Lt; ID & gt; Giving-sources & lt; / Id & gt; & Lt; Goals & gt; & Lt; Goal & gt; Jar-no-fork & lt; / Target & gt; & Lt; / Targets & gt; & Lt; / Execution & gt; & Lt; / Hanging & gt; & Lt; / Plugin & gt; info: [info] --- Maven-compiler plugin: 2.5.1: testCompile (default-testCompile) @ weibo4j --- [ INFO] No source to compile [INFO] [INFO] --- Maven-surefire-plugin: 2.12.4: No test for running (default-trial) @ weibo4j --- [INFO]. [Information] [info...