pom.xml 9 KB
Newer Older
Nicolas Tachker's avatar
Nicolas Tachker committed
1 2 3 4 5 6 7 8
<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">
  <modelVersion>4.0.0</modelVersion>

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

  <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 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
    <!-- Profile javadoc -->
    <profile>
      <id>doc</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-javadoc-plugin</artifactId>
            <configuration>
              <show>private</show>
              <nohelp>true</nohelp>
            </configuration>
            <executions>
              <execution>
                <id>javadoc</id>
                <phase>install</phase>
                <goals>
                  <goal>aggregate</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
Nicolas Tachker's avatar
Nicolas Tachker committed
90
      <!-- reporting -->
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
      <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
106 107 108 109 110 111
  <!-- Source code management -->
  <scm>
    <connection>scm:svn:svn://svn.forge.objectweb.org/svnroot/joram/trunk/joram</connection>
    <developerConnection>scm:svn:svn+ssh://svn.forge.objectweb.org/svnroot/joram/trunk/joram</developerConnection>
  </scm>
  
Nicolas Tachker's avatar
Nicolas Tachker committed
112 113 114 115 116 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 155 156 157 158
  <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>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>
    </plugins>
  </build>
  
  <properties>
159
    <!--  dependencies versions -->
Nicolas Tachker's avatar
Nicolas Tachker committed
160 161 162 163
    <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>
164
    <jftp.version>1.52</jftp.version>
Nicolas Tachker's avatar
Nicolas Tachker committed
165 166 167 168 169 170 171 172 173
    <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>
174 175 176 177
    <felix.main.version>3.0.1</felix.main.version>
    <felix.shell.version>1.4.1</felix.shell.version>
    <felix.remote.version>1.0.4</felix.remote.version>
    <felix.tui.version>1.4.1</felix.tui.version>
178 179
    <!-- to prevent [WARNING] Using platform encoding -->
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Nicolas Tachker's avatar
Nicolas Tachker committed
180 181 182 183 184 185 186 187 188 189 190 191 192 193 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
  </properties>

  <organization>
    <name>ScalAgent D.T.</name>
    <url>http://joram.objectweb.org/</url>
  </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>
260 261 262 263 264 265
      <dependency>
        <groupId>org.objectweb.joram</groupId>
        <artifactId>jftp</artifactId>
        <version>${jftp.version}</version>
        <type>jar</type>
      </dependency>
Nicolas Tachker's avatar
Nicolas Tachker committed
266 267 268 269 270 271 272
    </dependencies>
  </dependencyManagement>

  <dependencies>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi.compendium</artifactId>
Nicolas Tachker's avatar
Nicolas Tachker committed
273
      <scope>provided</scope>
Nicolas Tachker's avatar
Nicolas Tachker committed
274 275 276 277
    </dependency>
    <dependency>
      <groupId>org.osgi</groupId>
      <artifactId>org.osgi</artifactId>
Nicolas Tachker's avatar
Nicolas Tachker committed
278
      <scope>provided</scope>
Nicolas Tachker's avatar
Nicolas Tachker committed
279 280 281 282
    </dependency>
    <dependency>
      <groupId>org.ow2.jonas.osgi</groupId>
      <artifactId>monolog</artifactId>
Nicolas Tachker's avatar
Nicolas Tachker committed
283
      <scope>provided</scope>
Nicolas Tachker's avatar
Nicolas Tachker committed
284 285 286 287
    </dependency>
  </dependencies>

</project>