Note that there are some explanatory texts on larger screens.

plurals
  1. POmaven package doesn't compile
    primarykey
    data
    text
    <p>i have a multi-module project and am stuck with this strange situation:</p> <p>command> mvn package</p> <pre><code>[INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building mysoft-service-api 3.4-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ mysoft-service-api --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\dev\mysoft\service\api\src\main\resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ mysoft-service-api --- [INFO] Compiling 150 source files to C:\dev\mysoft\service\api\target\classes [INFO] [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ mysoft-service-api --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\dev\mysoft\service\api\src\test\resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ mysoft-service-api --- [INFO] Not compiling test sources [INFO] [INFO] --- maven-surefire-plugin:2.5:test (default-test) @ mysoft-service-api --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ mysoft-service-api --- [INFO] Building jar: C:\dev\mysoft\service\api\target\mysoft-service-api-3.4-SNAPSHOT.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.524s [INFO] Finished at: Thu Mar 15 19:54:12 EET 2012 [INFO] Final Memory: 21M/225M [INFO] ------------------------------------------------------------------------ </code></pre> <p>after this the target/classes folder is empty. how could that be, when the classes were found and it reports build success?</p> <p>the jar is built also, but obviously without classes in it.</p> <p>this module's pom:</p> <p> http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 4.0.0</p> <pre><code>&lt;parent&gt; &lt;artifactId&gt;mysoft-service&lt;/artifactId&gt; &lt;groupId&gt;mysoft.service&lt;/groupId&gt; &lt;version&gt;3.4-SNAPSHOT&lt;/version&gt; &lt;/parent&gt; &lt;groupId&gt;mysoft.service.api&lt;/groupId&gt; &lt;artifactId&gt;mysoft-service-api&lt;/artifactId&gt; &lt;name&gt;mysoft-service-api&lt;/name&gt; &lt;version&gt;3.4-SNAPSHOT&lt;/version&gt; &lt;packaging&gt;jar&lt;/packaging&gt; &lt;dependencies&gt; &lt;/dependencies&gt; &lt;properties&gt; &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt; &lt;/properties&gt; </code></pre> <p></p> <p>using maven 3.0.4. any hint would be much appreciated (have been trying various things for days).</p> <p>the whole software compiles and runs fine in intellij idea.</p> <p>and yes i did run mvn clean, and did a fresh checkout. in fact i even used a fresh windows install with everything fresh (no local mvn repo leftovers) to be sure, and can reproduce that problem. running mvn from idea and command line.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload