pom.xml 7.64 KB
Newer Older
1 2 3 4
<?xml version="1.0"?>
<!--
  * OW2 FraSCAti: SCA Implementation BPEL
  *
5
  * Copyright (c) 2010-2013 Inria, University of Lille 1
6 7 8 9 10 11 12 13 14 15 16 17 18
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
  * version 2 of the License, or (at your option) any later version.
  *
  * This library is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, write to the Free Software
Philippe Merle's avatar
Philippe Merle committed
19 20
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  * USA
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
  *
  * Contact: frascati@ow2.org
  *
  * Author: Philippe Merle
  *
  * Contributor(s):
  *
-->
<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">
  <modelVersion>4.0.0</modelVersion>

  <!-- ===================== -->
  <!-- General Information   -->
  <!-- ===================== -->

  <parent>
    <groupId>org.ow2.frascati</groupId>
    <artifactId>frascati-modules</artifactId>
39
    <version>1.5-SNAPSHOT</version>
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
  </parent>

  <groupId>org.ow2.frascati</groupId>
  <artifactId>frascati-implementation-bpel</artifactId>
  <name>OW2 FraSCAti: SCA Implementation BPEL Module</name>

  <url>http://frascati.ow2.org/</url>
  <inceptionYear>2007</inceptionYear>

  <developers>
    <developer>
      <id>merle</id>
      <name>Philippe Merle</name>
      <email>Philippe.Merle@inria.fr</email>
      <organization>INRIA</organization>
      <organizationUrl>http://www.inria.fr</organizationUrl>
      <roles>
        <role>Architect</role>
        <role>Developer</role>
      </roles>
    </developer>
  </developers>

  <!-- ========== -->
  <!-- Properties -->
  <!-- ========== -->

  <properties>
68
    <easybpel.version>v2013-03-06</easybpel.version>
69 70 71 72 73 74 75 76
  </properties>

  <!-- ======= -->
  <!-- Build   -->
  <!-- ======= -->

  <build>
    <plugins>
77
      <!-- Compiling components extending EasyVIPER. -->
78
      <plugin>
79
        <groupId>org.ow2.fractal.juliac</groupId>
80 81
        <artifactId>maven-juliac-plugin</artifactId>
        <version>${juliac.version}</version>
82 83
        <executions>
          <execution>
84 85
            <id>juliac-compile</id>
            <phase>generate-sources</phase>
86
            <goals>
87 88
              <goal>compile</goal>
            </goals>
89 90
          </execution>
        </executions>
91 92 93 94
        <configuration>
          <srcs>
            <src>src/main/java</src>
          </srcs>
95 96 97 98 99 100 101
          <modules>
			<module>JDT</module>
			<module>SPOON</module>
            <module>org.ow2.frascati.tinfi.opt.oo.FCOOCtrlSourceCodeGenerator</module>
            <module>com.ebmwebsourcing.easycommons.sca.helper.impl.SCAEasy</module>
            <module>org.ow2.frascati.tinfi.tinfilet.TinfiParserSupportImpl</module>
          </modules>
102 103 104 105 106 107 108 109 110 111 112 113
          <mixins>
            <mixin>
              org.ow2.frascati.tinfi:frascati-tinfi-mixins:${tinfi.version}:sources
            </mixin>
            <mixin>
              org.objectweb.fractal.julia:julia-mixins:${julia.version}:sources
            </mixin>
          </mixins>
          <adls>
            <adl>org.ow2.frascati.implementation.bpel.easybpel.EasyBpelReceiverImpl</adl>
            <adl>org.ow2.frascati.implementation.bpel.easybpel.EasyBpelSenderImpl</adl>
          </adls>
114 115 116
          <artifacts>
            <artifact>org.ow2.frascati.tinfi:frascati-tinfi-oo:${tinfi.version}</artifact>
          </artifacts>
117 118 119 120 121
          <compileGenerated>false</compileGenerated>
<!--
          <debug>true</debug>
-->
        </configuration>
122 123 124 125 126 127 128 129
      </plugin>

      <!-- Compile OW2 FraSCAti SCA composite. -->
      <plugin>
        <groupId>org.ow2.frascati.mojo</groupId>
        <artifactId>frascati-compiler-plugin</artifactId>
      </plugin>

130
      <plugin>
131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-codegen-plugin</artifactId>
        <version>${cxf.version}</version>
        <executions>
          <execution>
            <id>generate-sources</id>
            <phase>generate-sources</phase>
            <configuration>
              <sourceRoot>${basedir}/target/wsdl2java</sourceRoot>
              <wsdlOptions>
                <wsdlOption>
                  <wsdl>./src/test/resources/Echo/Echo.wsdl</wsdl>
                </wsdlOption>
                <wsdlOption>
                  <wsdl>./src/test/resources/Factorial/factorial.wsdl</wsdl>
                </wsdlOption>
              </wsdlOptions>
            </configuration>
            <goals>
              <goal>wsdl2java</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

  <!-- ============ -->
  <!-- Dependencies -->
  <!-- ============ -->

  <dependencies>

164 165 166 167 168 169 170
    <!-- OW2 FraSCAti Assembly Factory Module. -->
    <dependency>
      <groupId>org.ow2.frascati</groupId>
      <artifactId>frascati-assembly-factory</artifactId>
      <version>${project.version}</version>
    </dependency>

171 172 173
    <!-- EasyBPEL. -->
    <dependency>
      <groupId>com.ebmwebsourcing.easybpel</groupId>
174
      <artifactId>model-bpel-impl</artifactId>
175 176 177 178 179 180 181 182 183 184 185 186 187
      <version>${easybpel.version}</version>
      <exclusions>
        <exclusion>
          <!-- EasyBPEL depends on Log4J but this is not required to run EasyBPEL. -->
          <groupId>log4j</groupId>
          <artifactId>log4j</artifactId>
        </exclusion>
        <exclusion>
          <!-- EasyBPEL depends on Fractal Util 1.0 but
               FraSCAti FScript requires 1.1.2. -->
          <groupId>org.objectweb.fractal</groupId>
          <artifactId>fractal-util</artifactId>
        </exclusion>
188
        <!-- EasyBPEL v2013-03-06 depends on older Tinfi runtime -->
Philippe Merle's avatar
Philippe Merle committed
189
        <!-- but FraSCAti depends on more recent Tinfi runtime. -->
190 191 192 193
        <exclusion>
          <groupId>org.ow2.frascati.tinfi</groupId>
          <artifactId>frascati-tinfi-mixins</artifactId>
        </exclusion>
Philippe Merle's avatar
Philippe Merle committed
194
<!-- 
195 196 197 198 199 200 201 202
        <exclusion>
          <groupId>org.ow2.frascati.tinfi</groupId>
          <artifactId>frascati-tinfi-runtime</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.ow2.frascati.tinfi</groupId>
          <artifactId>frascati-tinfi-membranes-oo</artifactId>
        </exclusion>
Philippe Merle's avatar
Philippe Merle committed
203
 -->
204 205 206
      </exclusions>
    </dependency>

207 208 209 210 211 212 213
    <!-- Force to use this Tinfi artifact. -->
    <dependency>
      <groupId>org.ow2.frascati.tinfi</groupId>
      <artifactId>frascati-tinfi-mixins</artifactId>
      <version>${tinfi.version}</version>
    </dependency>

214
    <!-- EasyViper component membranes require Monolog. -->
215
    <dependency>
216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232
      <groupId>org.objectweb.monolog</groupId>
      <artifactId>monolog</artifactId>
      <version>1.8</version>
    </dependency>

    <!-- OW2 FraSCAti SCA Interface WSDL Module. -->
    <dependency>
      <groupId>org.ow2.frascati</groupId>
      <artifactId>frascati-interface-wsdl</artifactId>
      <version>${project.version}</version>
    </dependency>

    <!-- OW2 FraSCAti Util XML Module. -->
    <dependency>
      <groupId>org.ow2.frascati</groupId>
      <artifactId>frascati-util-xml</artifactId>
      <version>${project.version}</version>
233 234 235 236 237 238 239 240 241 242 243 244 245
    </dependency>

    <!-- OW2 FraSCAti Runtime Factory Module. -->
    <dependency>
      <groupId>org.ow2.frascati</groupId>
      <artifactId>frascati-runtime-factory</artifactId>
      <version>${project.version}</version>
      <scope>test</scope>
    </dependency>

  </dependencies>

</project>