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
Project is creating in broken state #78
Comments
Do you have more details in the eclipse error log?
On May 5, 2017 17:01, "saggammahesh" <notifications@github.com> wrote:
Hi Team,
I am trying to create a multi module project, but it's failing.
I am getting an error "Could not update project training.core.configuration
Java.lang.IllegalArgumentException"
[image: core_issue]
<https://cloud.githubusercontent.com/assets/7000621/25748647/6a04d88e-31c9-11e7-9d44-2d4ec6bc909e.png>
Below are the different versions i am using.
Java - 1.8
Eclipse Version: Neon
Maven - Inbuilt one comes with eclipse - 3.3.9
Please let me know what is the issue and how to resolve.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#78>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABS9R4s75BTBdO7eF6cMtr5mdau7FW-ks5r2yu_gaJpZM4NR9Rx>
.
|
@rombert @saggammahesh
However I can run successful Maven commands outside my IDE (Eclipse).
and even the bundle install works through CMD:
The issue seems to be a IDE related. Attached is the screenshot of my bundle (core) project. It does not reflect a correct Maven structure.
|
@rombert,
I found the followoing issue that I think is related to this one. When I removed the above code and updated the project through maven in eclipse, everything worked fine and I was able to upload the modules to an AEM instance through eclipse. |
@akfaircg |
Also worked for me, thanks! |
Thanks for tracking down the issue @akfaircg . Would you be willing to submit a pull request for https://github.com/Adobe-Marketing-Cloud/aem-project-archetype/ with a fix? |
@rombert, I just submitted a pull request to https://github.com/Adobe-Marketing-Cloud/aem-project-archetype/. Thanks! |
Applied, thanks @akfaircg ! |
thanks a lot @akfaircg! @rombert, request you to help me understand. In this thread you've mentioned Applied; however, when i run Thanks & Regards, |
@appsparkler - this is not yet included in a release, will be there in version 12 of the archetype. |
I don't agree with the fix here. Removing the manifest execution has negative sideeffects as unit tests relying on Sling Mocks or AEM Mocks might no longer execute successfully. For details look at http://felix.apache.org/documentation/faqs/apache-felix-bundle-plugin-faq.html#use-scr-metadata-generated-by-bnd-in-unit-tests. So the real solution is to get rid of the m2-tycho plugin at all (also compare with tesla/m2eclipse-tycho#31). A full explanation of the issue described here can be found in http://sling.apache.org/documentation/development/ide-tooling/ide-tooling-incremental-build.html. @rombert Can you revert the fix please? |
Hi Team,
I am trying to create a multi module project, but it's failing.
I am getting an error "Could not update project training.core.configuration Java.lang.IllegalArgumentException"
Below are the different versions i am using.
Java - 1.8
Eclipse Version: Neon
Maven - Inbuilt one comes with eclipse - 3.3.9
Please let me know what is the issue and how to resolve.
The text was updated successfully, but these errors were encountered: