facebook

Unknown error in POM.xml at line 1

  1. MyEclipse IDE
  2.  > 
  3. Maven for MyEclipse (Maven4MyEclipse)
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #621611 Reply

    Frédéric
    Participant

    Hi,

    I often have the same error as described here.

    I used to solve it by changing SpringBoot ‘starter parent’ artifact version to 2.1.4-RELEASE.

    This workaround doesn’t work anymore and I didn’t find any version of the above artifact that seems complient with the libs I need for my project.

    I certainly should change the m2e connector for MavenArchiver to 0.17.4, but this version seems not complient with MyEclipse installed components.

    What should I do to make this unknown error vanish ?

    Thanks

    #621612 Reply

    Frédéric
    Participant

    Here’s a screener for more details

    Attachments:
    You must be logged in to view attached files.
    #621754 Reply

    Brian Fernandes
    Moderator

    Frédéric,

    Thank you for pointing us to the s/o post and the corresponding bug, saved us some time.

    1) Yes, you won’t be able to install the m2e update into MyEclipse as there are hard constraints internally which will cause conflicts, as you have already seen.

    2) Here’s a workaround that should work for you, until we fix this in the next MyEclipse release. We tested this internally and it fixed the issue for us:

    a) Download attached zip file.
    b) Shut down MyEclipse.
    c) In your MyEclipse installation’s plugins directory, you will find a file named: org.sonatype.m2e.mavenarchiver_0.17.2.201606141937-signed-20160830073346.jar – make a backup of this file.
    c) Unzip the zip into the plugins directory, it will overwrite the above file.
    d) Start MyEclipse.

    So that you understand what is happening, we’ve just taken the 1.7.4 plugin and renamed it to have the same name as the 1.7.2 version already used in MyEclipse. Please let us know if this fixes the issue for you. We’ll ensure that this fix is part of the next MyEclipse update.

    Attachments:
    You must be logged in to view attached files.
    #622240 Reply

    support-swapna
    Moderator

    Frederic,

    Just checking – Did you get a chance to try the workaround suggested by Brian?
    Please let us know if it helps.

    –Swapna
    Genuitec Support

    #622273 Reply

    Frédéric
    Participant

    Hi,
    Thanx for your answer. I didn’t try it yet due to lack of time.
    I’ll try it during the weekend and come back here to keep you informed.

    Cya

    #623572 Reply

    Frédéric
    Participant

    Hi Brian and Swapna,

    I’ve just tried your workaround and it worked fine.

    Thanx for your quick answer and support.

    Bye

    #623839 Reply

    support-swapna
    Moderator

    Frederic,

    Glad that it works. Thank you for getting back to us.

    –Swapna
    Genuitec Support

    #661723 Reply

    emutabaruka
    Participant

    This was helpful. Thanks for guidance

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Unknown error in POM.xml at line 1

You must be logged in to post in the forum log in