Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7001413
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:47:59+00:00 2026-05-27T20:47:59+00:00

My deps file: – org.hibernate -> hibernate-core 3.6.8.Final: force: true exclude: – ant ->

  • 0

My deps file:

- org.hibernate -> hibernate-core 3.6.8.Final:
    force: true
    exclude:
        - ant -> ant 1.6.5

- org.apache.ant -> ant 1.8.2

(Note that the ant I’m trying to exclude is from the ant group, while the ant I’m including is from org.apache.ant – sadly, the ant group does not yet contain ant 1.8.2).

When I run play deps , I find that the exclude is not taking effect, and I end up with both versions of ant in my lib folder.

The output from play deps --sync --debug is here. Any advice on how to resolve this?
Here is the shorter output without the --debug:

~ Resolving dependencies using C:\work\CS\portal\src\conf\dependencies.yml,
~
~   org.hibernate->hibernate-core 3.6.8.Final (from mavenCentral)
~   javax.validation->validation-api 1.0.0.GA (from mavenCentral)
~   ant->ant 1.6.5 (from mavenCentral)
~   javassist->javassist 3.12.0.GA (from mavenCentral)
~   cglib->cglib 2.2 (from mavenCentral)
~   asm->asm 3.1 (from mavenCentral)
~   org.apache.ant->ant 1.8.2 (from mavenCentral)
~   org.apache.ant->ant-launcher 1.8.2 (from mavenCentral)
~
~ Some dependencies have been evicted,
~
~   hibernate-core 3.6.1.Final is overriden by hibernate-core 3.6.8.Final
~   hibernate-jpa-2.0-api 1.0.1.Final is overriden by hibernate-jpa-2.0-api 1.0.0.Final
~   commons-collections 3.1 is overriden by commons-collections 3.2.1
~
~ Installing resolved dependencies,
~
~   lib/hibernate-core-3.6.8.Final.jar
~   lib/ant-1.8.2.jar
~   lib/validation-api-1.0.0.GA.jar
~   lib/ant-1.6.5.jar
~   lib/javassist-3.12.0.GA.jar
~   lib/cglib-2.2.jar
~   lib/asm-3.1.jar
~   lib/ant-launcher-1.8.2.jar
~
~ *****************************************************************************
~ WARNING: These dependencies are missing, your application may not work properly (use --verbose for details),
~
~   org.jboss.javaee->jboss-jacc-api_JDK4 1.1.0
~ *****************************************************************************
~
~ Some dependencies are still missing.
~
~        _            _ 
~  _ __ | | __ _ _  _| |
~ | '_ \| |/ _' | || |_|
~ |  __/|_|\____|\__ (_)
~ |_|            |__/   
~
~ play! 1.2.x-c40cf37, http://www.playframework.org
~
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T20:48:00+00:00Added an answer on May 27, 2026 at 8:48 pm

    I guess force:true is causing both files to be copied. Seems like DependencyManager#install isn’t considering the excluded deps.

    This seems to do what you want:

     require:                                                                                                                                                                                       
        - org.hibernate -> hibernate-core 3.6.8.Final:                                                                                                                                             
            exclude:                                                                                                                                                                               
              - ant -> ant *                                                                                                                                                                       
        - play:                                                                                                                                                                                    
            exclude:                                                                                                                                                                               
              - org.hibernate -> hibernate-core                                                                                                                                                    
        - org.apache.ant -> ant 1.8.2      
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

if I enable eith the clojure-couchdb or swank-clojure then lein deps fails because org.apache.maven:super-pom:jar:2.0
bin/vendors install works on my local machine. However, three entries in my deps file
I have a make build system that I am trying to decipher that someone
I am trying to use the xmlEncoder to write to xml file in net-beans
I have a POM defined in the Ant file, the build works correctly, pulling
I'm trying to use ghostscript to convert a .ps file to a series of
Why symfony 2 uses both, the deps file and the composer.json file? I can
I am viewing v8 header file, and got a problem again. https://github.com/joyent/node/blob/master/deps/v8/include/v8.h#L1408-1414 typedef Handle<Value>
I'd like to manage Twitter Bootstrap git repository using deps file in Symfony2. So
In my Java application, I want to run a batch file that calls scons

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.