Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Eclipse Java nature dependencies tend to be defined in the <a href="http://help.eclipse.org/helios/topic/org.eclipse.jdt.doc.user/reference/ref-properties-build-path.htm" rel="nofollow"><code>project/.classpath</code></a> file. Container dependencies (target servers) will be listed as <code>kind="con"</code>; this will provide things like servlet API dependencies.</p> <p>Web module (WST) dependencies are defined in <a href="http://help.eclipse.org/helios/topic/org.eclipse.wst.webtools.doc.user/topics/twplib.html" rel="nofollow"><code>project/.settings/org.eclipse.wst.common.component</code></a> ("virtual" <code>lib</code> directory jars).</p> <p>If your WAR is part of an EAR file, you may also want to check the <a href="http://help.eclipse.org/helios/topic/org.eclipse.wst.webtools.doc.user/topics/twplib.html" rel="nofollow"><code>project/WebContent/META-INF/MANIFEST.MF</code></a> classpath attribute.</p> <p>This may not include all transient dependencies (dependencies of dependencies) that you will require at runtime.</p> <p><em>I should add that such things are implementation details correct as of Eclipse Helios but may be subject to change.</em></p> <hr> <p>Note that Maven and Ant are different beasts. Maven can provision transient dependencies as necessary whereas Ant scripts may have to define them explicitly.</p> <p>You shouldn't need to add JRE libs to your pom.xml (though you might need to set the Java version). Given that JUnit is in the Ant script dependency list, this looks more like a unit test dependency list than a runtime list.</p>
 

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