| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <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/xsd/maven-4.0.0.xsd"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache</groupId> |
| <artifactId>apache</artifactId> |
| <version>10</version> |
| </parent> |
| |
| <groupId>org.apache.karaf</groupId> |
| <artifactId>webconsole</artifactId> |
| <version>0.3.0-SNAPSHOT</version> |
| |
| <name>Apache Karaf :: WebConsole</name> |
| |
| <packaging>pom</packaging> |
| |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/karaf/webconsole/trunk</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/karaf/webconsole/trunk</developerConnection> |
| <url>http://svn.apache.org/viewvc/karaf/webconsole/trunk/</url> |
| </scm> |
| |
| <properties> |
| <osgi.version>4.2.0</osgi.version> |
| <jetty.version>6.1.25</jetty.version> |
| <felix-metatype.version>1.0.4</felix-metatype.version> |
| <felix-prefs.version>1.0.4</felix-prefs.version> |
| <felix-scr.version>1.6.0</felix-scr.version> |
| <slf4j.version>1.6.1</slf4j.version> |
| <log4j.version>1.2.14</log4j.version> |
| <ops4j.paxwicket.version>1.1.0</ops4j.paxwicket.version> |
| <karaf.version>2.2.8</karaf.version> |
| <nmr.version>1.4.0</nmr.version> |
| <camel.version>2.6.0</camel.version> |
| <cxf.version>2.5.1</cxf.version> |
| <maven-bundle.version>2.3.7</maven-bundle.version> |
| </properties> |
| |
| <modules> |
| <module>core</module> |
| <module>osgi</module> |
| <module>karaf</module> |
| <module>servicemix</module> |
| <module>camel</module> |
| <module>cxf</module> |
| <module>web</module> |
| |
| <module>examples</module> |
| <module>manual</module> |
| <module>itest</module> |
| |
| <module>assembly</module> |
| </modules> |
| |
| <build> |
| <pluginManagement> |
| <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> |
| </pluginManagement> |
| </build> |
| |
| <repositories> |
| <repository> |
| <id>apache-snapshot</id> |
| <name>Apache Snapshots</name> |
| <url>http://repository.apache.org/content/groups/snapshots-group/</url> |
| <snapshots> |
| <enabled>true</enabled> |
| </snapshots> |
| <releases> |
| <enabled>false</enabled> |
| </releases> |
| </repository> |
| <repository> |
| <id>sonatype</id> |
| <name>sonatype repo</name> |
| <url>http://oss.sonatype.org/content/repositories/ops4j-snapshots/</url> |
| <snapshots> |
| <enabled>true</enabled> |
| </snapshots> |
| <releases> |
| <enabled>false</enabled> |
| </releases> |
| </repository> |
| </repositories> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.metatype</artifactId> |
| <version>${felix-metatype.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.prefs</artifactId> |
| <version>${felix-prefs.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.scr</artifactId> |
| <version>${felix-scr.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| <version>${osgi.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.compendium</artifactId> |
| <version>${osgi.version}</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <profiles> |
| <profile> |
| <id>fastinstall</id> |
| <properties> |
| <maven.test.skip>true</maven.test.skip> |
| </properties> |
| </profile> |
| <profile> |
| <id>rat</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>0.8</version> |
| <executions> |
| <execution> |
| <phase>verify</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <reportFile>${project.build.directory}/${project.build.finalName}.rat</reportFile> |
| <excludeSubProjects>false</excludeSubProjects> |
| <excludes> |
| <exclude>**/target/**/*</exclude> |
| <!-- GIT files --> |
| <exclude>**/.git/**/*</exclude> |
| <!-- IDEA files --> |
| <exclude>**/.idea/**/*</exclude> |
| <exclude>**/*.iml</exclude> |
| <exclude>**/*.ipr</exclude> |
| <exclude>**/*.iws</exclude> |
| <!-- Eclipse files --> |
| <exclude>**/.*</exclude> |
| <exclude>**/bin/**/*</exclude> |
| <exclude>**/.settings/**/*</exclude> |
| <exclude>**/eclipse-classes/**/*</exclude> |
| <exclude>**/dependency-reduced-pom.xml</exclude> |
| <!-- resources file --> |
| <exclude>**/bundle.info</exclude> |
| <exclude>**/goal.txt</exclude> |
| <exclude>**/grep.txt</exclude> |
| <exclude>**/edit.txt</exclude> |
| <exclude>**/foo</exclude> |
| <exclude>**/org.ops4j.pax.exam.TestContainerFactory</exclude> |
| <!--manual resources --> |
| <exclude>**/*.css</exclude> |
| <exclude>**/*.ssp</exclude> |
| <exclude>**/*.conf</exclude> |
| <!-- javascript was/will be checked hand --> |
| <exclude>**/*.js</exclude> |
| </excludes> |
| </configuration> |
| <inherited>true</inherited> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>release</id> |
| <build> |
| <plugins> |
| <!-- We want to deploy the artifact to a staging location for perusal --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <inherited>true</inherited> |
| <configuration> |
| <altDeploymentRepository>${deploy.altRepository}</altDeploymentRepository> |
| <updateReleaseInfo>true</updateReleaseInfo> |
| </configuration> |
| </plugin> |
| <!-- We want to sign the artifact, the POM, and all attached artifacts --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>sign-artifacts</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>sign</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>make-assembly</id> |
| <phase>none</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-assemblies</id> |
| <phase>none</phase> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>setup.eclipse</id> |
| <modules> |
| <module>assembly</module> |
| </modules> |
| <properties> |
| <eclipse.workspace.dir>${basedir}/../workspace</eclipse.workspace.dir> |
| </properties> |
| <build> |
| <defaultGoal>eclipse:eclipse</defaultGoal> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-eclipse-plugin</artifactId> |
| <inherited>false</inherited> |
| <executions> |
| <execution> |
| <id>setup.eclipse.workspace</id> |
| <phase>process-test-sources</phase> |
| <goals> |
| <goal>add-maven-repo</goal> |
| </goals> |
| <configuration> |
| <workspace>${eclipse.workspace.dir}</workspace> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>deploy</id> |
| <properties> |
| <createSourcesJar>true</createSourcesJar> |
| </properties> |
| <build> |
| <defaultGoal>deploy</defaultGoal> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <configuration> |
| <source>1.5</source> |
| </configuration> |
| <executions> |
| <execution> |
| <id>attach-javadocs</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |