-
Notifications
You must be signed in to change notification settings - Fork 1
/
pom.xml
205 lines (191 loc) · 6.82 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
57
58
59
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<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/xsd/maven-4.0.0.xsd">
<!-- The version of the pom.xml format that this is written in -->
<modelVersion>4.0.0</modelVersion>
<!--
Properties are variables that can be referenced throughout the pom.xml file.
When the pom.xml file has repeated elements, it's best to use them as properties.
-->
<properties>
<cytoscape.api.version>3.2.0</cytoscape.api.version>
<maven-compiler-plugin.version>2.0.2</maven-compiler-plugin.version>
<maven-bundle-plugin.version>2.3.4</maven-bundle-plugin.version>
<osgi.api.version>4.2.0</osgi.api.version>
</properties>
<!--
These are the key elements of a pom.xml file. All
pom.xml files must have a "groupId", "artifactId", and "version".
These three things uniquely identify a project in Maven.
A "groupId" is the hierarchical name of the organization
that is making this project.
An "artifactId" is the name of the project.
-->
<groupId>org.copasi</groupId>
<artifactId>CopasiPlugin</artifactId>
<description>A Cytoscape app for COPASI.</description>
<version>1.0</version>
<url>https://github.com/copasi/cytoscape-copasi</url>
<!--
"packaging" tells Maven what sort of thing you want to build.
If we were building a plain, old JAR, we'd put in "jar" here.
However, we're building an OSGi bundle JAR, so we've put
"bundle" here.
-->
<packaging>bundle</packaging>
<!--
This section tells Maven how the build is configured. Maven
has numerous plugins that control very specific phases of the
build.
-->
<build>
<plugins>
<!--
The maven-compiler-plugin configures the Java
compiler Maven uses to build the project.
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<!--
These options indicate the source code is Java
1.7-compliant and the resulting class files
should be Java 1.7-compatible.
-->
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<!--
The maven-bundle-plugin creates the metadata
that's necessary for an OSGi bundle. You can
customize the OSGi options in the "instructions"
section below.
-->
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>${maven-bundle-plugin.version}</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>org.copasi.CopasiPlugin</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<!--
This tells the bundle plugin which packages should not
be exported.
-->
<Private-Package>org.copasi.cytoscape.internal.*</Private-Package>
<Bundle-Activator>org.copasi.cytoscape.internal.CyActivator</Bundle-Activator>
<Embed-Dependency>*;scope=!provided|test;groupId=!org.cytoscape</Embed-Dependency>
<Embed-Transitive>true</Embed-Transitive>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
<!--
These are repositories Maven uses to download Cytoscape API JARs we
use in our app.
-->
<repositories>
<repository>
<id>in-project</id>
<name>In project repository</name>
<url>file://${project.basedir}/lib</url>
</repository>
<repository>
<id>cytoscape_snapshots</id>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
<name>Cytoscape Snapshots</name>
<url>http://code.cytoscape.org/nexus/content/repositories/snapshots/</url>
</repository>
<repository>
<id>cytoscape_releases</id>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
<name>Cytoscape Releases</name>
<url>http://code.cytoscape.org/nexus/content/repositories/releases/</url>
</repository>
</repositories>
<!--
Our app depends on other OSGi bundle JARs. We list all the JARs
we depend on here. Just like our own Maven project, these
dependencies are uniquely identified by groupId, artifactId,
and version. Dependencies do not necessarily have to be
OSGi bundles. They can be regular JAR files, in which case they must
be inlined or embedded into this bundle.
-->
<dependencies>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>application-api</artifactId>
<version>${cytoscape.api.version}</version>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>model-api</artifactId>
<version>${cytoscape.api.version}</version>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>service-api</artifactId>
<version>${cytoscape.api.version}</version>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>work-api</artifactId>
<version>${cytoscape.api.version}</version>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>swing-application-api</artifactId>
<version>${cytoscape.api.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>swing-util-api</artifactId>
<version>${cytoscape.api.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>io-api</artifactId>
<version>${cytoscape.api.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>core-task-api</artifactId>
<version>${cytoscape.api.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>layout-api</artifactId>
<version>${cytoscape.api.version}</version>
<scope>provided</scope>
</dependency>
<!-- OSGi core API -->
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
<version>${osgi.api.version}</version>
</dependency>
<dependency>
<groupId>org.COPASI</groupId>
<artifactId>copasi</artifactId>
<version>1</version>
</dependency>
</dependencies>
</project>