ceylon-maven-plugin
Maven Plugin for interaction with Ceylon repositories
- Minimum requirements: Java 7 and Maven 3.0.5
Plugin is in Maven Central repository. Use the plugin with the following snippet in the pom.xml of a jar project
<build>
...
<plugins>
...
<plugin>
<groupId>com.dgwave.car</groupId>
<artifactId>ceylon-maven-plugin</artifactId>
<version>0.3</version>
<extensions>true</extensions>
</plugin>
...
</plugins>
...
</build>
Maven goals are
-
ceylon:installFrom within a project, installs packaged jar artifacts into the Ceylonuserrepository. Target can be changed to 'cache' or 'local'. Reactor projects (modules) are supported. Module dependencies set according to the Maven project model. -
ceylon:install-jarProject context not required. use the-Dfileparameter to point to a jar file. Apom.xmlfile in the same directory or within the jar file will be parsed for dependencies. Installs into the Ceylon 'user' repository. Target can be changed tocacheorlocal. -
ceylon:sdk-checkChecks for the presence of the Ceylon system repo, which can be configured through: -
System property
ceylon.repo -
Property
ceylon.repoin an active profile in Mavensettings.xml -
repofolder under the path specifiied inCEYLON_HOMEenvironment variable -
ceylon:sdk-downloadDownloads the SDK to a location defined in the-Dceylon.sdk.downloadToproperty. Path defaults to the.ceylondirectory under the user's home directory. The download URL points to the Ceylon 1.0.0 release, but can be changed by theceylon.sdk.fromURLproperty. -
ceylon:helpDisplay help information on ceylon-maven-plugin. Callmvn ceylon:help -Ddetail=true -Dgoal=<goal-name>to display parameter details.
Build the Ceylon Maven plugin with
mvn clean install