pom.xml 15.2 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 -->
afreyssin's avatar
afreyssin committed
8
  <version>5.16.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>

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      -->
40 41 42
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-source-plugin</artifactId>
43
            <version>${maven-source-plugin.version}</version>
44 45
            <executions>
              <execution>
46
                <id>attach-sources</id>
47
                <goals>
48
                  <goal>jar-no-fork</goal>
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>
92 93 94
        </plugins>
      </build>
    </profile>
Nicolas Tachker's avatar
Nicolas Tachker committed
95
    
96 97 98 99 100
    <!-- Profile javadoc -->
    <profile>
      <id>doc</id>
      <build>
        <plugins>
101 102
        
          <!--  Attach the javadoc to the project      -->
103 104 105
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-javadoc-plugin</artifactId>
106
            <version>${maven-javadoc-plugin.version}</version>
107 108 109
            <configuration>
              <show>private</show>
              <nohelp>true</nohelp>
110
              <links>
111
                <link>http://download.oracle.com/javaee/7/api/</link>
112
              </links>
113 114 115
            </configuration>
            <executions>
              <execution>
116 117
                <id>attach-javadocs</id>
                <phase>package</phase>
118
                <goals>
119
                  <goal>jar</goal>
120
                  <goal>aggregate-jar</goal>
121 122 123 124 125 126
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
127
      
Nicolas Tachker's avatar
Nicolas Tachker committed
128
      <!-- reporting -->
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143
      <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
144 145
  <!-- Source code management -->
  <scm>
afreyssin's avatar
afreyssin committed
146 147
    <connection>scm:svn:svn://svn.forge.objectweb.org/svnroot/joram/tags/parent-5.15.0-SNAPSHOT</connection>
    <developerConnection>scm:svn:svn+ssh://svn.forge.objectweb.org/svnroot/joram/tags/parent-5.15.0-SNAPSHOT</developerConnection>
Nicolas Tachker's avatar
Nicolas Tachker committed
148 149
  </scm>
  
Nicolas Tachker's avatar
Nicolas Tachker committed
150
  <build>
151 152 153 154 155 156 157
    <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
158 159 160 161
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
162
        <version>3.8.0</version>
Nicolas Tachker's avatar
Nicolas Tachker committed
163
        <configuration>
164 165 166 167
          <source>1.8</source>
          <target>1.8</target>
          <!-- Needs Java 10/11 JDK
          <release>10</release> -->
Nicolas Tachker's avatar
Nicolas Tachker committed
168
        </configuration>
169 170 171 172 173 174 175
        <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
176
      </plugin>
177
      
178 179 180 181 182 183 184 185 186 187 188 189
	  <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
190 191 192 193
    </plugins>
  </build>
  
  <properties>
Nicolas Tachker's avatar
Nicolas Tachker committed
194
    <!-- joram protocol -->
195
    <joram.protocol>59</joram.protocol>
196
    <!--  dependencies versions -->
Nicolas Tachker's avatar
Nicolas Tachker committed
197
    <ow2.version>1.3</ow2.version>
Nicolas Tachker's avatar
Nicolas Tachker committed
198
    <mail.version>1.4.1</mail.version>
199
    <monolog.version>5.2.0</monolog.version>
Nicolas Tachker's avatar
Nicolas Tachker committed
200
    <jcup.version>5.3.1</jcup.version>
201
    <jftp.version>1.52</jftp.version>
202
    <ow2-jms-2.0-spec.version>1.0.0</ow2-jms-2.0-spec.version>
203
    <ow2-jta-1.1-spec.version>1.0.13</ow2-jta-1.1-spec.version>
204 205
    <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
206 207 208 209
    <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>
210
    <felix.main.version>6.0.1</felix.main.version>
211 212
    <felix.shell.version>1.4.3</felix.shell.version>
    <felix.remote.version>1.2.0</felix.remote.version>
213
    <felix.tui.version>1.4.1</felix.tui.version>
214 215 216
    <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>
217
    <maven.bundle.plugin.version>4.0.0</maven.bundle.plugin.version>
218 219
    <!-- to prevent [WARNING] Using platform encoding -->
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
220
    <stomp.version>1.0</stomp.version>
221
    <commons-io.version>1.4</commons-io.version>
222
    <ow2-util-substitution.version>2.0.0</ow2-util-substitution.version>
223
    <junit.version>4.6</junit.version>
224
    <jersey.version>2.27</jersey.version>
225 226
<!--     <jetty.version>8.1.16.v20140903</jetty.version> -->
    <jetty.version>8.2.0.v20160908</jetty.version>
227 228
    <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
229 230 231 232
  </properties>

  <organization>
    <name>ScalAgent D.T.</name>
233
    <url>http://joram.ow2.org/</url>
Nicolas Tachker's avatar
Nicolas Tachker committed
234 235
  </organization>

236 237 238 239 240 241 242 243 244 245 246 247 248 249
 <!-- 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>
  
250
  <!-- Preferred dependencies version -->
Nicolas Tachker's avatar
Nicolas Tachker committed
251 252 253 254 255 256 257 258 259 260
  <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>
261 262
        <artifactId>org.osgi.core</artifactId>
        <version>${org.osgi.core.version}</version>
Nicolas Tachker's avatar
Nicolas Tachker committed
263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287
        <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>
288 289 290 291
        <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
292 293
      <dependency>
        <groupId>org.ow2.spec.ee</groupId>
294 295 296 297 298
        <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
299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317
        <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>
318 319 320 321 322 323
      <dependency>
        <groupId>org.objectweb.joram</groupId>
        <artifactId>jftp</artifactId>
        <version>${jftp.version}</version>
        <type>jar</type>
      </dependency>
324 325 326 327 328 329
      <dependency>
        <groupId>org.codehaus.stomp</groupId>
        <artifactId>stompconnect</artifactId>
        <version>${stomp.version}</version>
        <type>jar</type>
      </dependency>
330 331 332 333 334
      <dependency>
        <groupId>commons-io</groupId>
        <artifactId>commons-io</artifactId>
        <version>${commons-io.version}</version>
      </dependency>
335
      <dependency>
336 337
        <groupId>org.ow2.util.substitution</groupId>
        <artifactId>substitution</artifactId>
338
        <version>${ow2-util-substitution.version}</version>
339 340 341 342 343 344
      </dependency>
      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>${junit.version}</version>
      </dependency>
345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364
      <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>
365 366 367 368 369 370 371 372 373 374
	    <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>
375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393
    	<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>
394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430
      </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
431 432 433 434 435 436 437
    </dependencies>
  </dependencyManagement>

  <dependencies>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.compendium</artifactId>
Nicolas Tachker's avatar
Nicolas Tachker committed
438
      <scope>provided</scope>
Nicolas Tachker's avatar
Nicolas Tachker committed
439 440 441
    </dependency>
    <dependency>
      <groupId>org.osgi</groupId>
442
      <artifactId>org.osgi.core</artifactId>
Nicolas Tachker's avatar
Nicolas Tachker committed
443
      <scope>provided</scope>
Nicolas Tachker's avatar
Nicolas Tachker committed
444 445 446 447
    </dependency>
    <dependency>
      <groupId>org.ow2.jonas.osgi</groupId>
      <artifactId>monolog</artifactId>
Nicolas Tachker's avatar
Nicolas Tachker committed
448
      <scope>provided</scope>
Nicolas Tachker's avatar
Nicolas Tachker committed
449 450 451 452
    </dependency>
  </dependencies>

</project>