pom.xml 3.66 KB
Newer Older
1 2 3 4
<?xml version="1.0"?>
<!--
  * OW2 FraSCAti Examples: HelloWorld Script
  *
5
  * Copyright (c) 2009-2012 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
19 20
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  * USA
21 22 23 24 25 26 27
  *
  * Contact: frascati@ow2.org
  *
  * Author: Philippe Merle
  *
  * Contributor(s): Christophe Demarey
-->
28
<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">
29 30 31 32 33
  <modelVersion>4.0.0</modelVersion>
  
  <parent>
    <groupId>org.ow2.frascati.examples</groupId>
    <artifactId>parent</artifactId>
34
    <version>1.6-SNAPSHOT</version>
35 36
  </parent>
  
37 38 39 40 41
  <artifactId>helloworld-script</artifactId>
  <packaging>jar</packaging>

  <name>OW2 FraSCAti Examples: HelloWorld Script</name>
  
42 43 44 45 46 47 48 49 50 51 52
  <properties>
    <composite.file>helloworld-script</composite.file>
    <service.name>runnable</service.name>
    <method.name>run</method.name>
  </properties>
  
  <!-- ============= -->
  <!-- Dependencies  -->
  <!-- ============= -->

  <dependencies>
53
    <!-- OW2 FraSCAti Script Implementation with BeanShell. -->
54 55
    <dependency>
      <groupId>org.ow2.frascati</groupId>
56
      <artifactId>frascati-implementation-script-beanshell</artifactId>
57
      <version>${project.version}</version>
58 59
    </dependency>

60
    <!-- OW2 FraSCAti Script Implementation with Groovy. -->
61
    <dependency>
62 63
      <groupId>org.ow2.frascati</groupId>
      <artifactId>frascati-implementation-script-groovy</artifactId>
64
      <version>${project.version}</version>
65 66
    </dependency>

67
    <!-- OW2 FraSCAti Script Implementation with JavaScript. -->
68
    <dependency>
69 70
      <groupId>org.ow2.frascati</groupId>
      <artifactId>frascati-implementation-script-javascript</artifactId>
71
      <version>${project.version}</version>
72 73
    </dependency>

74
    <!-- OW2 FraSCAti Script Implementation with JRuby. -->
75
    <dependency>
76 77
      <groupId>org.ow2.frascati</groupId>
      <artifactId>frascati-implementation-script-jruby</artifactId>
78
      <version>${project.version}</version>
79 80
    </dependency>

81
    <!-- OW2 FraSCAti Script Implementation with Jython. -->
82
    <dependency>
83 84
      <groupId>org.ow2.frascati</groupId>
      <artifactId>frascati-implementation-script-jython</artifactId>
85
      <version>${project.version}</version>
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
    </dependency>
  </dependencies>
  
  <!-- ===== -->
  <!-- Build -->
  <!-- ===== -->
    
  <build>
   <plugins>
     <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-enforcer-plugin</artifactId>
        <executions>
          <execution>
            <id>enforce-versions</id>
            <goals>
              <goal>enforce</goal>
            </goals>
            <configuration>
              <rules>
                <requireJavaVersion>
                  <version>1.6</version>
                </requireJavaVersion>
              </rules>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>  

</project>