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

  • Home
  • SEARCH
  • 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 1107357
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T01:55:33+00:00 2026-05-17T01:55:33+00:00

We have replaced ejbs with Spring transaction and security(service facade) in our project. Earlier

  • 0

We have replaced ejbs with Spring transaction and security(service facade) in our project. Earlier we were using maven ejb plugin to include dependent libs in the classpath.

        <plugin>
            <artifactId>maven-ejb-plugin</artifactId>
            <configuration>
                <archive>
                    <manifest>
                        <addClasspath>true</addClasspath>
                    </manifest>
                </archive>
            </configuration>
        </plugin>

It was generating MANIFEST.MF file with all jar dependencies in ejb artifact (all jar files in ear folder in Jboss 4.2).

Since we have removed the ejbs now, session facade is an jar artifact. I don’t know, how to generate MANIFEST.MF in the session facade with all jar dependencies using maven.

I have an option to specify includeInApplicationXml attribute to include jar files in application.xml file as java module but I would have to specify it for each and every jar which is a cumbersome process as jar files dependency kept on changing.

Do we have any way to include jar file dependency without listing them in application.xml. Lets say we include only sessionfacade.jar dependency in application.xml and generate MANIFEST.MF file having dependency of all other jars (the way it was happening using maven-ejb-plugin).

Any help will be highly appreciated. Thanks in advance.

  • 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-17T01:55:33+00:00Added an answer on May 17, 2026 at 1:55 am

    you can use the same maven configuration, but with the maven-jar-plugin:

    <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
            <archive>
                <manifest>
                    <addClasspath>true</addClasspath>
                </manifest>
            </archive>
        </configuration>
    </plugin>
    

    This will generate the MANIFEST.MF with all dependencies on the class-path element.

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

Sidebar

Related Questions

I have a large text template which needs tokenized sections replaced by other text.
I have a localization issue. One of my industrious coworkers has replaced all the
Due to performance problems, I have replaced ReaderWriterLock with ReaderWriterLockSlim . I am experiencing
Please help me to prevent my data from SQL injection. I have replaced '
I have a customer using the Access 97 runtime to support part of their
I have a reoccurring DNS problem that has been plaguing our users, occasionally causing
We have some HTTP handlers specified in our web.config. When we were running this
I have to replace the content of this xml string through java <My:tag>value_1 22&#xA;value_2
This is what I currently have: CREATE OR REPLACE TRIGGER MYTRIGGER AFTER INSERT ON
I have the following C# which simply replaces parts of the input string that

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.