How to used xtend-maven-plugin to build a source and javadoc jar ?

20 views
Skip to first unread message

Micael Pedrosa

unread,
Sep 29, 2016, 10:37:38 AM9/29/16
to Xtend Programming Language
Has requested in title:
How to used xtend-maven-plugin to build a source and javadoc jar ?
I only know how to build the binary:
<plugin>
<groupId>org.eclipse.xtend</groupId>
<artifactId>xtend-maven-plugin</artifactId>
<version>${xtendVersion}</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>testCompile</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/src/main/xtend-gen</outputDirectory>
<testOutputDirectory>${basedir}/src/test/xtend-gen</testOutputDirectory>
</configuration>
</execution>
</executions>
</plugin>

Also, I didn't find any way to maven clean. Some times old artifacts remain in the generated code that interfere with java compilation.
Reply all
Reply to author
Forward
0 new messages