-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EAR generated using the maven plugin missing the compiled class files in root folder. #633
Comments
I think I might be having the same problem... when I run mvn install on my local machines it generates compiled files to the package root... but when I run it on my dev environment it doesn't. I'm using the same plugin version, the same maven version and plugins on both machines. Running it on my local machines: running it on my dev env machines: It lacks the com/tibco/* entries and I cannot understand why. ++This results in a class not found error as the bw appnode seems to not look for the .class files under the bin folder. ++From what I understand this packaging being done by the bw maven plugin it self as the pom.xml from my project specifies: |
So I found a kind of "workaround" for this.
Now if you do a "maven package/install/deploy" your package will contain the .class files. Problem is... this is not being done in build time which I don't think it's suitable. |
@Strickmabil Thank you. I found that class is being created for me but is in the /bin folder now but I have to move this to the expected location which is different when ear is created using Studio. So I could workaround by manually moving it to correct path and then creating the ear so the class folder/file gets included but like you said it is a "workaround". |
Maven Plugin version:
Maven version: 2.8.0
Product : Either of TIBCO ActiveMatrix Businessworks 6 OR TIBCO Businessworks Container edition
Product version: 2.6.2
Component: Either of Maven Eclipse Plugin or Maven build plugin
Steps to reproduce the issue:
Additional environment details if any:
Happens with both BW6 and BWCE
Describe the results you received:
Class file not being compiled/bundled in ear in the root folder where application is expecting it
Describe the results you expected:
Class file should be included in ear in the root folder.
Additional information you deem important (e.g. issue happens only occasionally):
n/a
The text was updated successfully, but these errors were encountered: