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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:15:04+00:00 2026-06-18T08:15:04+00:00

Why is it that although I’ve set the proper path to the JBoss EJB

  • 0

Why is it that although I’ve

  1. set the proper path to the JBoss EJB deployment descriptor in my project’s EJB facet

  2. added jboss-ejb3.xml to Intellij’s artifact Patrac-web:war exploded’s <output root>/WEB-INF

that any time I make the simplest change to pom.xml Intellij removes the following entry from ${PROJECT_DIR}/.idea/artifacts/Patrac_web_war_exploded.xml:

<element id="file-copy" path="$PROJECT_DIR$/Patrac-ejb/src/main/resources/META-INF/jboss-ejb3.xml" />

and, as a result, jboss-ejb3.xml does not get copied to the target directory?

It’s as though each time I make a change to pom.xml Intellij “reloads” the deployment configuration using the POM to override what settings I make within the IDE. Perhaps because I have no entry in my pom.xml for copying jboss-ejb3.xml from source directory to target directory the settings I make in Intellij IDE keep disappearing whenever Intellij “reloads.” Pure conjecture on my part, but this is what seems to be happening.

If so, what change do I need to make to pom.xml in order to make this stop happening?

  • 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-18T08:15:05+00:00Added an answer on June 18, 2026 at 8:15 am

    When a project is (re)imported from Maven IDEA configures it such way that when you invoke ‘Build’ from IDEA it produces the same result as Maven’s ‘package’ goal. If you need to copy jboss-ejb3.xml to WEB-INF just put it under ‘src/main/webapp/WEB-INF’ directory and it will be copied by Maven and so do IDEA.

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

Sidebar

Related Questions

It is my understanding that although Mercurial has support from branches, the community generally
I've seen from some sources that although you can make an exe or mac
UPDATE: Based on rrenaud's great comment I wanted to clarify that although I'm generating
I have this linq query that works well (although it may be written better,
This is quite a simple question - although one that is on my mind
I get a random issue with VS2008 (although not that random several times a
Note that this is for an ApiController in MVC 4 although I think it
Although appengine already is schema-less, there still need to define the entities that needed
Although there are a lot of posts about .net config files, I believe that
I guess that the # Net column is the most interesting, although I don't

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.