jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven Integration for Eclipse
  • MNGECLIPSE-529

dependencies with runtime scope are added into the build classpath

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Not A Bug
  • Affects Version/s: None
  • Fix Version/s: 0.9.5
  • Component/s: Dependency Resolver
  • Labels:
    None

Description

Dependencies with runtime scope are added into the build classpath and appear in "Maven Dependencies" classpath container. This scope should be only available in java App and JUnit launch configurations classpath, but not at the compile time.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Hide
    Zip Archive
    runtimescope.zip
    01/Jun/08 3:16 PM
    3 kB
    Igor Fedorenko
    1. File
      runtimescope/.classpath 0.4 kB
    2. File
      runtimescope/.project 0.6 kB
    3. File
      runtimescope/.../org.eclipse.jdt.core.prefs 0.2 kB
    4. File
      runtimescope/.../org.maven.ide.eclipse.prefs 0.2 kB
    5. XML File
      runtimescope/pom.xml 0.6 kB
    6. Java Source File
      runtimescope/src/.../runtimescope/App.java 0.2 kB
    7. Java Source File
      runtimescope/src/.../AppTest.java 0.6 kB
    8. File
      runtimescope/target/.../App.class 0.6 kB
    Download Zip
    Show
    Zip Archive
    runtimescope.zip
    01/Jun/08 3:16 PM
    3 kB
    Igor Fedorenko

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Igor Fedorenko added a comment - 01/Jun/08 3:16 PM - edited

Test compile classpath contains all dependencies regardless of scope. I am attaching sample project runtimescope.zip that demonstrates this behaviour (tested with maven 2.0.8 from cli)

Show
Igor Fedorenko added a comment - 01/Jun/08 3:16 PM - edited Test compile classpath contains all dependencies regardless of scope. I am attaching sample project runtimescope.zip that demonstrates this behaviour (tested with maven 2.0.8 from cli)
Hide
Permalink
Eugene Kuleshov added a comment - 25/Jun/08 2:10 PM

Closing as per last comment. JDT build path includes dependndencies corresponding to Maven's "test" scope.

Show
Eugene Kuleshov added a comment - 25/Jun/08 2:10 PM Closing as per last comment. JDT build path includes dependndencies corresponding to Maven's "test" scope.

People

  • Assignee:
    Unassigned
    Reporter:
    Eugene Kuleshov
Vote (0)
Watch (0)

Dates

  • Created:
    05/Apr/08 6:09 PM
    Updated:
    07/Jul/10 1:37 AM
    Resolved:
    25/Jun/08 2:10 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.