pom.xml 14.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 -->
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>

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 99 100
    <!-- Profile javadoc -->
    <profile>
      <id>doc</id>
      <build>
        <plugins>
101 102
        
          <!--  Attach the javadoc to the project      -->
Nicolas Tachker's avatar
Nicolas Tachker committed
103 104 105
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-javadoc-plugin</artifactId>
106
            <version>${maven-javadoc-plugin.version}</version>
Nicolas Tachker's avatar
Nicolas Tachker committed
107 108 109
            <configuration>
              <show>private</show>
              <nohelp>true</nohelp>
110
              <links>
111
                <link>http://download.oracle.com/javaee/7/api/</link>
112
              </links>
Nicolas Tachker's avatar
Nicolas Tachker committed
113 114 115
            </configuration>
            <executions>
              <execution>
116 117
                <id>attach-javadocs</id>
                <phase>package</phase>
Nicolas Tachker's avatar
Nicolas Tachker committed
118
                <goals>
119
                  <goal>jar</goal>
120
                  <goal>aggregate-jar</goal>
Nicolas Tachker's avatar
Nicolas Tachker committed
121 122 123 124 125 126
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
127
      
Nicolas Tachker's avatar
Nicolas Tachker committed
128
      <!-- reporting -->
Nicolas Tachker's avatar
Nicolas Tachker committed
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>
Nicolas Tachker's avatar
Nicolas Tachker committed
162
        <version>2.3.2</version>
Nicolas Tachker's avatar
Nicolas Tachker committed
163
        <configuration>
164 165
          <source>1.7</source>
          <target>1.7</target>
Nicolas Tachker's avatar
Nicolas Tachker committed
166 167
        </configuration>
      </plugin>
168
      
169 170 171 172 173 174 175 176 177 178 179 180
	  <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
181 182 183 184
    </plugins>
  </build>
  
  <properties>
Nicolas Tachker's avatar
Nicolas Tachker committed
185
    <!-- joram protocol -->
186
    <joram.protocol>59</joram.protocol>
Nicolas Tachker's avatar
Nicolas Tachker committed
187
    <!--  dependencies versions -->
Nicolas Tachker's avatar
Nicolas Tachker committed
188
    <ow2.version>1.3</ow2.version>
Nicolas Tachker's avatar
Nicolas Tachker committed
189
    <mail.version>1.4.1</mail.version>
190
    <monolog.version>5.2.0</monolog.version>
Nicolas Tachker's avatar
Nicolas Tachker committed
191
    <jcup.version>5.3.1</jcup.version>
192
    <jftp.version>1.52</jftp.version>
193
    <ow2-jms-2.0-spec.version>1.0.0</ow2-jms-2.0-spec.version>
194
    <ow2-jta-1.1-spec.version>1.0.13</ow2-jta-1.1-spec.version>
195 196
    <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
197 198 199 200
    <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>
201
    <felix.main.version>5.6.10</felix.main.version>
202 203
    <felix.shell.version>1.4.2</felix.shell.version>
    <felix.remote.version>1.1.2</felix.remote.version>
204
    <felix.tui.version>1.4.1</felix.tui.version>
205 206 207
    <felix.gogo.runtime.version>0.16.2</felix.gogo.runtime.version>
    <felix.gogo.command.version>0.16.0</felix.gogo.command.version>
    <felix.gogo.shell.version>0.12.0</felix.gogo.shell.version>
208
    <maven.bundle.plugin.version>2.3.7</maven.bundle.plugin.version>
Nicolas Tachker's avatar
Nicolas Tachker committed
209 210
    <!-- to prevent [WARNING] Using platform encoding -->
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
211
    <stomp.version>1.0</stomp.version>
212
    <commons-io.version>1.4</commons-io.version>
213
    <ow2-util-substitution.version>2.0.0</ow2-util-substitution.version>
214
    <junit.version>4.6</junit.version>
215
    <jersey.version>2.22.2</jersey.version>
216 217 218
    <jetty.version>8.1.16.v20140903</jetty.version>
    <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
219 220 221 222
  </properties>

  <organization>
    <name>ScalAgent D.T.</name>
223
    <url>http://joram.ow2.org/</url>
Nicolas Tachker's avatar
Nicolas Tachker committed
224 225
  </organization>

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

  <dependencies>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.compendium</artifactId>
Nicolas Tachker's avatar
Nicolas Tachker committed
418
      <scope>provided</scope>
Nicolas Tachker's avatar
Nicolas Tachker committed
419 420 421
    </dependency>
    <dependency>
      <groupId>org.osgi</groupId>
422
      <artifactId>org.osgi.core</artifactId>
Nicolas Tachker's avatar
Nicolas Tachker committed
423
      <scope>provided</scope>
Nicolas Tachker's avatar
Nicolas Tachker committed
424 425 426 427
    </dependency>
    <dependency>
      <groupId>org.ow2.jonas.osgi</groupId>
      <artifactId>monolog</artifactId>
Nicolas Tachker's avatar
Nicolas Tachker committed
428
      <scope>provided</scope>
Nicolas Tachker's avatar
Nicolas Tachker committed
429 430 431 432
    </dependency>
  </dependencies>

</project>