org.eclipse.xtend:xtend-maven-plugin

Xtend is a little language that compiles into idiomatic Java source code. You can use any existing Java library seamlessly from Xtend (and vice-versa). The compiled output is readable and pretty-printed, and tends to run as fast or faster than the equivalent handwritten Java code. It's the CoffeeScript for Java.


Licenses
EPL-2.0/libpng-2.0

Documentation

Eclipse Xtend

Notice

The content of this repository (xtext-xtend) has been moved to the Xtext Monorepo. Please refer to that repository to find the code, create issues or file pull requests.

About

Xtend is a flexible and expressive dialect of Java that compiles into readable Java source code. You can use any existing Java library seamlessly. The compiled output is readable and pretty-printed, and tends to run as fast as the equivalent handwritten Java code. Become productive and write beautiful code with powerful macros, lambdas, operator overloading, and many more modern language features.

How To Build

Core Module

Check out and run ./gradlew build.

Additional command line arguments:

Maven Support

First run ./gradlew publish publishToMavenLocal to compile and install the Xtend core module, then run

mvn -f maven-pom.xml clean install -PuseSonatypeSnapshots

With the above configuration, Sonatype snapshots are used for upstream Xtext dependencies. The alternative profile -PuseJenkinsSnapshots activates the Maven repositories generated on the Jenkins server for xtext-lib, xtext-core, and xtext-extras instead.

Eclipse Support

Run mvn -f tycho-pom.xml clean install.

Note: The target platform used for the Tycho build loads the required Xtext dependencies (xtext-lib, xtext-core, xtext-extras) from their respective p2 repositories on the Jenkins server.

How to Work with the Source Code

For

  • how to setup your workspace,
  • how to contribute,
  • and many other useful guides

see xtext/CONTRIBUTING.md.

Continuous Integration

This project is built by the xtext-xtend multi-branch job on Jenkins.