Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-dev] I could use some advice !

For the record, m2e development environment wiki [1] explains that you need to import org.eclipse.m2e.workspace.cli into workspace. (and you will likely need to scroll the page to see the instructions)

[1] https://wiki.eclipse.org/M2E_Development_Environment

--
Regards,
Igor

On 2014-10-06, 6:06, Anton Tanasenko wrote:
Hi,
workspace.cli should be available from maven central:
http://maven-repository.com/artifact/io.takari.m2e.workspace/org.eclipse.m2e.workspace.cli.
However, subce m2e.core is of PDE nature, it takes its dependencies from
target platform/workspace, so you need to either check out
workspace.cli [1] into workspace, or install a recent m2e 1.6.0 snapshot
[2], which contains workspace.cli 0.3.0.

As for 0.1.0, it actually means >= 0.1.0, and will successfully resolve
against provided 0.3.0 during build.

[1] http://git.eclipse.org/c/m2e/org.eclipse.m2e.workspace.git/
[2]
http://repository.takari.io:8081/nexus/content/sites/m2e.extras/m2e/1.6.0/N/LATEST/


2014-10-06 12:31 GMT+03:00 Daniel Kasmeroglu
<daniel.kasmeroglu@xxxxxxxxxxxx <mailto:daniel.kasmeroglu@xxxxxxxxxxxx>>:

    Hi there,

    I'm currently starting to get in touch with the m2e codebase. After
    importing m2e-core my Eclipse (Luna) shows me the following errors for
    the bundles 'org.eclipse.m2e.core' and 'org.eclipse.m2e.launching':

       * Bundle 'org.eclipse.m2e.workspace.cli' cannot be resolved

    Therefore I was obviously looking for this bundle but it's only within a
    remote repository
    (http://repository.takari.io:8081/nexus/content/repositories/snapshots).
    So here's what's confusing me a bit (probably due to a lack of
    understanding):

    * The repository declaration is only available within the
    'm2e-maven-runtime' module and not part of the projects pom.

    * The project pom contains a dependency:
    io.takari.m2e.workspace:org.eclipse.m2e.workspace.cli:0.3.0 whereas the
    corresponding bundle is required as version 0.1.0 which indicates that
    either the io.takari.m2e.workspace:org.eclipse.m2e.workspace.cli:0.1.0
    or org.eclipse.m2e.workspace:org.eclipse.m2e.workspace.cli:0.1.0 shall
    be used.

    Am I missing something here and if so can someone give me a hint how to
    solve this ?


    Best regards

    Daniel Kasmeroglu



    _______________________________________________
    m2e-dev mailing list
    m2e-dev@xxxxxxxxxxx <mailto:m2e-dev@xxxxxxxxxxx>
    To change your delivery options, retrieve your password, or
    unsubscribe from this list, visit
    https://dev.eclipse.org/mailman/listinfo/m2e-dev




--
Regards,
Anton.


_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-dev



Back to the top