pom.xml 9.54 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 5 6 7
  <modelVersion>4.0.0</modelVersion>

  <groupId>org.objectweb.joram</groupId>
  <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.7.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 17 18 19 20 21 22 23 24 25 26 27 28 29
  <parent>
    <groupId>org.ow2</groupId>
    <artifactId>ow2</artifactId>
    <version>1.1</version>
  </parent>

  <modules>
    <module>a3</module>
    <module>jndi</module>
    <module>joram</module>
    <module>licenses</module>
    <module>conf</module>
    <module>assembly</module>
    <module>samples</module>
  </modules>

30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
  <profiles>
    <!-- Profile release -->
    <profile>
      <id>release</id>
      <modules>
        <module>release</module>
      </modules>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-source-plugin</artifactId>
            <!-- <version>2.1.2</version> -->
            <executions>
              <execution>
                <id>bind-sources</id>
                <goals>
                  <goal>jar</goal>
                  <!-- <goal>jar-no-fork</goal> -->
                </goals>
              </execution>
            </executions>
          </plugin>
Nicolas Tachker's avatar
Nicolas Tachker committed
53 54 55 56 57 58 59 60 61
          <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>
62 63 64
        </plugins>
      </build>
    </profile>
Nicolas Tachker's avatar
Nicolas Tachker committed
65
    
66 67 68 69 70 71 72 73
    <!-- Profile javadoc -->
    <profile>
      <id>doc</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-javadoc-plugin</artifactId>
74
            <version>2.7</version>
75 76 77
            <configuration>
              <show>private</show>
              <nohelp>true</nohelp>
78 79 80 81
              <links>
                <link>http://download.oracle.com/javaee/6/api/</link>
              </links>
              <jarOutputDirectory>release/target</jarOutputDirectory>
82 83 84 85
            </configuration>
            <executions>
              <execution>
                <id>javadoc</id>
86
                <phase>install</phase>
87
                <goals>
88
                  <goal>aggregate-jar</goal>
89 90 91 92 93 94
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
Nicolas Tachker's avatar
Nicolas Tachker committed
95
      <!-- reporting -->
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
      <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
111 112
  <!-- Source code management -->
  <scm>
113 114
    <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
115 116
  </scm>
  
Nicolas Tachker's avatar
Nicolas Tachker committed
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154
  <repositories>
    <repository>
      <id>ow2</id>
      <name>OW2 repository</name>
      <url>http://maven.ow2.org/maven2</url>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
    </repository>
    <repository>
      <id>ow2-snapshot</id>
      <name>OW2 repository</name>
      <url>http://maven.ow2.org/maven2-snapshot</url>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
      <releases>
        <enabled>false</enabled>
      </releases>
    </repository>
  </repositories>

  <build>
<!--    <resources>-->
<!--      <resource>-->
<!--        <directory>licenses/src/main/resources</directory>-->
<!--        <includes>-->
<!--          <include>*</include>-->
<!--        </includes>-->
<!--      </resource>-->
<!--    </resources>-->
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
Nicolas Tachker's avatar
Nicolas Tachker committed
155
        <version>2.3.2</version>
Nicolas Tachker's avatar
Nicolas Tachker committed
156 157 158 159 160 161 162 163 164
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>
    </plugins>
  </build>
  
  <properties>
Nicolas Tachker's avatar
Nicolas Tachker committed
165
    <!-- joram protocol -->
166
    <joram.protocol>56</joram.protocol>
167
    <!--  dependencies versions -->
Nicolas Tachker's avatar
Nicolas Tachker committed
168 169 170 171
    <ow2.version>1.1</ow2.version>
    <mail.version>1.4.1</mail.version>
    <monolog.version>5.1.1</monolog.version>
    <jcup.version>5.3.1</jcup.version>
172
    <jftp.version>1.52</jftp.version>
Nicolas Tachker's avatar
Nicolas Tachker committed
173 174 175 176 177 178 179 180 181
    <jgroups-all.version>2.2.8</jgroups-all.version>
    <geronimo-jms_spec.version>1.1.1</geronimo-jms_spec.version>
    <osgi.compendium.version>4.2.0</osgi.compendium.version>
    <org.osgi.version>3.0.0</org.osgi.version>
    <activation.version>1.1.1</activation.version>
    <soap.version>2.3</soap.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>
182 183 184
    <felix.main.version>3.2.0</felix.main.version>
    <felix.shell.version>1.4.2</felix.shell.version>
    <felix.remote.version>1.1.2</felix.remote.version>
185
    <felix.tui.version>1.4.1</felix.tui.version>
186 187
    <!-- to prevent [WARNING] Using platform encoding -->
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
188
    <stomp.version>1.0</stomp.version>
Nicolas Tachker's avatar
Nicolas Tachker committed
189 190 191 192
  </properties>

  <organization>
    <name>ScalAgent D.T.</name>
193
    <url>http://joram.ow2.org/</url>
Nicolas Tachker's avatar
Nicolas Tachker committed
194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 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 262 263 264 265 266 267 268
  </organization>

  <!-- Prefered dependencies version -->
  <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>
        <artifactId>org.osgi</artifactId>
        <version>${org.osgi.version}</version>
        <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>
        <groupId>jgroups</groupId>
        <artifactId>jgroups-all</artifactId>
        <version>${jgroups-all.version}</version>
      </dependency>
      <dependency>
        <groupId>org.apache.geronimo.specs</groupId>
        <artifactId>geronimo-jms_1.1_spec</artifactId>
        <version>${geronimo-jms_spec.version}</version>
      </dependency>
      <dependency>
        <groupId>org.ow2.spec.ee</groupId>
        <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>
      <dependency>
        <groupId>soap</groupId>
        <artifactId>soap</artifactId>
        <version>${soap.version}</version>
      </dependency>
269 270 271 272 273 274
      <dependency>
        <groupId>org.objectweb.joram</groupId>
        <artifactId>jftp</artifactId>
        <version>${jftp.version}</version>
        <type>jar</type>
      </dependency>
275 276 277 278 279 280
      <dependency>
        <groupId>org.codehaus.stomp</groupId>
        <artifactId>stompconnect</artifactId>
        <version>${stomp.version}</version>
        <type>jar</type>
      </dependency>
Nicolas Tachker's avatar
Nicolas Tachker committed
281 282 283 284 285 286 287
    </dependencies>
  </dependencyManagement>

  <dependencies>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.compendium</artifactId>
Nicolas Tachker's avatar
Nicolas Tachker committed
288
      <scope>provided</scope>
Nicolas Tachker's avatar
Nicolas Tachker committed
289 290 291 292
    </dependency>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi</artifactId>
Nicolas Tachker's avatar
Nicolas Tachker committed
293
      <scope>provided</scope>
Nicolas Tachker's avatar
Nicolas Tachker committed
294 295 296 297
    </dependency>
    <dependency>
      <groupId>org.ow2.jonas.osgi</groupId>
      <artifactId>monolog</artifactId>
Nicolas Tachker's avatar
Nicolas Tachker committed
298
      <scope>provided</scope>
Nicolas Tachker's avatar
Nicolas Tachker committed
299 300 301 302
    </dependency>
  </dependencies>

</project>