pom.xml 11 KB
Newer Older
1 2
<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
3 4
  <modelVersion>4.0.0</modelVersion>

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

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

31 32 33 34 35 36 37 38 39
  <profiles>
    <!-- Profile release -->
    <profile>
      <id>release</id>
      <modules>
        <module>release</module>
      </modules>
      <build>
        <plugins>
40
          <!--  Attach the source to the project      -->
41 42 43
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-source-plugin</artifactId>
44
            <version>${maven-source-plugin.version}</version>
45 46
            <executions>
              <execution>
47
                <id>attach-sources</id>
48
                <goals>
49
                  <goal>jar-no-fork</goal>
50 51 52 53
                </goals>
              </execution>
            </executions>
          </plugin>
54
          
Nicolas Tachker's avatar
Nicolas Tachker committed
55 56 57 58 59 60 61 62 63
          <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>
64 65 66 67 68 69 70 71 72 73 74 75
        </plugins>
      </build>
    </profile>
    
    <!-- Profile sign -->
     <profile>
      <id>sign</id>
      <modules>
        <module>release</module>
      </modules>
      <build>
        <plugins>
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
          <!-- - - - - - - - - - - - - - - - - - - - - -->
          <!--  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>
93 94 95
        </plugins>
      </build>
    </profile>
Nicolas Tachker's avatar
Nicolas Tachker committed
96
    
97 98 99 100 101
    <!-- Profile javadoc -->
    <profile>
      <id>doc</id>
      <build>
        <plugins>
102 103
        
          <!--  Attach the javadoc to the project      -->
104 105 106
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-javadoc-plugin</artifactId>
107
            <version>${maven-javadoc-plugin.version}</version>
108 109 110
            <configuration>
              <show>private</show>
              <nohelp>true</nohelp>
111
              <links>
112
                <link>http://download.oracle.com/javaee/7/api/</link>
113
              </links>
114 115 116
            </configuration>
            <executions>
              <execution>
117 118
                <id>attach-javadocs</id>
                <phase>package</phase>
119
                <goals>
120
                  <goal>jar</goal>
121
                  <goal>aggregate-jar</goal>
122 123 124 125 126 127
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
128
      
Nicolas Tachker's avatar
Nicolas Tachker committed
129
      <!-- reporting -->
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144
      <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
145 146
  <!-- Source code management -->
  <scm>
147 148
    <connection>scm:svn:svn://svn.forge.objectweb.org/svnroot/joram/trunk</connection>
    <developerConnection>scm:svn:svn+ssh://svn.forge.objectweb.org/svnroot/joram/trunk</developerConnection>
Nicolas Tachker's avatar
Nicolas Tachker committed
149 150
  </scm>
  
Nicolas Tachker's avatar
Nicolas Tachker committed
151
  <build>
152 153 154 155 156 157 158
    <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
159 160 161 162
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
Nicolas Tachker's avatar
Nicolas Tachker committed
163
        <version>2.3.2</version>
Nicolas Tachker's avatar
Nicolas Tachker committed
164
        <configuration>
165 166
          <source>1.7</source>
          <target>1.7</target>
Nicolas Tachker's avatar
Nicolas Tachker committed
167 168 169 170 171 172
        </configuration>
      </plugin>
    </plugins>
  </build>
  
  <properties>
Nicolas Tachker's avatar
Nicolas Tachker committed
173
    <!-- joram protocol -->
174
    <joram.protocol>59</joram.protocol>
175
    <!--  dependencies versions -->
Nicolas Tachker's avatar
Nicolas Tachker committed
176
    <ow2.version>1.3</ow2.version>
Nicolas Tachker's avatar
Nicolas Tachker committed
177
    <mail.version>1.4.1</mail.version>
178
    <monolog.version>5.2.0</monolog.version>
Nicolas Tachker's avatar
Nicolas Tachker committed
179
    <jcup.version>5.3.1</jcup.version>
180
    <jftp.version>1.52</jftp.version>
181
    <ow2-jms-2.0-spec.version>1.0.0</ow2-jms-2.0-spec.version>
182
    <ow2-jta-1.1-spec.version>1.0.13</ow2-jta-1.1-spec.version>
183 184
    <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
185 186 187 188
    <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>
189
    <felix.main.version>5.4.0</felix.main.version>
190 191
    <felix.shell.version>1.4.2</felix.shell.version>
    <felix.remote.version>1.1.2</felix.remote.version>
192
    <felix.tui.version>1.4.1</felix.tui.version>
193 194 195
    <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>
196
    <maven.bundle.plugin.version>2.3.7</maven.bundle.plugin.version>
197 198
    <!-- to prevent [WARNING] Using platform encoding -->
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
199
    <stomp.version>1.0</stomp.version>
200
    <commons-io.version>1.4</commons-io.version>
201
    <ow2-util-substitution.version>2.0.0</ow2-util-substitution.version>
202
    <junit.version>4.6</junit.version>
Nicolas Tachker's avatar
Nicolas Tachker committed
203 204 205 206
  </properties>

  <organization>
    <name>ScalAgent D.T.</name>
207
    <url>http://joram.ow2.org/</url>
Nicolas Tachker's avatar
Nicolas Tachker committed
208 209
  </organization>

210 211 212 213 214 215 216 217 218 219 220 221 222 223
 <!-- 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
224
  <!-- Preferred dependencies version -->
Nicolas Tachker's avatar
Nicolas Tachker committed
225 226 227 228 229 230 231 232 233 234
  <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>
235 236
        <artifactId>org.osgi.core</artifactId>
        <version>${org.osgi.core.version}</version>
Nicolas Tachker's avatar
Nicolas Tachker committed
237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261
        <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>
262 263 264 265
        <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
266 267
      <dependency>
        <groupId>org.ow2.spec.ee</groupId>
268 269 270 271 272
        <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
273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291
        <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>
292 293 294 295 296 297
      <dependency>
        <groupId>org.objectweb.joram</groupId>
        <artifactId>jftp</artifactId>
        <version>${jftp.version}</version>
        <type>jar</type>
      </dependency>
298 299 300 301 302 303
      <dependency>
        <groupId>org.codehaus.stomp</groupId>
        <artifactId>stompconnect</artifactId>
        <version>${stomp.version}</version>
        <type>jar</type>
      </dependency>
304 305 306 307 308
      <dependency>
        <groupId>commons-io</groupId>
        <artifactId>commons-io</artifactId>
        <version>${commons-io.version}</version>
      </dependency>
309
      <dependency>
310 311
        <groupId>org.ow2.util.substitution</groupId>
        <artifactId>substitution</artifactId>
312
        <version>${ow2-util-substitution.version}</version>
313 314 315 316 317 318
      </dependency>
      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>${junit.version}</version>
      </dependency>
Nicolas Tachker's avatar
Nicolas Tachker committed
319 320 321 322 323 324 325
    </dependencies>
  </dependencyManagement>

  <dependencies>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.compendium</artifactId>
Nicolas Tachker's avatar
Nicolas Tachker committed
326
      <scope>provided</scope>
Nicolas Tachker's avatar
Nicolas Tachker committed
327 328 329
    </dependency>
    <dependency>
      <groupId>org.osgi</groupId>
330
      <artifactId>org.osgi.core</artifactId>
Nicolas Tachker's avatar
Nicolas Tachker committed
331
      <scope>provided</scope>
Nicolas Tachker's avatar
Nicolas Tachker committed
332 333 334 335
    </dependency>
    <dependency>
      <groupId>org.ow2.jonas.osgi</groupId>
      <artifactId>monolog</artifactId>
Nicolas Tachker's avatar
Nicolas Tachker committed
336
      <scope>provided</scope>
Nicolas Tachker's avatar
Nicolas Tachker committed
337 338 339 340
    </dependency>
  </dependencies>

</project>