pom.xml 15.5 KB
Newer Older
afreyssin's avatar
afreyssin committed
1
<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">
Nicolas Tachker's avatar
Nicolas Tachker committed
2 3
  <modelVersion>4.0.0</modelVersion>

4
  <groupId>org.ow2.joram</groupId>
Nicolas Tachker's avatar
Nicolas Tachker committed
5 6
  <artifactId>parent</artifactId>
  <packaging>pom</packaging>
Nicolas Tachker's avatar
Nicolas Tachker committed
7
  <!-- version : major.minor.build -->
Andre Freyssinet's avatar
Andre Freyssinet committed
8
  <version>5.17.0-SNAPSHOT</version>
Nicolas Tachker's avatar
Nicolas Tachker committed
9 10 11
  <name>JORAM</name>
  <url>http://maven.apache.org</url>
  <description>Builds the Joram project.</description>
Nicolas Tachker's avatar
Nicolas Tachker committed
12
 
Nicolas Tachker's avatar
Nicolas Tachker committed
13 14 15
  <parent>
    <groupId>org.ow2</groupId>
    <artifactId>ow2</artifactId>
16
    <version>1.5</version>
Nicolas Tachker's avatar
Nicolas Tachker committed
17 18 19 20 21 22 23 24 25 26
  </parent>

  <modules>
    <module>a3</module>
    <module>jndi</module>
    <module>joram</module>
    <module>licenses</module>
    <module>conf</module>
    <module>assembly</module>
    <module>samples</module>
27
    <module>shell</module>
Nicolas Tachker's avatar
Nicolas Tachker committed
28 29
  </modules>

Nicolas Tachker's avatar
Nicolas Tachker committed
30 31 32 33 34 35 36 37 38
  <profiles>
    <!-- Profile release -->
    <profile>
      <id>release</id>
      <modules>
        <module>release</module>
      </modules>
      <build>
        <plugins>
39
          <!--  Attach the source to the project      -->
Nicolas Tachker's avatar
Nicolas Tachker committed
40 41 42
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-source-plugin</artifactId>
43
            <version>${maven-source-plugin.version}</version>
Nicolas Tachker's avatar
Nicolas Tachker committed
44 45
            <executions>
              <execution>
46
                <id>attach-sources</id>
Nicolas Tachker's avatar
Nicolas Tachker committed
47
                <goals>
48
                  <goal>jar-no-fork</goal>
Nicolas Tachker's avatar
Nicolas Tachker committed
49 50 51 52
                </goals>
              </execution>
            </executions>
          </plugin>
53
          
Nicolas Tachker's avatar
Nicolas Tachker committed
54 55 56 57 58 59 60 61 62
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-release-plugin</artifactId>
            <configuration>
              <tagBase>svn+ssh://svn.forge.objectweb.org/svnroot/joram/tags</tagBase>
              <autoVersionSubmodules>true</autoVersionSubmodules>
              <addSchema>false</addSchema>
            </configuration>
          </plugin>
63 64 65 66 67 68 69 70 71 72 73 74
        </plugins>
      </build>
    </profile>
    
    <!-- Profile sign -->
     <profile>
      <id>sign</id>
      <modules>
        <module>release</module>
      </modules>
      <build>
        <plugins>
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
          <!-- - - - - - - - - - - - - - - - - - - - - -->
          <!--  Sign all the artifacts                 -->
          <!-- - - - - - - - - - - - - - - - - - - - - -->
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-gpg-plugin</artifactId>
            <version>1.1</version>
            <executions>
              <execution>
                <id>sign-artifacts</id>
                <phase>verify</phase>
                <goals>
                  <goal>sign</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
Nicolas Tachker's avatar
Nicolas Tachker committed
92 93 94
        </plugins>
      </build>
    </profile>
Nicolas Tachker's avatar
Nicolas Tachker committed
95
    
Nicolas Tachker's avatar
Nicolas Tachker committed
96 97 98
    <!-- Profile javadoc -->
    <profile>
      <id>doc</id>
Andre Freyssinet's avatar
Andre Freyssinet committed
99
      
100
<!-- Incompatible with Java 11, un
Andre Freyssinet's avatar
Andre Freyssinet committed
101 102
    <activation>
      <jdk>[1.8,)</jdk>
103
    </activation> -->
Andre Freyssinet's avatar
Andre Freyssinet committed
104 105 106
    <properties>
      <javadoc.opts>-Xdoclint:none</javadoc.opts>
    </properties>
Nicolas Tachker's avatar
Nicolas Tachker committed
107 108
      <build>
        <plugins>
109 110
        
          <!--  Attach the javadoc to the project      -->
Nicolas Tachker's avatar
Nicolas Tachker committed
111 112 113
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-javadoc-plugin</artifactId>
114
            <version>${maven-javadoc-plugin.version}</version>
Nicolas Tachker's avatar
Nicolas Tachker committed
115
            <configuration>
116
              <failOnError>false</failOnError>
Nicolas Tachker's avatar
Nicolas Tachker committed
117 118
              <show>private</show>
              <nohelp>true</nohelp>
119
              <links>
120
                <link>http://download.oracle.com/javaee/7/api/</link>
121
              </links>
Nicolas Tachker's avatar
Nicolas Tachker committed
122 123 124
            </configuration>
            <executions>
              <execution>
125 126
                <id>attach-javadocs</id>
                <phase>package</phase>
Nicolas Tachker's avatar
Nicolas Tachker committed
127
                <goals>
128
                  <goal>jar</goal>
129
                  <goal>aggregate-jar</goal>
Nicolas Tachker's avatar
Nicolas Tachker committed
130
                </goals>
Andre Freyssinet's avatar
Andre Freyssinet committed
131 132 133 134
                
                <configuration>
                    <additionalparam>${javadoc.opts}</additionalparam>
                </configuration>
Nicolas Tachker's avatar
Nicolas Tachker committed
135 136 137 138 139
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
140
      
Nicolas Tachker's avatar
Nicolas Tachker committed
141
      <!-- reporting -->
Nicolas Tachker's avatar
Nicolas Tachker committed
142 143 144 145 146 147 148 149 150 151 152 153 154 155 156
      <reporting>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-javadoc-plugin</artifactId>
            <configuration>
              <!-- <stylesheetfile>${basedir}/src/main/javadoc/stylesheet.css</stylesheetfile> -->
              <show>private</show>
            </configuration>
          </plugin>
        </plugins>
      </reporting>
    </profile>
  </profiles>
  
Nicolas Tachker's avatar
Nicolas Tachker committed
157 158
  <!-- Source code management -->
  
Nicolas Tachker's avatar
Nicolas Tachker committed
159
  <build>
160 161 162 163 164 165 166
    <extensions>
      <extension>
        <groupId>org.apache.maven.wagon</groupId>
        <artifactId>wagon-ssh</artifactId>
        <version>1.0</version>
      </extension>
    </extensions> 
Nicolas Tachker's avatar
Nicolas Tachker committed
167 168 169 170
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
Andre Freyssinet's avatar
Andre Freyssinet committed
171
        <version>3.8.0</version>
Nicolas Tachker's avatar
Nicolas Tachker committed
172
        <configuration>
Andre Freyssinet's avatar
Andre Freyssinet committed
173 174
          <source>1.8</source>
          <target>1.8</target>
175 176 177 178
          <!-- Needs JDK 11
          <source>11</source>
          <target>11</target>
          <release>11</release> -->
Nicolas Tachker's avatar
Nicolas Tachker committed
179
        </configuration>
Andre Freyssinet's avatar
Andre Freyssinet committed
180 181 182 183 184 185 186
        <dependencies>
          <dependency>
            <groupId>org.ow2.asm</groupId>
            <artifactId>asm</artifactId>
            <version>6.2</version> <!-- Use newer version of ASM -->
          </dependency>
        </dependencies>
Nicolas Tachker's avatar
Nicolas Tachker committed
187
      </plugin>
188
      
189 190 191 192 193 194 195 196 197 198 199 200
	  <plugin>
		<groupId>org.apache.maven.plugins</groupId>
		<artifactId>maven-surefire-plugin</artifactId>
		<version>2.22.0</version>
		<dependencies>
		  <dependency>
			<groupId>org.apache.maven.surefire</groupId>
			  <artifactId>surefire-junit47</artifactId>
			  <version>2.22.0</version>
			</dependency>
		</dependencies>
	  </plugin>
Nicolas Tachker's avatar
Nicolas Tachker committed
201 202 203 204
    </plugins>
  </build>
  
  <properties>
Nicolas Tachker's avatar
Nicolas Tachker committed
205
    <!-- joram protocol -->
206
    <joram.protocol>59</joram.protocol>
Nicolas Tachker's avatar
Nicolas Tachker committed
207
    <!--  dependencies versions -->
Nicolas Tachker's avatar
Nicolas Tachker committed
208
    <ow2.version>1.3</ow2.version>
Nicolas Tachker's avatar
Nicolas Tachker committed
209
    <mail.version>1.4.1</mail.version>
210
    <monolog.version>5.2.0</monolog.version>
Nicolas Tachker's avatar
Nicolas Tachker committed
211
    <jcup.version>5.3.1</jcup.version>
212
    <jftp.version>1.52</jftp.version>
213
    <ow2-jms-2.0-spec.version>1.0.0</ow2-jms-2.0-spec.version>
214
    <ow2-jta-1.1-spec.version>1.0.13</ow2-jta-1.1-spec.version>
215 216
    <osgi.compendium.version>5.0.0</osgi.compendium.version>
    <org.osgi.core.version>6.0.0</org.osgi.core.version>
Nicolas Tachker's avatar
Nicolas Tachker committed
217 218 219 220
    <activation.version>1.1.1</activation.version>
    <commons-dbcp.version>1.2.2</commons-dbcp.version>
    <mysql-connector-java.version>5.1.6</mysql-connector-java.version>
    <connector.version>1.0.3</connector.version>
Andre Freyssinet's avatar
Andre Freyssinet committed
221
    <felix.main.version>6.0.1</felix.main.version>
222 223
    <felix.shell.version>1.4.3</felix.shell.version>
    <felix.remote.version>1.2.0</felix.remote.version>
224
    <felix.tui.version>1.4.1</felix.tui.version>
225 226 227
    <felix.gogo.runtime.version>1.1.0</felix.gogo.runtime.version>
    <felix.gogo.command.version>1.0.2</felix.gogo.command.version>
    <felix.gogo.shell.version>1.1.0</felix.gogo.shell.version>
Andre Freyssinet's avatar
Andre Freyssinet committed
228
    <maven.bundle.plugin.version>4.0.0</maven.bundle.plugin.version>
Nicolas Tachker's avatar
Nicolas Tachker committed
229
    <!-- to prevent [WARNING] Using platform encoding -->
230 231
    <maven-javadoc-plugin.version>3.0.0</maven-javadoc-plugin.version>
    <!-- to prevent [WARNING] Using platform encoding -->
Nicolas Tachker's avatar
Nicolas Tachker committed
232
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
233
    <stomp.version>1.0</stomp.version>
234
    <commons-io.version>1.4</commons-io.version>
235
    <ow2-util-substitution.version>2.0.0</ow2-util-substitution.version>
236
    <junit.version>4.6</junit.version>
237
    <jersey.version>2.27</jersey.version>
238 239
<!--     <jetty.version>8.1.16.v20140903</jetty.version> -->
    <jetty.version>8.2.0.v20160908</jetty.version>
240 241
    <gson.version>2.5</gson.version>
    <geronimo-servlet_3.0_spec.version>1.0</geronimo-servlet_3.0_spec.version>
Nicolas Tachker's avatar
Nicolas Tachker committed
242 243 244 245
  </properties>

  <organization>
    <name>ScalAgent D.T.</name>
246
    <url>http://joram.ow2.org/</url>
Nicolas Tachker's avatar
Nicolas Tachker committed
247 248
  </organization>

249 250 251 252 253 254 255 256 257 258 259 260 261 262
 <!-- Who worked on this project ? -->
  <developers>
    <developer>
      <id>afreyssin</id>
      <name>Andre Freyssinet</name>
      <email>Andre.Freyssinet@scalagent.com</email>
    </developer>
    <developer>
      <id>tachker</id>
      <name>Nicolas Tachker</name>
      <email>nicolas.tachker@scalagent.com</email>
    </developer>
  </developers>
  
Guillaume Surrel's avatar
Guillaume Surrel committed
263
  <!-- Preferred dependencies version -->
Nicolas Tachker's avatar
Nicolas Tachker committed
264 265 266 267 268 269 270 271 272 273
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.osgi</groupId>
        <artifactId>org.osgi.compendium</artifactId>
        <version>${osgi.compendium.version}</version>
        <type>jar</type>
      </dependency>
      <dependency>
        <groupId>org.osgi</groupId>
274 275
        <artifactId>org.osgi.core</artifactId>
        <version>${org.osgi.core.version}</version>
Nicolas Tachker's avatar
Nicolas Tachker committed
276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300
        <type>jar</type>
      </dependency>
      <dependency>
        <groupId>javax.mail</groupId>
        <artifactId>mail</artifactId>
        <version>${mail.version}</version>
      </dependency>
      <dependency>
        <groupId>org.ow2.jonas.osgi</groupId>
        <artifactId>monolog</artifactId>
        <version>${monolog.version}</version>
      </dependency>
      <dependency>
        <groupId>org.objectweb.joram</groupId>
        <artifactId>jcup</artifactId>
        <version>${jcup.version}</version>
        <type>jar</type>
      </dependency>
      <dependency>
        <groupId>javax.activation</groupId>
        <artifactId>activation</artifactId>
        <version>${activation.version}</version>
        <type>jar</type>
      </dependency>
      <dependency>
301 302 303 304
        <groupId>org.ow2.spec.ee</groupId>
        <artifactId>ow2-jms-2.0-spec</artifactId>
        <version>${ow2-jms-2.0-spec.version}</version>
      </dependency>
Nicolas Tachker's avatar
Nicolas Tachker committed
305 306
      <dependency>
        <groupId>org.ow2.spec.ee</groupId>
307 308 309 310 311
        <artifactId>ow2-jta-1.1-spec</artifactId>
        <version>${ow2-jta-1.1-spec.version}</version>
      </dependency>
      <dependency>
        <groupId>org.ow2.spec.ee</groupId>
Nicolas Tachker's avatar
Nicolas Tachker committed
312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330
        <artifactId>ow2-connector-1.5-spec</artifactId>
        <version>${connector.version}</version>
      </dependency>
      <dependency>
        <groupId>commons-dbcp</groupId>
        <artifactId>commons-dbcp</artifactId>
        <version>${commons-dbcp.version}</version>
      </dependency>
      <dependency>
        <groupId>mysql</groupId>
        <artifactId>mysql-connector-java</artifactId>
        <version>${mysql-connector-java.version}</version>
      </dependency>
      <dependency>
        <groupId>org.ow2</groupId>
        <artifactId>ow2</artifactId>
        <version>${ow2.version}</version>
        <type>pom</type>
      </dependency>
331 332 333 334 335 336
      <dependency>
        <groupId>org.objectweb.joram</groupId>
        <artifactId>jftp</artifactId>
        <version>${jftp.version}</version>
        <type>jar</type>
      </dependency>
337 338 339 340 341 342
      <dependency>
        <groupId>org.codehaus.stomp</groupId>
        <artifactId>stompconnect</artifactId>
        <version>${stomp.version}</version>
        <type>jar</type>
      </dependency>
343 344 345 346 347
      <dependency>
        <groupId>commons-io</groupId>
        <artifactId>commons-io</artifactId>
        <version>${commons-io.version}</version>
      </dependency>
348
      <dependency>
349 350
        <groupId>org.ow2.util.substitution</groupId>
        <artifactId>substitution</artifactId>
351
        <version>${ow2-util-substitution.version}</version>
352 353 354 355 356 357
      </dependency>
      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>${junit.version}</version>
      </dependency>
358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377
      <dependency>
        <groupId>org.apache.geronimo.specs</groupId>
        <artifactId>geronimo-servlet_3.0_spec</artifactId>
        <version>${geronimo-servlet_3.0_spec.version}</version>
      </dependency>
      <dependency>
        <groupId>org.glassfish.jersey.core</groupId>
        <artifactId>jersey-server</artifactId>
       <version>${jersey.version}</version>
      </dependency>
      <dependency>
        <groupId>org.glassfish.jersey.containers</groupId>
        <artifactId>jersey-container-jdk-http</artifactId>
        <version>${jersey.version}</version>
      </dependency>
    	<dependency>
    		<groupId>org.glassfish.jersey.containers</groupId>
    		<artifactId>jersey-container-servlet-core</artifactId>
    		<version>${jersey.version}</version>
	    </dependency>
378 379 380 381 382 383 384 385 386 387
	    <dependency>
	    	<groupId>org.glassfish.jersey.core</groupId>
	    	<artifactId>jersey-common</artifactId>
	    	<version>${jersey.version}</version>
	    </dependency>
	    <dependency>
	    	<groupId>org.glassfish.jersey.inject</groupId>
	    	<artifactId>jersey-hk2</artifactId>
	    	<version>${jersey.version}</version>
	    </dependency>
388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406
    	<dependency>
    		<groupId>org.eclipse.jetty</groupId>
    		<artifactId>jetty-server</artifactId>
    		<version>${jetty.version}</version>
    	</dependency>
    	<dependency>
    		<groupId>org.eclipse.jetty</groupId>
    		<artifactId>jetty-servlet</artifactId>
    		<version>${jetty.version}</version>
    	</dependency>
    	<dependency>
        <groupId>org.eclipse.jetty</groupId>
        <artifactId>jetty-continuation</artifactId>
        <version>${jetty.version}</version>
      </dependency>
    	<dependency>
        <groupId>com.google.code.gson</groupId>
        <artifactId>gson</artifactId>
        <version>${gson.version}</version>
407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443
      </dependency>
      
      <dependency>
        <groupId>org.apache.felix</groupId>
        <artifactId>org.apache.felix.shell</artifactId>
        <version>${felix.shell.version}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.felix</groupId>
        <artifactId>org.apache.felix.shell.remote</artifactId>
        <version>${felix.remote.version}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.felix</groupId>
        <artifactId>org.apache.felix.shell.tui</artifactId>
        <version>${felix.tui.version}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.felix</groupId>
        <artifactId>org.apache.felix.main</artifactId>
        <version>${felix.main.version}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.felix</groupId>
        <artifactId>org.apache.felix.gogo.runtime</artifactId>
        <version>${felix.gogo.runtime.version}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.felix</groupId>
        <artifactId>org.apache.felix.gogo.command</artifactId>
        <version>${felix.gogo.command.version}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.felix</groupId>
        <artifactId>org.apache.felix.gogo.shell</artifactId>
        <version>${felix.gogo.shell.version}</version>
      </dependency>
Nicolas Tachker's avatar
Nicolas Tachker committed
444 445 446 447 448 449 450
    </dependencies>
  </dependencyManagement>

  <dependencies>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.compendium</artifactId>
Nicolas Tachker's avatar
Nicolas Tachker committed
451
      <scope>provided</scope>
Nicolas Tachker's avatar
Nicolas Tachker committed
452 453 454
    </dependency>
    <dependency>
      <groupId>org.osgi</groupId>
455
      <artifactId>org.osgi.core</artifactId>
Nicolas Tachker's avatar
Nicolas Tachker committed
456
      <scope>provided</scope>
Nicolas Tachker's avatar
Nicolas Tachker committed
457 458 459 460
    </dependency>
    <dependency>
      <groupId>org.ow2.jonas.osgi</groupId>
      <artifactId>monolog</artifactId>
Nicolas Tachker's avatar
Nicolas Tachker committed
461
      <scope>provided</scope>
Nicolas Tachker's avatar
Nicolas Tachker committed
462 463 464 465
    </dependency>
  </dependencies>

</project>