pom.xml 5.02 KB
Newer Older
1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
2 3 4
  <modelVersion>4.0.0</modelVersion>

	<parent>
5
		<groupId>org.ow2.frascati.tinfi</groupId>
6
		<artifactId>frascati-tinfi-oo-parent</artifactId>
7
		<version>1.6-SNAPSHOT</version>
8
		<relativePath>../pom.xml</relativePath>
9 10
	</parent>

seinturier's avatar
seinturier committed
11
    <artifactId>frascati-tinfi-membranes-oo</artifactId>
12
    <packaging>jar</packaging>
13
    <name>Tinfi Module Opt Level OO Pre-mixed</name>
14
 
15 16 17 18 19
	<!-- ============================= -->
	<!-- Dependency for generated code -->
	<!-- ============================= -->
	<dependencies>
		<dependency>
20
			<groupId>org.ow2.frascati.tinfi</groupId>
21 22 23 24 25
			<artifactId>frascati-tinfi-runtime</artifactId>
			<version>${project.version}</version>
		</dependency>
	</dependencies>

26 27
    <build>
        <plugins>
28

29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
            <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>

57 58 59
			<!-- ================================== -->
			<!-- Generate and compile the membranes -->
			<!-- ================================== -->
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>exec-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <id>juliac-compile</id>
                        <phase>generate-sources</phase>
                        <goals><goal>java</goal></goals>
                    </execution>
                </executions>
                <configuration>
                    <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>
                        <version>${project.version}</version>
                    </dependency>
                </dependencies>
            </plugin>
106
			
107 108 109 110
        </plugins>
    </build>

</project>