http://wiki4.caucho.com/index.php?title=Resin_4_Maven_Dependencies&feed=atom&action=historyResin 4 Maven Dependencies - Revision history2024-03-29T14:31:25ZRevision history for this page on the wikiMediaWiki 1.18.0http://wiki4.caucho.com/index.php?title=Resin_4_Maven_Dependencies&diff=1127&oldid=prevCowan at 15:49, 7 March 20142014-03-07T15:49:31Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 15:49, 7 March 2014</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 93:</td>
<td colspan="2" class="diff-lineno">Line 93:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       </dependency></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       </dependency></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       <dependency></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       <dependency></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>         <groupId><del class="diffchange diffchange-inline">javax</del>.<del class="diffchange diffchange-inline">ejb</del></groupId></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>         <groupId><ins class="diffchange diffchange-inline">org</ins>.<ins class="diffchange diffchange-inline">glassfish</ins></groupId></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>         <artifactId>ejb<del class="diffchange diffchange-inline">-api</del></artifactId></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>         <artifactId><ins class="diffchange diffchange-inline">javax.</ins>ejb</artifactId></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>         <version>3.<del class="diffchange diffchange-inline">0</del></version></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>         <version>3.<ins class="diffchange diffchange-inline">1</ins></version></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         <scope>provided</scope></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         <scope>provided</scope></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       </dependency></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       </dependency></div></td></tr>
</table>Cowanhttp://wiki4.caucho.com/index.php?title=Resin_4_Maven_Dependencies&diff=1126&oldid=prevCowan at 17:55, 6 March 20142014-03-06T17:55:52Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 17:55, 6 March 2014</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 30:</td>
<td colspan="2" class="diff-lineno">Line 30:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     ....</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     ....</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>3. Add all the individual WebProfile API dependencies to your pom.xml.  This is the most flexible but more verbose choice.  Also, Caucho works to update included libraries as we release Resin, but the included reference implementations of validations, persistence, and faces may not always be the latest available.  In this case you should include the API that matches the <del class="diffchange diffchange-inline">implementation </del>version, or download the latest implementation and update the jar in Resin's lib directory.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>3. Add all the individual WebProfile API dependencies to your pom.xml.  This is the most flexible but more verbose choice.  Also, Caucho works to update included libraries as we release Resin, but the included reference implementations of validations, persistence, and faces may not always be the latest available.  In this case you should include the API that matches the <ins class="diffchange diffchange-inline">included </ins>version, or download the latest implementation and update the jar in Resin's lib directory.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Since Resin provides all these during runtime, the scope should always be set to provided.  This will prevent the API jars from being included in your war file which would be unnecessary and could cause issues.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Since Resin provides all these during runtime, the scope should always be set to provided.  This will prevent the API jars from being included in your war file which would be unnecessary and could cause issues.</div></td></tr>
</table>Cowanhttp://wiki4.caucho.com/index.php?title=Resin_4_Maven_Dependencies&diff=1125&oldid=prevCowan at 17:55, 6 March 20142014-03-06T17:55:08Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 17:55, 6 March 2014</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 30:</td>
<td colspan="2" class="diff-lineno">Line 30:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     ....</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     ....</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>3. Add all the individual WebProfile API dependencies to <del class="diffchange diffchange-inline">maven</del>.  This is the most flexible but more verbose choice.  Also, Caucho works to update included libraries as we release Resin, but the included reference implementations of validations, persistence, and faces may not always be the latest available.  In this case you should include the API that matches the implementation version, or download the latest implementation and update the jar in Resin's lib directory.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>3. Add all the individual WebProfile API dependencies to <ins class="diffchange diffchange-inline">your pom.xml</ins>.  This is the most flexible but more verbose choice.  Also, Caucho works to update included libraries as we release Resin, but the included reference implementations of validations, persistence, and faces may not always be the latest available.  In this case you should include the API that matches the implementation version, or download the latest implementation and update the jar in Resin's lib directory.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Since Resin provides all these during runtime, the scope should always be set to provided.  This will prevent the API jars from being included in your war file which would be unnecessary and could cause issues.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Since Resin provides all these during runtime, the scope should always be set to provided.  This will prevent the API jars from being included in your war file which would be unnecessary and could cause issues.</div></td></tr>
</table>Cowanhttp://wiki4.caucho.com/index.php?title=Resin_4_Maven_Dependencies&diff=1124&oldid=prevCowan at 17:54, 6 March 20142014-03-06T17:54:16Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 17:54, 6 March 2014</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 11:</td>
<td colspan="2" class="diff-lineno">Line 11:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>2. Add a dependency on the javax.javaee-web-api bundle available from java.net here: http://download.java.net/maven/2/javax/javaee-web-api/6.0/ to your pom.xml</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>2. Add a dependency on the javax.javaee-web-api bundle available from java.net here: http://download.java.net/maven/2/javax/javaee-web-api/6.0/ to your pom.xml</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Note: this bundle is convenient since it is a single dependency that <del class="diffchange diffchange-inline">include </del>all the EE6 WebProfile APIs, but you can't "mix and match" and you can't exclude API.  It also prevents you from upgrading individual APIs.  This can can lead to odd and confusing issues between development and runtime since the runtime implementation often depends on a newer API version.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Note: this bundle is convenient since it is a single dependency that <ins class="diffchange diffchange-inline">includes </ins>all the EE6 WebProfile APIs, but you can't "mix and match" and you can't exclude API.  It also prevents you from upgrading individual APIs.  This can can lead to odd and confusing issues between development and runtime since the runtime implementation often depends on a newer API version.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     <dependencies></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     <dependencies></div></td></tr>
</table>Cowanhttp://wiki4.caucho.com/index.php?title=Resin_4_Maven_Dependencies&diff=1123&oldid=prevCowan: /* Resin 4 Maven Dependencies */2014-03-06T17:53:13Z<p><span class="autocomment">Resin 4 Maven Dependencies</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 17:53, 6 March 2014</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 34:</td>
<td colspan="2" class="diff-lineno">Line 34:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Since Resin provides all these during runtime, the scope should always be set to provided.  This will prevent the API jars from being included in your war file which would be unnecessary and could cause issues.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Since Resin provides all these during runtime, the scope should always be set to provided.  This will prevent the API jars from being included in your war file which would be unnecessary and could cause issues.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"><pre></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     <dependencies></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     <dependencies></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   </div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 119:</td>
<td colspan="2" class="diff-lineno">Line 120:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       ...</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       ...</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></pre></ins></div></td></tr>
</table>Cowanhttp://wiki4.caucho.com/index.php?title=Resin_4_Maven_Dependencies&diff=1122&oldid=prevCowan at 17:50, 6 March 20142014-03-06T17:50:44Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 17:50, 6 March 2014</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 98:</td>
<td colspan="2" class="diff-lineno">Line 98:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       </dependency></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       </dependency></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>       <!-- Reference implementations --></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>       <!-- Reference implementations <ins class="diffchange diffchange-inline">included with Resin (check /lib directory to match version or upgrade /lib) </ins>--></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       <dependency></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       <dependency></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         <groupId>org.eclipse.persistence</groupId></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         <groupId>org.eclipse.persistence</groupId></div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 117:</td>
<td colspan="2" class="diff-lineno">Line 117:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         <scope>provided</scope></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         <scope>provided</scope></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       </dependency></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       </dependency></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> </ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       ...</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       ...</div></td></tr>
</table>Cowanhttp://wiki4.caucho.com/index.php?title=Resin_4_Maven_Dependencies&diff=1121&oldid=prevCowan at 17:43, 6 March 20142014-03-06T17:43:57Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 17:43, 6 March 2014</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 3:</td>
<td colspan="2" class="diff-lineno">Line 3:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>= Resin 4 Maven Dependencies =</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>= Resin 4 Maven Dependencies =</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>All the javax <del class="diffchange diffchange-inline">API </del>are included with Resin in javaee-16.jar located in the lib directory.  For basic development (without Maven), it is simplest to add this jar as a dependency to your IDE project, which will provide you with all the required APIs to code against.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>All the <ins class="diffchange diffchange-inline">JEE6 WebProfile </ins>javax <ins class="diffchange diffchange-inline">APIs </ins>are included with Resin in javaee-16.jar located in the lib directory.  For basic development (without Maven), it is simplest to add this jar as a dependency to your IDE project, which will provide you with all the required APIs to code against.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>For Maven development there are a few options.   </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>For Maven development there are a few options.   </div></td></tr>
</table>Cowanhttp://wiki4.caucho.com/index.php?title=Resin_4_Maven_Dependencies&diff=1120&oldid=prevCowan at 17:43, 6 March 20142014-03-06T17:43:35Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 17:43, 6 March 2014</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 3:</td>
<td colspan="2" class="diff-lineno">Line 3:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>= Resin 4 Maven Dependencies =</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>= Resin 4 Maven Dependencies =</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">Resin provides it's own implementations of most JavaEE 6 WebProfile libraries.  </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>All the javax API are included with Resin in javaee-16.jar located in the lib directory.  For basic development <ins class="diffchange diffchange-inline">(without Maven)</ins>, it is simplest to add this jar as a dependency <ins class="diffchange diffchange-inline">to your IDE project, </ins>which will provide <ins class="diffchange diffchange-inline">you </ins>with all the required APIs to code against.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">It does not provide implementations of javax.validation, javax.persistence, or javax.faces.  For these, the reference implementation is included with Resin.</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>All the javax API are included with Resin in javaee-16.jar located in the lib directory.  For basic development, it is simplest to add this jar as a dependency which will provide <del class="diffchange diffchange-inline">your IDE </del>with all the required APIs to code against.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>For Maven development there are a few options.   </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>For Maven development there are a few options.   </div></td></tr>
</table>Cowanhttp://wiki4.caucho.com/index.php?title=Resin_4_Maven_Dependencies&diff=1119&oldid=prevCowan at 17:39, 6 March 20142014-03-06T17:39:14Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 17:39, 6 March 2014</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 35:</td>
<td colspan="2" class="diff-lineno">Line 35:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>3. Add all the individual WebProfile API dependencies to maven.  This is the most flexible but more verbose choice.  Also, Caucho works to update included libraries as we release Resin, but the included reference implementations of validations, persistence, and faces may not always be the latest available.  In this case you should include the API that matches the implementation version, or download the latest implementation and update the jar in Resin's lib directory.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>3. Add all the individual WebProfile API dependencies to maven.  This is the most flexible but more verbose choice.  Also, Caucho works to update included libraries as we release Resin, but the included reference implementations of validations, persistence, and faces may not always be the latest available.  In this case you should include the API that matches the implementation version, or download the latest implementation and update the jar in Resin's lib directory.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">Since Resin provides all these during runtime, the scope should always be set to provided.  This will prevent the API jars from being included in your war file which would be unnecessary and could cause issues.</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     <dependencies></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     <dependencies></div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 119:</td>
<td colspan="2" class="diff-lineno">Line 121:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         <scope>provided</scope></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         <scope>provided</scope></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       </dependency></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       </dependency></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">      ...</ins></div></td></tr>
</table>Cowanhttp://wiki4.caucho.com/index.php?title=Resin_4_Maven_Dependencies&diff=1118&oldid=prevCowan at 17:36, 6 March 20142014-03-06T17:36:45Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 17:36, 6 March 2014</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 11:</td>
<td colspan="2" class="diff-lineno">Line 11:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>For Maven development there are a few options.   </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>For Maven development there are a few options.   </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>1. Deploy javaee-16.jar to your local Maven repository, using deploy-file as described here: https://maven.apache.org/guides/mini/guide-3rd-party-jars-remote.html</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>1. Deploy javaee-16.jar to your local Maven repository, using deploy-file as described here: https://maven.apache.org/guides/mini/guide-3rd-party-jars-remote.html<ins class="diffchange diffchange-inline">.  Then add a dependency on it to your pom.xml.</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>2. Add a dependency on the javax.javaee-web-api bundle available from java.net here: http://download.java.net/maven/2/javax/javaee-web-api/6.0/</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>2. Add a dependency on the javax.javaee-web-api bundle available from java.net here: http://download.java.net/maven/2/javax/javaee-web-api/6.0/ <ins class="diffchange diffchange-inline">to your pom.xml</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Note: this bundle is convenient since it is a single dependency that include all the EE6 WebProfile APIs, but you can't "mix and match" and you can't exclude API.  It also prevents you from upgrading individual APIs.  This can can lead to odd and confusing issues between development and runtime since the runtime implementation often depends on a newer API version.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Note: this bundle is convenient since it is a single dependency that include all the EE6 WebProfile APIs, but you can't "mix and match" and you can't exclude API.  It also prevents you from upgrading individual APIs.  This can can lead to odd and confusing issues between development and runtime since the runtime implementation often depends on a newer API version.</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 25:</td>
<td colspan="2" class="diff-lineno">Line 25:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       </dependency></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       </dependency></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       ...</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       ...</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> </ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   <repositories></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   <repositories></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     <repository></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     <repository></div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 34:</td>
<td colspan="2" class="diff-lineno">Line 34:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     ....</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     ....</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>3. Add all the individual API dependencies to maven.  This is the most flexible but more verbose choice.  Also, Caucho works to update included libraries as we release Resin, but the included reference implementations of validations, persistence, and faces may not always be the latest available.  In this case you should include the API that matches the implementation version, or download the latest implementation and update the jar in Resin's lib directory.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>3. Add all the individual <ins class="diffchange diffchange-inline">WebProfile </ins>API dependencies to maven.  This is the most flexible but more verbose choice.  Also, Caucho works to update included libraries as we release Resin, but the included reference implementations of validations, persistence, and faces may not always be the latest available.  In this case you should include the API that matches the implementation version, or download the latest implementation and update the jar in Resin's lib directory.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     <dependencies></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     <dependencies></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> </ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       <!-- API's --></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       <!-- API's --></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       <dependency></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       <dependency></div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 93:</td>
<td colspan="2" class="diff-lineno">Line 93:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         <scope>provided</scope></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         <scope>provided</scope></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       </dependency></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       </dependency></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">      <dependency></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">        <groupId>javax.ejb</groupId></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">        <artifactId>ejb-api</artifactId></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">        <version>3.0</version></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">        <scope>provided</scope></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">      </dependency></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"> </ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       <!-- Reference implementations --></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       <!-- Reference implementations --></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       <dependency></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>       <dependency></div></td></tr>
</table>Cowan