pom.xml 14.1 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.15.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>
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 168 169 170 171
        </configuration>
      </plugin>
    </plugins>
  </build>
  
  <properties>
Nicolas Tachker's avatar
Nicolas Tachker committed
172
    <!-- joram protocol -->
173
    <joram.protocol>59</joram.protocol>
174
    <!--  dependencies versions -->
Nicolas Tachker's avatar
Nicolas Tachker committed
175
    <ow2.version>1.3</ow2.version>
Nicolas Tachker's avatar
Nicolas Tachker committed
176
    <mail.version>1.4.1</mail.version>
177
    <monolog.version>5.2.0</monolog.version>
Nicolas Tachker's avatar
Nicolas Tachker committed
178
    <jcup.version>5.3.1</jcup.version>
179
    <jftp.version>1.52</jftp.version>
180
    <ow2-jms-2.0-spec.version>1.0.0</ow2-jms-2.0-spec.version>
181
    <ow2-jta-1.1-spec.version>1.0.13</ow2-jta-1.1-spec.version>
182 183
    <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
184 185 186 187
    <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>
188
    <felix.main.version>5.4.0</felix.main.version>
189 190
    <felix.shell.version>1.4.2</felix.shell.version>
    <felix.remote.version>1.1.2</felix.remote.version>
191
    <felix.tui.version>1.4.1</felix.tui.version>
192 193 194
    <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>
195
    <maven.bundle.plugin.version>2.3.7</maven.bundle.plugin.version>
196 197
    <!-- to prevent [WARNING] Using platform encoding -->
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
198
    <stomp.version>1.0</stomp.version>
199
    <commons-io.version>1.4</commons-io.version>
200
    <ow2-util-substitution.version>2.0.0</ow2-util-substitution.version>
201
    <junit.version>4.6</junit.version>
202
    <jersey.version>2.22.2</jersey.version>
203 204 205
    <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
206 207 208 209
  </properties>

  <organization>
    <name>ScalAgent D.T.</name>
210
    <url>http://joram.ow2.org/</url>
Nicolas Tachker's avatar
Nicolas Tachker committed
211 212
  </organization>

213 214 215 216 217 218 219 220 221 222 223 224 225 226
 <!-- 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
227
  <!-- Preferred dependencies version -->
Nicolas Tachker's avatar
Nicolas Tachker committed
228 229 230 231 232 233 234 235 236 237
  <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>
238 239
        <artifactId>org.osgi.core</artifactId>
        <version>${org.osgi.core.version}</version>
Nicolas Tachker's avatar
Nicolas Tachker committed
240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264
        <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>
265 266 267 268
        <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
269 270
      <dependency>
        <groupId>org.ow2.spec.ee</groupId>
271 272 273 274 275
        <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
276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294
        <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>
295 296 297 298 299 300
      <dependency>
        <groupId>org.objectweb.joram</groupId>
        <artifactId>jftp</artifactId>
        <version>${jftp.version}</version>
        <type>jar</type>
      </dependency>
301 302 303 304 305 306
      <dependency>
        <groupId>org.codehaus.stomp</groupId>
        <artifactId>stompconnect</artifactId>
        <version>${stomp.version}</version>
        <type>jar</type>
      </dependency>
307 308 309 310 311
      <dependency>
        <groupId>commons-io</groupId>
        <artifactId>commons-io</artifactId>
        <version>${commons-io.version}</version>
      </dependency>
312
      <dependency>
313 314
        <groupId>org.ow2.util.substitution</groupId>
        <artifactId>substitution</artifactId>
315
        <version>${ow2-util-substitution.version}</version>
316 317 318 319 320 321
      </dependency>
      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>${junit.version}</version>
      </dependency>
322 323 324 325 326 327 328 329 330 331 332 333 334 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
      <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>
361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397
      </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
398 399 400 401 402 403 404
    </dependencies>
  </dependencyManagement>

  <dependencies>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.compendium</artifactId>
Nicolas Tachker's avatar
Nicolas Tachker committed
405
      <scope>provided</scope>
Nicolas Tachker's avatar
Nicolas Tachker committed
406 407 408
    </dependency>
    <dependency>
      <groupId>org.osgi</groupId>
409
      <artifactId>org.osgi.core</artifactId>
Nicolas Tachker's avatar
Nicolas Tachker committed
410
      <scope>provided</scope>
Nicolas Tachker's avatar
Nicolas Tachker committed
411 412 413 414
    </dependency>
    <dependency>
      <groupId>org.ow2.jonas.osgi</groupId>
      <artifactId>monolog</artifactId>
Nicolas Tachker's avatar
Nicolas Tachker committed
415
      <scope>provided</scope>
Nicolas Tachker's avatar
Nicolas Tachker committed
416 417 418 419
    </dependency>
  </dependencies>

</project>