1 <?xml version="1.0" encoding="UTF-8"?>
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
4 xmlns="http://maven.apache.org/POM/4.0.0"
5 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
6 <modelVersion>4.0.0</modelVersion>
8 <groupId>org.bonitasoft.studio.bundles</groupId>
9 <artifactId>plugins</artifactId>
10 <version>7.13.0</version>
12 <groupId>org.bonitasoft.studio.bundles.plugins</groupId>
13 <artifactId>org.bonitasoft.studio.console.libs</artifactId>
14 <packaging>eclipse-plugin</packaging>
17 <tomcat.bundle.dir>${basedir}/tomcat</tomcat.bundle.dir>
18 <lib.dir>lib</lib.dir>
23 <groupId>org.bonitasoft.engine</groupId>
24 <artifactId>bonita-client</artifactId>
25 <version>${engine.version}</version>
28 <groupId>javax.xml.bind</groupId>
29 <artifactId>jsr173_api</artifactId>
34 <groupId>org.bonitasoft.engine</groupId>
35 <artifactId>bonita-common</artifactId>
36 <version>${engine.version}</version>
39 <groupId>javax.xml.bind</groupId>
40 <artifactId>jsr173_api</artifactId>
48 <groupId>org.codehaus.mojo</groupId>
49 <artifactId>build-helper-maven-plugin</artifactId>
52 <id>parse-version</id>
54 <goal>parse-version</goal>
58 <id>regex-property</id>
60 <goal>regex-property</goal>
63 <name>osgiVersion</name>
64 <value>${parsedVersion.osgiVersion}</value>
65 <regex>.SNAPSHOT</regex>
66 <replacement>.qualifier</replacement>
67 <failIfNoMatch>false</failIfNoMatch>
73 <groupId>org.apache.maven.plugins</groupId>
74 <artifactId>maven-dependency-plugin</artifactId>
77 <id>Retrieve BOS Tomcat Bundle</id>
78 <phase>generate-resources</phase>
85 <groupId>org.bonitasoft.distrib</groupId>
86 <artifactId>bundle-tomcat</artifactId>
87 <version>${bundle.version}</version>
91 <outputDirectory>${tomcat.bundle.dir}</outputDirectory>
92 <overWriteReleases>true</overWriteReleases>
93 <overWriteSnapshots>true</overWriteSnapshots>
97 <id>Retrieve Studio specific war</id>
98 <phase>generate-resources</phase>
105 <groupId>org.bonitasoft.web.tooling</groupId>
106 <artifactId>studio-watchdog</artifactId>
107 <version>${project.version}</version>
111 <outputDirectory>${tomcat.bundle.dir}/server/webapps</outputDirectory>
112 <overWriteReleases>true</overWriteReleases>
113 <overWriteSnapshots>true</overWriteSnapshots>
117 <id>Retrieve bonita-client dependencies</id>
118 <phase>process-sources</phase>
120 <goal>copy-dependencies</goal>
123 <stripVersion>true</stripVersion>
124 <stripClassifier>true</stripClassifier>
125 <outputDirectory>${lib.dir}</outputDirectory>
126 <overWriteReleases>true</overWriteReleases>
127 <overWriteSnapshots>true</overWriteSnapshots>
128 <overWriteIfNewer>true</overWriteIfNewer>
129 <includeScope>runtime</includeScope>
135 <artifactId>maven-clean-plugin</artifactId>
139 <directory>${lib.dir}</directory>
142 <directory>${tomcat.bundle.dir}</directory>
148 <groupId>org.apache.maven.plugins</groupId>
149 <artifactId>maven-antrun-plugin</artifactId>
152 <id>Resources generation add-on</id>
153 <phase>generate-resources</phase>
157 <move todir="${tomcat.bundle.dir}">
159 dir="${tomcat.bundle.dir}/BonitaCommunity-${branding.version}/" />
161 <concat append="true"
162 destfile="${tomcat.bundle.dir}/server/conf/catalina.properties">java.awt.headless=true</concat>
164 dir="${tomcat.bundle.dir}/server/webapps/examples" />
174 <groupId>org.apache.felix</groupId>
175 <artifactId>maven-bundle-plugin</artifactId>
176 <extensions>true</extensions>
178 <manifestLocation>META-INF/</manifestLocation>
179 <supportedProjectTypes>
180 <supportedProjectType>eclipse-plugin</supportedProjectType>
181 </supportedProjectTypes>
198 !org.bonitasoft.engine.*.impl.db;version="0.0.0",
199 !org.bonitasoft.engine.*.impl.db.archive;version="0.0.0",
200 org.bonitasoft.engine.*;version="0.0.0",
201 javax.xml.bind.*;version="2.2.0"
203 <_nouses>true</_nouses>
205 <Bundle-SymbolicName>${project.artifactId};singleton:=true</Bundle-SymbolicName>
206 <Automatic-Module-Name>${project.artifactId}</Automatic-Module-Name>
207 <Bundle-Name>Bonita Community Tomcat Bundle</Bundle-Name>
208 <Bundle-Vendor>Bonitasoft S.A.</Bundle-Vendor>
209 <Bundle-Version>${osgiVersion}</Bundle-Version>
210 <Bundle-RequiredExecutionEnvironment>JavaSE-11</Bundle-RequiredExecutionEnvironment>
211 <Embed-Transitive>true</Embed-Transitive>
212 <Embed-Directory>${lib.dir}</Embed-Directory>
213 <Embed-StripVersion>true</Embed-StripVersion>
214 <Eclipse-BundleShape>dir</Eclipse-BundleShape>
216 {maven-resources}, {maven-dependencies}<!--,
219 <Bundle-ClassPath>.,{maven-dependencies}</Bundle-ClassPath>
220 <Import-Package>!*</Import-Package>
221 <Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
222 <Require-Bundle>javax.activation;bundle-version="1.1.0"</Require-Bundle>
224 <niceManifest>true</niceManifest>
228 <id>Generate bundle MANIFEST.MF</id>
229 <phase>package</phase>
231 <goal>manifest</goal>
237 <groupId>org.codehaus.gmaven</groupId>
238 <artifactId>groovy-maven-plugin</artifactId>
241 <id>configure-bundle</id>
242 <phase>prepare-package</phase>
247 <source>${project.basedir}/src/script/configure-bundle.groovy</source>