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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T15:34:21+00:00 2026-06-07T15:34:21+00:00

I have an assembly module that builds the directory structure I need under the

  • 0

I have an assembly module that builds the directory structure I need under the target directory. All folders are there as expected. These dirs include config, docs, lib etc. Some include jars while the others contain stadard shell scripts and files etc.

Now I want to reference this artifact, lets say its called rpm-prep in another pom module, that will use this target directory structure to pull out the bits I need to build the rpm using the maven rpm plugin. I did this as I have a multi module project and I couldnt reference the sub dirs in each module without specifying the full path…

So I want to be able to reference the following as follows:

"rpm-prep" artifact declared as a dependency in "rpm-module":
  <dependency>
      <groupId>com.blah.blah</groupId>
      <artifactId>rpm-prep</artifactId>      //contains dir struct I need to extract
      <version>${project.version}</version>
  </dependency>

Now in the “rpm-module” pom I want to be able to reference the conf sub directory under the target directory. How do I do thishaving declared the dependency above? e.g.

 <mapping>
      ....
       .......
       <dependency>
          <includes>
            <include>??? dependency-target-conf directory from above dependency?????
            </include>
          </includes>
        </dependency>
 </mapping>

I know I can reference jars, zips etc but I need the dir in this case and all the contents etc.

  • 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-07T15:34:22+00:00Added an answer on June 7, 2026 at 3:34 pm

    How about unpacking the assembly using maven dependency plugin's dependency:unpack and then using the relevant folders/contents from there?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a large directory structure with JavaScript, images, etc. that depend on each
I have a maven multiple-module project, which is giving me headaches in the assembly:assembly
I have an assembly that is exposed to com that provides access to a
I have an assembly that contains an embedded resource. However, when this assembly is
I have an assembly which I need to GAC on a SharePoint machine I
We have an assembly that is called repeatedly by different executables and it shares
I have a module that is responsible for reading, processing, and writing bytes to
I have an assembly that contains cmdlets. Can Powershell enumerate the cmdlets available in
Let's say I have a Foo.fsx script that contains this code: module Bar =
Currently I have a static class that I use as my logging module. I’ve

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.