Qooxdoo Maven Plugin is a maven plugin to help people developing Qooxdoo application within Maven.
Quick start
Using an archetype
The best way to getting started is to use the qooxdoo-archetype-desktop, which will create a web application with the Qooxdoo build life-cycles mapped to the maven ones.
From scratch
The simple way is to create a 'qooxdoo' maven project, by creating the pom.xml
file as follow:
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>test</groupId>
<artifactId>qxapp</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>qooxdoo</packaging>
<properties>
<qooxdoo.sdk.version>2.0.3</qooxdoo.sdk.version>
</properties>
<dependencies>
<dependency>
<groupId>org.qooxdoo</groupId>
<artifactId>qooxdoo-sdk</artifactId>
<version>${qooxdoo.sdk.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.qooxdoo</groupId>
<artifactId>qooxdoo-maven-plugin</artifactId>
<version>2.0-RC1</version>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
</project>
Don't forget the <packaging>qooxdoo</packaging>
AND <extensions>true</extensions>
, they are responsible for mapping the Qooxdoo build life-cycles to the Maven ones.
You can now run mvn compile
to build your project or mvn test
to run unit tests.