<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=cnelson" rel="nofollow">Christian Nelson</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-6118?redirect=false" rel="nofollow">SPR-6118</a></strong> and commented</p>
<p dir="auto">Spring JDBC 3.0.0.M4 maven pom includes derby and derby.client - these should be optional dependencies.</p>
<p dir="auto">Here is the relevant output from mvn dependency:tree...</p>
<p dir="auto">[INFO] +- org.springframework:spring-orm:jar:3.0.0.M4:compile<br>
[INFO] |  +- org.slf4j:slf4j-jdk14:jar:1.5.2:compile<br>
[INFO] |  +- org.springframework:spring-beans:jar:3.0.0.M4:compile<br>
[INFO] |  +- org.springframework:spring-core:jar:3.0.0.M4:compile<br>
[INFO] |  |  - org.springframework:spring-asm:jar:3.0.0.M4:compile<br>
[INFO] |  +- org.springframework:spring-jdbc:jar:3.0.0.M4:compile<br>
<strong>[INFO] |  |  +- org.apache.derby:com.springsource.org.apache.derby:jar:10.5.1000001.764942:compile</strong><br>
<strong>[INFO] |  |  - org.apache.derby:com.springsource.org.apache.derby.client:jar:10.5.1000001.764942:compile</strong><br>
[INFO] |  - org.springframework:spring-tx:jar:3.0.0.M4:compile<br>
[INFO] |     +- aopalliance:aopalliance:jar:1.0:compile<br>
[INFO] |     +- org.springframework:spring-aop:jar:3.0.0.M4:compile<br>
[INFO] |     - org.springframework:spring-context:jar:3.0.0.M4:compile<br>
[INFO] |        - org.springframework:spring-expression:jar:3.0.0.M4:compile</p>
<p dir="auto">These dependencies should be configured as &lt;optional&gt;true&lt;/optional&gt; since they're not required for regular usage of spring-jdbc.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.0 M4</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398097478" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10777" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10777/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10777">#10777</a> Spring JDBC POM should declare derby dependency is optional (<em><strong>"duplicates"</strong></em>)</li>
</ul>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=garpinc" rel="nofollow">Keith Garry Boyce</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-1412?redirect=false" rel="nofollow">SPR-1412</a></strong> and commented</p>
<p dir="auto">I have a situation when I need access to the portlet name in the controller to then in turn look up data related to that data in db. I don't want a separate controller config for each portlet s it would seem if framework detected that I implement and interface requiring that then it would do the right thing and give me access to read it. What do you think?</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.0 M1</p>