Commit ac1ea839 authored by Lionel Seinturier's avatar Lionel Seinturier

Launch Juliac with the command line Maven plugin to prevent a bug with the...

Launch Juliac with the command line Maven plugin to prevent a bug with the Juliac Maven plugin that cannot compare correctly version numbering of the JDT artifacts.
parent 90932030
......@@ -26,40 +26,76 @@
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-julia-tinfi-mixins</id>
<phase>generate-sources</phase>
<goals><goal>copy</goal></goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.objectweb.fractal.julia</groupId>
<artifactId>julia-mixins</artifactId>
<version>${julia.version}</version>
<classifier>sources</classifier>
</artifactItem>
<artifactItem>
<groupId>org.ow2.frascati.tinfi</groupId>
<artifactId>frascati-tinfi-mixins</artifactId>
<version>${project.version}</version>
<classifier>sources</classifier>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<!-- ================================== -->
<!-- Generate and compile the membranes -->
<!-- ================================== -->
<plugin>
<groupId>org.ow2.fractal.juliac</groupId>
<artifactId>juliac-maven-plugin</artifactId>
<version>${juliac.version}</version>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>juliac-compile</id>
<phase>generate-sources</phase>
<goals><goal>compile</goal></goals>
<goals><goal>java</goal></goals>
</execution>
</executions>
<configuration>
<mixins>
<mixin>org.ow2.frascati.tinfi:frascati-tinfi-mixins:${project.version}:sources</mixin>
<mixin>org.objectweb.fractal.julia:julia-mixins:${julia.version}:sources</mixin>
</mixins>
<membranes>
<membrane>org.ow2.frascati.tinfi.opt.oo.SCAPrimitive</membrane>
<membrane>org.ow2.frascati.tinfi.opt.oo.SCAComposite</membrane>
<membrane>org.ow2.frascati.tinfi.opt.oo.SCAContainer</membrane>
<membrane>org.ow2.frascati.tinfi.opt.oo.SCACompositeWithContent</membrane>
</membranes>
<modules>
<module>JCAPI</module>
<module>SPOON</module>
<module>org.ow2.frascati.tinfi.opt.oo.FCOOCtrlSourceCodeGenerator</module>
</modules>
<compileInput>false</compileInput>
<!-- debug>true</debug -->
<mainClass>org.objectweb.fractal.juliac.JuliacCmdLine</mainClass>
<arguments>
<argument>--compilegenerated</argument>
<argument>--basedir</argument>
<argument>${project.basedir}</argument>
<argument>--mixins</argument>
<argument>target/dependency/julia-mixins-${julia.version}-sources.jar:target/dependency/frascati-tinfi-mixins-${project.version}-sources.jar</argument>
<argument>--modules</argument>
<argument>SPOON:JCAPI:org.ow2.frascati.tinfi.opt.oo.FCOOCtrlSourceCodeGenerator</argument>
<argument>org.ow2.frascati.tinfi.opt.oo.SCAPrimitive</argument>
<argument>org.ow2.frascati.tinfi.opt.oo.SCAComposite</argument>
<argument>org.ow2.frascati.tinfi.opt.oo.SCAContainer</argument>
<argument>org.ow2.frascati.tinfi.opt.oo.SCACompositeWithContent</argument>
</arguments>
<includeProjectDependencies>true</includeProjectDependencies>
<includePluginDependencies>true</includePluginDependencies>
</configuration>
<dependencies>
<dependency>
<groupId>org.ow2.fractal.juliac</groupId>
<artifactId>juliac-spoon</artifactId>
<version>${juliac.version}</version>
</dependency>
<dependency>
<groupId>org.ow2.fractal.juliac</groupId>
<artifactId>juliac-jcapi</artifactId>
<version>${juliac.version}</version>
</dependency>
<dependency>
<groupId>org.ow2.frascati.tinfi</groupId>
<artifactId>frascati-tinfi-oo</artifactId>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment