pom.xml 4.73 KB
Newer Older
1
<?xml version="1.0"?>
2
3
4
<!--
 * OW2 FraSCAti UML Sequence Diagram Intent
 *
5
 * Copyright (c) 2010-2011 INRIA, University of Lille 1
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
 *
 * 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
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  *
  * Contact: frascati@ow2.org
  *
  * Author: Philippe Merle
  *
  * Contributor(s): Nicolas Petitprez
  *
-->
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
	<modelVersion>4.0.0</modelVersion>
30

31
32
33
	<parent>
		<groupId>org.ow2.frascati.intent</groupId>
		<artifactId>parent</artifactId>
34
		<version>1.5-SNAPSHOT</version>
35
	</parent>
36

37
38
39
	<groupId>org.ow2.frascati.intent</groupId>
	<artifactId>frascati-intent-uml-sequence-diagram</artifactId>
	<packaging>jar</packaging>
40

41
	<name>OW2 FraSCAti UML Sequence Diagram Intent</name>
42

43
44
45
	<!-- ============ -->
	<!-- Dependencies -->
	<!-- ============ -->
46

47
	<dependencies>
48

49
50
51
52
53
54
		<dependency>
			<groupId>org.ow2.frascati</groupId>
			<artifactId>frascati-assembly-factory</artifactId>
			<version>${project.version}</version>
			<scope>provided</scope>
		</dependency>
55

56
57
58
59
60
61
		<dependency>
			<groupId>org.ow2.frascati</groupId>
			<artifactId>frascati-explorer-api</artifactId>
			<version>${project.version}</version>
			<scope>provided</scope>
		</dependency>
62

63
64
65
66
67
		<dependency>
			<groupId>net.sf.sdedit</groupId>
			<artifactId>sdedit</artifactId>
			<version>3.0.5</version>
		</dependency>
68

69
	</dependencies>
70

71
	<!-- ============ -->
72
	<!-- Build        -->
73
	<!-- ============ -->
74

75
76
	<build>
		<plugins>
77

78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
          <!-- Compile the UML Seauence Diagram SCA Intent. -->
          <plugin>
            <groupId>org.ow2.frascati.mojo</groupId>
            <artifactId>frascati-compiler-plugin</artifactId>
            <version>${project.version}</version>
            <executions>
              <execution>
                <id>compile-composite</id>
                <phase>generate-sources</phase>
                <goals>
                  <goal>compile</goal>
                </goals>
              </execution>
            </executions>
            <configuration>
              <composite>uml-sequence-diagram.composite</composite>
            </configuration>
          </plugin>

97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
			<!-- Create ZIP for this intent. -->
<!-- TODO
			<plugin>
				<groupId>org.ow2.frascati.mojo</groupId>
    			<artifactId>frascati-contribution-plugin</artifactId>
				<version>${project.version}</version>
				<executions>
					<execution>
						<id>frascati-contribution</id>
						<phase>package</phase>
						<goals>
							<goal>install</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<deployables>
						<deployable>uml-sequence-diagram.composite</deployable>
					</deployables>
				</configuration>
			</plugin>
-->
119
120
121
122
		</plugins>
	</build>

	<!-- ============ -->
123
	<!-- Profiles     -->
124
	<!-- ============ -->
125

126
127
128
129
130
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
	<profiles>
		<!-- To execute an SCA composite with FraSCAti Explorer type 'mvn -Pexplorer'. -->
		<profile>
			<id>explorer</id>
			<dependencies>
				<!-- here FraSCAti Explorer is put in the classpath. -->
				<dependency>
					<groupId>org.ow2.frascati</groupId>
					<artifactId>frascati-explorer-core</artifactId>
					<version>${project.version}</version>
				</dependency>
			</dependencies>
			<build>
				<defaultGoal>exec:java</defaultGoal>
				<plugins>
					<plugin>
						<groupId>org.codehaus.mojo</groupId>
						<artifactId>exec-maven-plugin</artifactId>
						<!-- Use version 1.1.1 instead of 1.2 to be sure that provided artifacts 
							are added to the classpath. -->
						<version>1.1.1</version>
						<configuration>
							<mainClass>org.ow2.frascati.explorer.FrascatiExplorerLauncher</mainClass>
							<arguments>
								<argument>uml-sequence-diagram</argument>
							</arguments>
						</configuration>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>

	<!-- ============ -->
	<!-- Repositories -->
	<!-- ============ -->
162

163
164
165
166
	<repositories>
		<repository>
			<id>local-repository</id>
			<name>local-repository</name>
167
			<url>file:${basedir}/repository</url>
168
169
		</repository>
	</repositories>
170
171

</project>