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 8273169
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T07:23:16+00:00 2026-06-08T07:23:16+00:00

I have a project that depends upon two jars that are produced by us.

  • 0

I have a project that depends upon two jars that are produced by us. I’ve placed those two jars in our repository, Ivy downloads them, and everything is fine with the compile and building the initial jar.

However, we have another jar that is an obfuscator we need to run against this jar. This is also in our repository, but it isn’t needed for the compile. Instead, I simply run it as a program against the freshly built jar.

How should I classify this obfuscation jar’s configuration? I can’t say it’s compile since it’s not needed for the compilation. And, it shouldn’t be in the runtime configuration either. That leaves us with provided, _optional, _master, or test.

I could create a special configuration for Jars that are required for building the software, but aren’t required in the classpath, but I don’t want to break our standard and create more than the basic configurations.

What’s the best way to handle this?

  • 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-06-08T07:23:18+00:00Added an answer on June 8, 2026 at 7:23 am

    Ivy configurations are designed to be flexible. Of course it makes perfect sense to standardize on the Maven scopes (especially when pulling from Maven repos) but I see no reason to limit your build, especially for dependencies only used by your build.

    I typically create an extra configuration called “build” dedicated to pulling down items like ANT task jars:

    <configurations>
       <conf name="compile"  description="Compile dependencies"/>
       <conf name="runtime"  description="Runtime dependencies" extends="compile"/>
       <conf name="test"     description="Test dependencies" extends="runtime"/>
       <conf name="provided" description="Dependencies provided by target platform"/>
       <conf name="build"    description="Dependencies used by ANT build process"/>
    </configurations>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a project that depends upon some other binaries to be downloaded from
I have two Eclipse projects: one that depends upon a certain library (android.jar) and
I have a project that depends on JBoss(specifically 5.1.0.GA) and I was playing around
Suppose, I have an opensource project that depends on some library, that must be
I have an Setup project that installs App.exe. App.exe depends on 1) A third
I have a project A that depends on project B that depends on project
I have java project that depends from other java projects. These projects are maven
I have a project that depends on a library that is only easily available
I am using Qt Creator and have a Qt GUI project that depends on
I have a project that needs to disable/enable some NSToolbarItem s depends on different

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.