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 @@ ...@@ -26,40 +26,76 @@
<build> <build>
<plugins> <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 --> <!-- Generate and compile the membranes -->
<!-- ================================== --> <!-- ================================== -->
<plugin> <plugin>
<groupId>org.ow2.fractal.juliac</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>juliac-maven-plugin</artifactId> <artifactId>exec-maven-plugin</artifactId>
<version>${juliac.version}</version>
<executions> <executions>
<execution> <execution>
<id>juliac-compile</id> <id>juliac-compile</id>
<phase>generate-sources</phase> <phase>generate-sources</phase>
<goals><goal>compile</goal></goals> <goals><goal>java</goal></goals>
</execution> </execution>
</executions> </executions>
<configuration> <configuration>
<mixins> <mainClass>org.objectweb.fractal.juliac.JuliacCmdLine</mainClass>
<mixin>org.ow2.frascati.tinfi:frascati-tinfi-mixins:${project.version}:sources</mixin> <arguments>
<mixin>org.objectweb.fractal.julia:julia-mixins:${julia.version}:sources</mixin> <argument>--compilegenerated</argument>
</mixins> <argument>--basedir</argument>
<membranes> <argument>${project.basedir}</argument>
<membrane>org.ow2.frascati.tinfi.opt.oo.SCAPrimitive</membrane> <argument>--mixins</argument>
<membrane>org.ow2.frascati.tinfi.opt.oo.SCAComposite</membrane> <argument>target/dependency/julia-mixins-${julia.version}-sources.jar:target/dependency/frascati-tinfi-mixins-${project.version}-sources.jar</argument>
<membrane>org.ow2.frascati.tinfi.opt.oo.SCAContainer</membrane> <argument>--modules</argument>
<membrane>org.ow2.frascati.tinfi.opt.oo.SCACompositeWithContent</membrane> <argument>SPOON:JCAPI:org.ow2.frascati.tinfi.opt.oo.FCOOCtrlSourceCodeGenerator</argument>
</membranes> <argument>org.ow2.frascati.tinfi.opt.oo.SCAPrimitive</argument>
<modules> <argument>org.ow2.frascati.tinfi.opt.oo.SCAComposite</argument>
<module>JCAPI</module> <argument>org.ow2.frascati.tinfi.opt.oo.SCAContainer</argument>
<module>SPOON</module> <argument>org.ow2.frascati.tinfi.opt.oo.SCACompositeWithContent</argument>
<module>org.ow2.frascati.tinfi.opt.oo.FCOOCtrlSourceCodeGenerator</module> </arguments>
</modules> <includeProjectDependencies>true</includeProjectDependencies>
<compileInput>false</compileInput> <includePluginDependencies>true</includePluginDependencies>
<!-- debug>true</debug -->
</configuration> </configuration>
<dependencies> <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> <dependency>
<groupId>org.ow2.frascati.tinfi</groupId> <groupId>org.ow2.frascati.tinfi</groupId>
<artifactId>frascati-tinfi-oo</artifactId> <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