Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7822717
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T08:00:37+00:00 2026-06-02T08:00:37+00:00

I have some information about xtend2 as following, but I don’t know how to

  • 0

I have some information about xtend2 as following, but I don’t know how to add them into a play2 project.

<repositories>
  <repository>
    <id>maven.eclipse.org</id>
    <url>http://maven.eclipse.org/nexus/content/groups/public/</url>
  </repository>
  <repository>
    <id>xtend</id>
    <url>http://build.eclipse.org/common/xtend/maven/</url>
  </repository>
</repositories>

<dependencies>
  <dependency>
    <groupId>org.eclipse.xtend2</groupId>
    <artifactId>org.eclipse.xtend2.lib</artifactId>
    <version>2.2.0</version>
  </dependency>
  <dependency>
    <groupId>org.eclipse.xtext</groupId>
    <artifactId>org.eclipse.xtext.xtend2.lib</artifactId>
    <version>2.2.0.v201112061305</version>
  </dependency>
  <dependency>
    <groupId>com.google.inject</groupId>
    <artifactId>com.google.inject</artifactId>
    <version>2.0.0.v201105231817</version>
  </dependency>
</dependencies>

I tried:

import sbt._
import Keys._
import PlayProject._

object ApplicationBuild extends Build {

  val appName = "test"
  val appVersion = "1.0-SNAPSHOT"

  val eclipse = "eclipse" at "http://maven.eclipse.org/nexus/content/groups/public/"
  val xtend = "xtend" at "http://build.eclipse.org/common/xtend/maven/"

  val appDependencies = Seq(
    // Add your project dependencies here,
    "commons-io" % "commons-io" % "2.1",
    "org.scalatest" %% "scalatest" % "1.7.RC2" % "test",
    "postgresql" % "postgresql" % "9.1-901-1.jdbc4",
    "org.jsoup" % "jsoup" % "1.6.1",
    "org.pegdown" % "pegdown" % "1.1.0",
    "org.eclipse.xtend2" % "org.eclipse.xtend2.lib" % "2.2.0")

  val main = PlayProject(appName, appVersion, appDependencies, mainLang = JAVA).settings( // Add your own project settings here      
    // in order to use scalatest
    testOptions in Test := Nil)

}

But which doesn’t work:

[warn]  module not found: org.eclipse.xtend2#org.eclipse.xtend2.lib;2.2.0
[warn] ==== local: tried
[warn]   E:\java\Play20\framework\.\..\repository/local/org.eclipse.xtend2/org.e
clipse.xtend2.lib/2.2.0/ivys/ivy.xml
[warn] ==== Typesafe Releases Repository: tried
[warn]   http://repo.typesafe.com/typesafe/releases/org/eclipse/xtend2/org.eclip
se.xtend2.lib/2.2.0/org.eclipse.xtend2.lib-2.2.0.pom
[warn] ==== Typesafe Snapshots Repository: tried
[warn]   http://repo.typesafe.com/typesafe/snapshots/org/eclipse/xtend2/org.ecli
pse.xtend2.lib/2.2.0/org.eclipse.xtend2.lib-2.2.0.pom
[warn] ==== public: tried
[warn]   http://repo1.maven.org/maven2/org/eclipse/xtend2/org.eclipse.xtend2.lib
/2.2.0/org.eclipse.xtend2.lib-2.2.0.pom
[warn] ==== Scala-Tools Maven2 Repository: tried
[warn]   http://scala-tools.org/repo-releases/org/eclipse/xtend2/org.eclipse.xte
nd2.lib/2.2.0/org.eclipse.xtend2.lib-2.2.0.pom
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: org.eclipse.xtend2#org.eclipse.xtend2.lib;2.2.0: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[error] {file:/E:/WORKSPACE_PLAY/test/}test/*:update: sbt.Res
olveException: unresolved dependency: org.eclipse.xtend2#org.eclipse.xtend2.lib;
2.2.0: not found
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T08:00:41+00:00Added an answer on June 2, 2026 at 8:00 am
    import sbt._
    import Keys._
    import PlayProject._
    
    object ApplicationBuild extends Build {
    
      val appName = "test"
      val appVersion = "1.0-SNAPSHOT"
    
      val appDependencies = Seq(
        // Add your project dependencies here,
        "commons-io" % "commons-io" % "2.1",
        "org.scalatest" %% "scalatest" % "1.7.RC2" % "test",
        "postgresql" % "postgresql" % "9.1-901-1.jdbc4",
        "org.jsoup" % "jsoup" % "1.6.1",
        "org.pegdown" % "pegdown" % "1.1.0",
        "org.eclipse.xtend2" % "org.eclipse.xtend2.lib" % "2.2.1")
    
      val main = PlayProject(appName, appVersion, appDependencies, mainLang = JAVA).settings( // Add your own project settings here
        resolvers += "xtend" at "http://build.eclipse.org/common/xtend/maven/",
        // in order to use scalatest
        testOptions in Test := Nil)
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some information about Comet, but I want to know how it keeps
I have the following JSON object: var definitionsObject = {company : Some information about
I need to have some information about the scoping in JavaScript. I know that
I have an object that holds alerts and some information about them: var alerts
I have to develop an application that display some information about the possessor of
I have this small class called City that simply holds some information about a
I have a base class called Panel, where some information about a window is
I have a simple class that contains some general information about the current web
I have seen that typing about:somekeywords in browsers address bar gives some information. What
I have an app that needs to extract some information about various entities (vendor,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.