| <?xml version="1.0" encoding="UTF-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"> |
| |
| <!-- |
| |
| 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. |
| --> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.servicemix</groupId> |
| <artifactId>servicemix</artifactId> |
| <version>3.4.1-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>parent</artifactId> |
| <name>ServiceMix :: Parent</name> |
| <packaging>pom</packaging> |
| |
| <profiles> |
| <profile> |
| <id>fastinstall</id> |
| <properties> |
| <maven.test.skip>true</maven.test.skip> |
| </properties> |
| </profile> |
| <profile> |
| <id>nochecks</id> |
| </profile> |
| |
| <profile> |
| <!-- default profile enables checkstyle and Xlint stuff --> |
| <id>sourcecheck</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.servicemix</groupId> |
| <artifactId>servicemix-build</artifactId> |
| <version>1.0</version> |
| </dependency> |
| </dependencies> |
| <executions> |
| <execution> |
| <id>validate</id> |
| <phase>validate</phase> |
| <configuration> |
| <configLocation>smx-checkstyle.xml</configLocation> |
| <consoleOutput>true</consoleOutput> |
| <failsOnError>true</failsOnError> |
| <linkXRef>false</linkXRef> |
| <suppressionsLocation>smx-checkstyle-suppressions.xml</suppressionsLocation> |
| <sourceDirectory>${basedir}/src</sourceDirectory> |
| <headerLocation>smx-checkstyle-header.txt</headerLocation> |
| </configuration> |
| <goals> |
| <goal>checkstyle</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| <version>2.5</version> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.servicemix</groupId> |
| <artifactId>servicemix-build</artifactId> |
| <version>1.0</version> |
| </dependency> |
| </dependencies> |
| <configuration> |
| <rulesets> |
| <ruleset>smx-pmd-ruleset.xml</ruleset> |
| </rulesets> |
| <targetJdk>1.5</targetJdk> |
| <linkXRef>false</linkXRef> |
| <includeTests>true</includeTests> |
| <verbose>true</verbose> |
| <excludeRoots> |
| <excludeRoot>${basedir}/src/main/generated</excludeRoot> |
| </excludeRoots> |
| </configuration> |
| <executions> |
| <execution> |
| <id>validate</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| <profile> |
| <id>setup.eclipse</id> |
| <build> |
| <defaultGoal>process-test-sources</defaultGoal> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-eclipse-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>setup.eclipse.project</id> |
| <phase>process-test-sources</phase> |
| <goals> |
| <goal>eclipse</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.servicemix</groupId> |
| <artifactId>servicemix-build</artifactId> |
| <version>1.0</version> |
| </dependency> |
| </dependencies> |
| <executions> |
| <execution> |
| <id>setup.workspace</id> |
| <phase>validate</phase> |
| <configuration> |
| <tasks> |
| <whichresource resource="/smx-eclipse-pmd" property="pmd.url" /> |
| <whichresource resource="/smx-pmd-ruleset.xml" property="pmdruleset.url" /> |
| <whichresource resource="/smx-eclipse-checkstyle" property="eclipse.checkstyle.url" /> |
| |
| <get src="${pmdruleset.url}" dest=".ruleset" /> |
| <get src="${pmd.url}" dest=".pmd" /> |
| <get src="${eclipse.checkstyle.url}" dest=".checkstyle" /> |
| |
| </tasks> |
| </configuration> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-remote-resources-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>process</goal> |
| </goals> |
| <configuration> |
| <resourceBundles> |
| <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle> |
| </resourceBundles> |
| <supplementalModels> |
| <supplementalModel>notice-supplements.xml</supplementalModel> |
| </supplementalModels> |
| <properties> |
| <projectName>Apache ServiceMix</projectName> |
| </properties> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |