AngularJS in Eclipse IDE

Install AngularJS Eclipse tools plugin to work with angularJS in eclipse.

Download the AngularJS eclipse tools zip from https://github.com/sbegaudeau/AngularJS-Eclipse-Tools

Unzip the downloaded zip file.

NOTE: maven 3 must be installed.

$ cd unzipped-dir/releng/org.obeonetwork.angularjs.eclipse.tools.releng

$ mvn clean verify

Now the eclipse update site will be created under

unzipped-dir/repository/org.obeonetwork.angularjs.eclipse.tools.repository/target/repository/

In eclipse,

Help -> Install New Software -> paste the “path/to/unzipped-dir/repository/org.obeonetwork.angularjs.eclipse.tools.repository/target/repository/” in work with box.

Check the checkbox and click on finish.

Restart the eclipse IDE and angularJS works charmingly.

34 thoughts on “AngularJS in Eclipse IDE

  1. I am getting following error

    Project ID: org.obeonetwork.angularjs.eclipse.tools:org.obeonetwork.angularjs.eclipse.tools.releng

    Reason: Cannot find layout implementation corresponding to: ‘p2’ for remote repository with id: ‘eclipse-platform’. for project org.obeonetwork.angula
    rjs.eclipse.tools:org.obeonetwork.angularjs.eclipse.tools.releng

  2. Sir, I am getting following exception while running “mvn clearn verify”

    Exception in thread “main” java.lang.NoSuchMethodError: org.apache.maven.executi
    on.MavenSession.getRepositorySession()Lorg/sonatype/aether/RepositorySystemSessi
    on;

  3. eclipse ver=Juno, OS=win 7 enterprise, java 7 runtime is configured

    C:\dev\angularJs\AngularJS-Eclipse-Tools-master\releng\org.obeonetwork.angularjs.eclipse.tools.releng>mvn clean verify
    [INFO] Scanning for projects…
    [WARNING] No explicit target runtime environment configuration. Build is platform dependent.
    —————————————————
    constituent[0]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/aether-api-0.9.0.M2.jar
    constituent[1]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/aether-connector-wagon-0.9.0.M2.jar
    constituent[2]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/aether-impl-0.9.0.M2.jar
    constituent[3]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/aether-spi-0.9.0.M2.jar
    constituent[4]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/aether-util-0.9.0.M2.jar
    constituent[5]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/aopalliance-1.0.jar
    constituent[6]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/cdi-api-1.0.jar
    constituent[7]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/commons-cli-1.2.jar
    constituent[8]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/guava-11.0.2.jar
    constituent[9]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/javax.inject-1.jar
    constituent[10]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/jsr250-api-1.0.jar
    constituent[11]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/jsr305-1.3.9.jar
    constituent[12]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/maven-aether-provider-3.1.1.jar
    constituent[13]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/maven-artifact-3.1.1.jar
    constituent[14]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/maven-compat-3.1.1.jar
    constituent[15]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/maven-core-3.1.1.jar
    constituent[16]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/maven-embedder-3.1.1.jar
    constituent[17]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/maven-model-3.1.1.jar
    constituent[18]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/maven-model-builder-3.1.1.jar
    constituent[19]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/maven-plugin-api-3.1.1.jar
    constituent[20]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/maven-repository-metadata-3.1.1.jar
    constituent[21]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/maven-settings-3.1.1.jar
    constituent[22]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/maven-settings-builder-3.1.1.jar
    constituent[23]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/org.eclipse.sisu.inject-0.0.0.M5.jar
    constituent[24]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/org.eclipse.sisu.plexus-0.0.0.M5.jar
    constituent[25]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/plexus-cipher-1.7.jar
    constituent[26]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/plexus-component-annotations-1.5.5.jar
    constituent[27]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/plexus-interpolation-1.19.jar
    constituent[28]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/plexus-sec-dispatcher-1.3.jar
    constituent[29]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/plexus-utils-3.0.15.jar
    constituent[30]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/sisu-guice-3.1.3-no_aop.jar
    constituent[31]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/slf4j-api-1.7.5.jar
    constituent[32]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/slf4j-simple-1.7.5.jar
    constituent[33]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/wagon-file-2.4.jar
    constituent[34]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/wagon-http-2.4-shaded.jar
    constituent[35]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/lib/wagon-provider-api-2.4.jar
    constituent[36]: file:/C:/dev/maven/apache-maven-3.1.1-bin/apache-maven-3.1.1/conf/logging/
    —————————————————
    Exception in thread “main” java.lang.NoSuchMethodError: org.apache.maven.execution.MavenSession.getRepositorySession()Lorg/sonatype/aether/R
    epositorySystemSession;
    at org.eclipse.tycho.core.maven.utils.PluginRealmHelper.execute(PluginRealmHelper.java:92)
    at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.getDependencyMetadata(P2TargetPlatformResolver.java:144)
    at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.setupProjects(P2TargetPlatformResolver.java:126)
    at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.setupProject(DefaultTychoDependencyResolver.java:87)
    at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:77)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:271)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
    C:\dev\angularJs\AngularJS-Eclipse-Tools-master\releng\org.obeonetwork.angularjs.eclipse.tools.releng>java -version

  4. I am using eclipse kepler. I have maven installed.I have Downloaded the zip and extracted it in D:/AngularJS folder and excuted the command on command prompt “cd D:/AngularJS\AngularJS-Eclipse-Tools-master/releng/org.obeonetwork.angularjs.eclipse.tools.releng” then
    “D:\AngularJS\AngularJS-Eclipse-Tools-master\releng\org.obeonetwork.angularjs.eclipse.tools.releng> mvn clean verify ” executed successfully but after this i do not found any target/repository
    under D:\AngularJS\AngularJS-Eclipse-Tools-master\repository\org.obeonetwork.angularjs.eclipse.tools.repository
    to execute
    dir//repository/org.obeonetwork.angularjs.eclipse.tools.repository/target/repository/

    pls help

    • Please make sure you use maven 3.
      What is the output of mvn clean verify..

      You should be able to see “artifacts.jar”, “contents.jar”, “features” directory and “plugins” directory under

      D:\AngularJS\AngularJS-Eclipse-Tools-master\repository\org.obeonetwork.angularjs.eclipse.tools.repository\target\repository directory

      • m using maven3 only….

        And the output after executing first command is ,

        D:\AngularJS\AngularJS-Eclipse-Tools-master\releng\org.obeonetwork.angularjs.ecl
        ipse.tools.releng>mvn clean verify
        [INFO] Scanning for projects…
        [WARNING] No explicit target runtime environment configuration. Build is platfor
        m dependent.
        —————————————————
        constituent[0]: file:/C:/apache-maven-3.1.1/bin/../lib/aether-api-0.9.0.M2.jar
        constituent[1]: file:/C:/apache-maven-3.1.1/bin/../lib/aether-connector-wagon-0.
        9.0.M2.jar
        constituent[2]: file:/C:/apache-maven-3.1.1/bin/../lib/aether-impl-0.9.0.M2.jar
        constituent[3]: file:/C:/apache-maven-3.1.1/bin/../lib/aether-spi-0.9.0.M2.jar
        constituent[4]: file:/C:/apache-maven-3.1.1/bin/../lib/aether-util-0.9.0.M2.jar
        constituent[5]: file:/C:/apache-maven-3.1.1/bin/../lib/aopalliance-1.0.jar
        constituent[6]: file:/C:/apache-maven-3.1.1/bin/../lib/cdi-api-1.0.jar
        constituent[7]: file:/C:/apache-maven-3.1.1/bin/../lib/commons-cli-1.2.jar
        constituent[8]: file:/C:/apache-maven-3.1.1/bin/../lib/guava-11.0.2.jar
        constituent[9]: file:/C:/apache-maven-3.1.1/bin/../lib/javax.inject-1.jar
        constituent[10]: file:/C:/apache-maven-3.1.1/bin/../lib/jsr250-api-1.0.jar
        constituent[11]: file:/C:/apache-maven-3.1.1/bin/../lib/jsr305-1.3.9.jar
        constituent[12]: file:/C:/apache-maven-3.1.1/bin/../lib/maven-aether-provider-3.
        1.1.jar
        constituent[13]: file:/C:/apache-maven-3.1.1/bin/../lib/maven-artifact-3.1.1.jar

        constituent[14]: file:/C:/apache-maven-3.1.1/bin/../lib/maven-compat-3.1.1.jar
        constituent[15]: file:/C:/apache-maven-3.1.1/bin/../lib/maven-core-3.1.1.jar
        constituent[16]: file:/C:/apache-maven-3.1.1/bin/../lib/maven-embedder-3.1.1.jar

        constituent[17]: file:/C:/apache-maven-3.1.1/bin/../lib/maven-model-3.1.1.jar
        constituent[18]: file:/C:/apache-maven-3.1.1/bin/../lib/maven-model-builder-3.1.
        1.jar
        constituent[19]: file:/C:/apache-maven-3.1.1/bin/../lib/maven-plugin-api-3.1.1.j
        ar
        constituent[20]: file:/C:/apache-maven-3.1.1/bin/../lib/maven-repository-metadat
        a-3.1.1.jar
        constituent[21]: file:/C:/apache-maven-3.1.1/bin/../lib/maven-settings-3.1.1.jar

        constituent[22]: file:/C:/apache-maven-3.1.1/bin/../lib/maven-settings-builder-3
        .1.1.jar
        constituent[23]: file:/C:/apache-maven-3.1.1/bin/../lib/org.eclipse.sisu.inject-
        0.0.0.M5.jar
        constituent[24]: file:/C:/apache-maven-3.1.1/bin/../lib/org.eclipse.sisu.plexus-
        0.0.0.M5.jar
        constituent[25]: file:/C:/apache-maven-3.1.1/bin/../lib/plexus-cipher-1.7.jar
        constituent[26]: file:/C:/apache-maven-3.1.1/bin/../lib/plexus-component-annotat
        ions-1.5.5.jar
        constituent[27]: file:/C:/apache-maven-3.1.1/bin/../lib/plexus-interpolation-1.1
        9.jar
        constituent[28]: file:/C:/apache-maven-3.1.1/bin/../lib/plexus-sec-dispatcher-1.
        3.jar
        constituent[29]: file:/C:/apache-maven-3.1.1/bin/../lib/plexus-utils-3.0.15.jar
        constituent[30]: file:/C:/apache-maven-3.1.1/bin/../lib/sisu-guice-3.1.3-no_aop.
        jar
        constituent[31]: file:/C:/apache-maven-3.1.1/bin/../lib/slf4j-api-1.7.5.jar
        constituent[32]: file:/C:/apache-maven-3.1.1/bin/../lib/slf4j-simple-1.7.5.jar
        constituent[33]: file:/C:/apache-maven-3.1.1/bin/../lib/wagon-file-2.4.jar
        constituent[34]: file:/C:/apache-maven-3.1.1/bin/../lib/wagon-http-2.4-shaded.ja
        r
        constituent[35]: file:/C:/apache-maven-3.1.1/bin/../lib/wagon-provider-api-2.4.j
        ar
        constituent[36]: file:/C:/apache-maven-3.1.1/bin/../conf/logging/
        —————————————————
        Exception in thread “main” java.lang.NoSuchMethodError: org.apache.maven.executi
        on.MavenSession.getRepositorySession()Lorg/sonatype/aether/RepositorySystemSessi
        on;
        at org.eclipse.tycho.core.maven.utils.PluginRealmHelper.execute(PluginRe
        almHelper.java:92)
        at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.getDependencyM
        etadata(P2TargetPlatformResolver.java:144)
        at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.setupProjects(
        P2TargetPlatformResolver.java:126)
        at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.setupP
        roject(DefaultTychoDependencyResolver.java:87)
        at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProj
        ectsRead(TychoMavenLifecycleParticipant.java:77)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:271)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
        java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
        sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
        cher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
        a:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
        uncher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
        356)
        D:\AngularJS\AngularJS-Eclipse-Tools-master\releng\org.obeonetwork.angularjs.ecl
        ipse.tools.releng>

      • Hi,

        I could see from the pom.xml file that “platform-version-name” is set to “juno”. Since you are using ‘kepler’ try changing this value to ‘kepler’. It works pretty good in Juno. You might also need to change the “eclipse-site” tag accordingly.

  5. Hi,
    I am getting the following error.

    D:\AngularJS-Eclipse-Tools-master\releng\org.obeonetwork.angularjs.eclipse.tools.releng>mvn clean verify
    [INFO] Scanning for projects…
    Downloading: http://repo.maven.apache.org/maven2/org/eclipse/tycho/tycho-maven-plugin/0.17.0/tycho-maven-plugin-0.17.0.pom
    [ERROR] The build could not read 1 project -> [Help 1]
    [ERROR]
    [ERROR] The project org.obeonetwork.angularjs.eclipse.tools:org.obeonetwork.angularjs.eclipse.tools.releng:1.0.0.qualifier (D:\Angula
    rJS-Eclipse-Tools-master\releng\org.obeonetwork.angularjs.eclipse.tools.releng\pom.xml) has 1 error
    [ERROR] Unresolveable build extension: Plugin org.eclipse.tycho:tycho-maven-plugin:0.17.0 or one of its dependencies could not be r
    esolved: Failed to read artifact descriptor for org.eclipse.tycho:tycho-maven-plugin:jar:0.17.0: Could not transfer artifact org.eclips
    e.tycho:tycho-maven-plugin:pom:0.17.0 from/to central (http://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:80 [repo.
    maven.apache.org/199.27.76.129, repo.maven.apache.org/199.27.78.129] failed: Connection timed out: connect -> [Help 2]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
    [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
    D:\AngularJS-Eclipse-Tools-master\releng\org.obeonetwork.angularjs.eclipse.tools.releng>

    My Maven version is:

    Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T23:07:52+05:30)
    Maven home: C:\Program Files\Apache Software Foundation\apache-maven-3.2.1
    Java version: 1.7.0_40, vendor: Oracle Corporation
    Java home: C:\Program Files\Java\jdk1.7.0_40\jre
    Default locale: en_US, platform encoding: Cp1252
    OS name: “windows 7”, version: “6.1”, arch: “amd64”, family: “windows”

    Please suggest.

  6. Hi,
    I am using eclipse kepler and i have done the installation it installed properly and everything looks good. but the problem is the angular features is not working at all in the code. Please suggest

  7. I see it is specially meant for eclipse juno. I see the plugins downloaded for juno when running mvn clean verify.

    [INFO] Fetching org.eclipse.e4.ui.css.core_0.10.2.v20120912-132817.jar.pack.gz from http://www.gtlib.gatech.edu/pub/eclipse/releases/juno/201303010900/plugins/ (29.31kB of 54.56kB at 14.66kB/s)
    [INFO] Downloading org.eclipse.e4.ui.css.swt
    [INFO] Fetching org.eclipse.e4.ui.css.swt_0.10.3.v20130123-162658.jar.pack.gz from http://www.gtlib.gatech.edu/pub/eclipse/releases/juno/201303010900/plugins/ (0B of 48.29kB at 0B/s)
    [INFO] 1 operation remaining.
    [INFO] Fetching org.eclipse.e4.ui.css.swt_0.10.3.v20130123-162658.jar.pack.gz from http://www.gtlib.gatech.edu/pub/eclipse/releases/juno/201303010900/plugins/ (3.66kB of 48.29kB at 0B/s)
    [INFO] Fetching org.eclipse.e4.ui.css.swt_0.10.3.v20130123-162658.jar.pack.gz from http://www.gtlib.gatech.edu/pub/eclipse/releases/juno/201303010900/plugins/ (32.98kB of 48.29kB at 18.32kB/s)
    [INFO] Downloading org.eclipse.e4.ui.css.swt.theme
    [INFO] Fetching org.eclipse.e4.ui.css.swt.theme_0.9.4.v20130123-162658.jar.pack.gz from http://www.gtlib.gatech.edu/pub/eclipse/releases/juno/201303010900/plugins/ (0B of 14.25kB at 0B/s)
    [INFO] 1 operation remaining.
    [INFO] Fetching org.eclipse.e4.ui.css.swt.theme_0.9.4.v20130123-162658.jar.pack.gz from http://www.gtlib.gatech.edu/pub/eclipse/releases/juno/201303010900/plugins/ (3.66kB of 14.25kB at 0B/s)

  8. I am using maven 3.2,1 version my IDE is juno but still i am getting error though i modify tycho-version 0.19.0
    can please address this i am getting this error

    [INFO] Scanning for projects…
    [WARNING] No explicit target runtime environment configuration. Build is platform dependent.
    —————————————————
    constituent[0]: file:/D:/maven/bin/../lib/aether-api-0.9.0.M2.jar
    constituent[1]: file:/D:/maven/bin/../lib/aether-connector-wagon-0.9.0.M2.jar
    constituent[2]: file:/D:/maven/bin/../lib/aether-impl-0.9.0.M2.jar
    constituent[3]: file:/D:/maven/bin/../lib/aether-spi-0.9.0.M2.jar
    constituent[4]: file:/D:/maven/bin/../lib/aether-util-0.9.0.M2.jar
    constituent[5]: file:/D:/maven/bin/../lib/aopalliance-1.0.jar
    constituent[6]: file:/D:/maven/bin/../lib/cdi-api-1.0.jar
    constituent[7]: file:/D:/maven/bin/../lib/commons-cli-1.2.jar
    constituent[8]: file:/D:/maven/bin/../lib/commons-io-2.2.jar
    constituent[9]: file:/D:/maven/bin/../lib/commons-lang-2.6.jar
    constituent[10]: file:/D:/maven/bin/../lib/guava-14.0.1.jar
    constituent[11]: file:/D:/maven/bin/../lib/javax.inject-1.jar
    constituent[12]: file:/D:/maven/bin/../lib/jsoup-1.7.2.jar
    constituent[13]: file:/D:/maven/bin/../lib/jsr250-api-1.0.jar
    constituent[14]: file:/D:/maven/bin/../lib/maven-aether-provider-3.2.1.jar
    constituent[15]: file:/D:/maven/bin/../lib/maven-artifact-3.2.1.jar
    constituent[16]: file:/D:/maven/bin/../lib/maven-compat-3.2.1.jar
    constituent[17]: file:/D:/maven/bin/../lib/maven-core-3.2.1.jar
    constituent[18]: file:/D:/maven/bin/../lib/maven-embedder-3.2.1.jar
    constituent[19]: file:/D:/maven/bin/../lib/maven-model-3.2.1.jar
    constituent[20]: file:/D:/maven/bin/../lib/maven-model-builder-3.2.1.jar
    constituent[21]: file:/D:/maven/bin/../lib/maven-plugin-api-3.2.1.jar
    constituent[22]: file:/D:/maven/bin/../lib/maven-repository-metadata-3.2.1.jar
    constituent[23]: file:/D:/maven/bin/../lib/maven-settings-3.2.1.jar
    constituent[24]: file:/D:/maven/bin/../lib/maven-settings-builder-3.2.1.jar
    constituent[25]: file:/D:/maven/bin/../lib/org.eclipse.sisu.inject-0.0.0.M5.jar
    constituent[26]: file:/D:/maven/bin/../lib/org.eclipse.sisu.plexus-0.0.0.M5.jar
    constituent[27]: file:/D:/maven/bin/../lib/plexus-cipher-1.7.jar
    constituent[28]: file:/D:/maven/bin/../lib/plexus-component-annotations-1.5.5.jar
    constituent[29]: file:/D:/maven/bin/../lib/plexus-interpolation-1.19.jar
    constituent[30]: file:/D:/maven/bin/../lib/plexus-sec-dispatcher-1.3.jar
    constituent[31]: file:/D:/maven/bin/../lib/plexus-utils-3.0.17.jar
    constituent[32]: file:/D:/maven/bin/../lib/sisu-guice-3.1.3-no_aop.jar
    constituent[33]: file:/D:/maven/bin/../lib/slf4j-api-1.7.5.jar
    constituent[34]: file:/D:/maven/bin/../lib/slf4j-simple-1.7.5.jar
    constituent[35]: file:/D:/maven/bin/../lib/wagon-file-2.6.jar
    constituent[36]: file:/D:/maven/bin/../lib/wagon-http-2.6-shaded.jar
    constituent[37]: file:/D:/maven/bin/../lib/wagon-http-shared-2.6.jar
    constituent[38]: file:/D:/maven/bin/../lib/wagon-provider-api-2.6.jar
    constituent[39]: file:/D:/maven/bin/../conf/logging/
    —————————————————
    Exception in thread “main” java.lang.NoSuchMethodError: org.apache.maven.execution.MavenSession.getRepositorySession()Lorg/sonatype/aether/RepositorySystemSession;
    at org.eclipse.tycho.core.maven.utils.PluginRealmHelper.execute(PluginRealmHelper.java:92)
    at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.getDependencyMetadata(P2TargetPlatformResolver.java:144)
    at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.setupProjects(P2TargetPlatformResolver.java:126)
    at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.setupProject(DefaultTychoDependencyResolver.java:87)
    at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:77)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)

  9. Hey It worked change the tycho version i am using 3.2.1 modified it to 0.18.1 it worked thanks for the instructions.

  10. Hi,

    I am able to run maven 3.2 successfully, got downloaded files.

    When I open eclipse and try to use the repository, I am getting the following error. Please help me.

    Cannot complete the install because one or more required items could not be found.
    Software being installed: AngularJS Eclipse Tools 1.0.0.201407211329 (org.obeonetwork.angularjs.eclipse.tools.feature.feature.group 1.0.0.201407211329)
    Missing requirement: AngularJS Eclipse Tools IDE Core 1.0.0.201407211329 (org.obeonetwork.angularjs.eclipse.tools.ide.core 1.0.0.201407211329) requires ‘bundle com.google.guava 0.0.0’ but it could not be found
    Cannot satisfy dependency:
    From: AngularJS Eclipse Tools 1.0.0.201407211329 (org.obeonetwork.angularjs.eclipse.tools.feature.feature.group 1.0.0.201407211329)
    To: org.obeonetwork.angularjs.eclipse.tools.ide.core [1.0.0.201407211329]

    Thanks,
    Samanth

  11. My step 1 is done and all the relevant files are downloaded inside “unzipped-dir/repository/org.obeonetwork.angularjs.eclipse.tools.repository/target/repository/“.
    However, when I open ‘Install new software’ dialogue inside Eclipse Juno and paste the ‘…./target/repository’ folder link in ‘Work with’ bar and press Enter, eclipse does not detect any plugins. It just keeps on showing ‘There is no site selected’. Why is this happening?

  12. Hi,

    I’m getting the below error when I give “mvn clean verify”, please help!
    I’m using MAC OS and Eclipse KEPLER

    [WARNING] No explicit target runtime environment configuration. Build is platform dependent.
    —————————————————
    constituent[0]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/aether-api-0.9.0.M2.jar
    constituent[1]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/aether-connector-wagon-0.9.0.M2.jar
    constituent[2]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/aether-impl-0.9.0.M2.jar
    constituent[3]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/aether-spi-0.9.0.M2.jar
    constituent[4]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/aether-util-0.9.0.M2.jar
    constituent[5]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/aopalliance-1.0.jar
    constituent[6]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/cdi-api-1.0.jar
    constituent[7]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/commons-cli-1.2.jar
    constituent[8]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/commons-io-2.2.jar
    constituent[9]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/commons-lang-2.6.jar
    constituent[10]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/guava-14.0.1.jar
    constituent[11]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/javax.inject-1.jar
    constituent[12]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/jsoup-1.7.2.jar
    constituent[13]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/jsr250-api-1.0.jar
    constituent[14]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/maven-aether-provider-3.2.2.jar
    constituent[15]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/maven-artifact-3.2.2.jar
    constituent[16]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/maven-compat-3.2.2.jar
    constituent[17]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/maven-core-3.2.2.jar
    constituent[18]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/maven-embedder-3.2.2.jar
    constituent[19]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/maven-model-3.2.2.jar
    constituent[20]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/maven-model-builder-3.2.2.jar
    constituent[21]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/maven-plugin-api-3.2.2.jar
    constituent[22]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/maven-repository-metadata-3.2.2.jar
    constituent[23]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/maven-settings-3.2.2.jar
    constituent[24]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/maven-settings-builder-3.2.2.jar
    constituent[25]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/org.eclipse.sisu.inject-0.0.0.M5.jar
    constituent[26]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/org.eclipse.sisu.plexus-0.0.0.M5.jar
    constituent[27]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/plexus-cipher-1.7.jar
    constituent[28]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/plexus-component-annotations-1.5.5.jar
    constituent[29]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/plexus-interpolation-1.19.jar
    constituent[30]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/plexus-sec-dispatcher-1.3.jar
    constituent[31]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/plexus-utils-3.0.17.jar
    constituent[32]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/sisu-guice-3.1.3-no_aop.jar
    constituent[33]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/slf4j-api-1.7.5.jar
    constituent[34]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/slf4j-simple-1.7.5.jar
    constituent[35]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/wagon-file-2.6.jar
    constituent[36]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/wagon-http-2.6-shaded.jar
    constituent[37]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/wagon-http-shared-2.6.jar
    constituent[38]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/lib/wagon-provider-api-2.6.jar
    constituent[39]: file:/Users/prasadpai/_dev/apache-maven-3.2.2/conf/logging/
    —————————————————
    Exception in thread “main” java.lang.NoSuchMethodError: org.apache.maven.execution.MavenSession.getRepositorySession()Lorg/sonatype/aether/RepositorySystemSession;
    at org.eclipse.tycho.core.maven.utils.PluginRealmHelper.execute(PluginRealmHelper.java:92)
    at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.getDependencyMetadata(P2TargetPlatformResolver.java:144)
    at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.setupProjects(P2TargetPlatformResolver.java:126)
    at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.setupProject(DefaultTychoDependencyResolver.java:87)
    at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:77)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:310)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

  13. Also can you tell me how to modify Tycho version?

    This is my pom.xml

    <!–
    Copyright (C) 2011 Obeo, Cedric Brun

    All rights reserved. This program and the accompanying materials
    are made available under the terms of the Eclipse Public License v1.0
    which accompanies this distribution, and is available at
    http://www.eclipse.org/legal/epl-v10.html
    –>

    4.0.0

    org.obeonetwork.angularjs.eclipse.tools
    org.obeonetwork.angularjs.eclipse.tools.releng
    1.0.0.qualifier
    ../../releng/org.obeonetwork.angularjs.eclipse.tools.releng

    org.obeonetwork.angularjs.eclipse.tools.repository
    eclipse-repository

    AngularJS Eclipse Tools Repository

    maven-resources-plugin

    copy-resources
    validate

    copy-resources

    ${basedir}/target/repository

    .

    index.html
    web/*
    compositeArtifacts.xml
    compositeContent.xml

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s