| <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.qi4j</groupId> |
| <artifactId>qi4j-core</artifactId> |
| <version>1.2</version> |
| <name>Qi4j Core (Build POM)</name> |
| <packaging>pom</packaging> |
| <description> |
| Qi4j Core is the core modules needed for developing Qi4j applications. |
| Qi4j is a Composite Oriented Programming runtime for Java. |
| </description> |
| |
| <!-- This POM is ONLY to initiate the modules to be built. --> |
| <modules> |
| <module>build-tools</module> |
| <module>api</module> |
| <module>bootstrap</module> |
| <module>runtime</module> |
| <module>spi</module> |
| <module>testsupport</module> |
| </modules> |
| |
| <properties> |
| <version.asm>3.2</version.asm> |
| <scmVersion>1.2</scmVersion> |
| </properties> |
| |
| <inceptionYear>2007</inceptionYear> |
| <url>http://www.qi4j.org/</url> |
| |
| <scm> |
| <url>http://dscm.ops4j.org/git/gitweb.cgi?p=qi4j-core.git;a=summary</url> |
| <connection>scm:git:git://dscm.ops4j.org/qi4j-core.git</connection> |
| <developerConnection>scm:git:git@dscm.ops4j.org:qi4j-core.git</developerConnection> |
| </scm> |
| |
| <developers> |
| <developer> |
| <id>niclas@hedhman.org</id> |
| <name>Niclas Hedhman</name> |
| <email>niclas@codedragons.com</email> |
| <url>http://www.codedragons.com</url> |
| <organization>CodeDragons</organization> |
| <organizationUrl>http://www.codedragons.com</organizationUrl> |
| <timezone>UTC+8</timezone> |
| </developer> |
| <developer> |
| <id>rickardoberg</id> |
| <name>Rickard Öberg</name> |
| <email>rickard.oberg@jayway.se</email> |
| <url>http://www.jayway.se</url> |
| <organization>Jayway</organization> |
| <organizationUrl>http://www.jayway.se</organizationUrl> |
| <timezone>UTC+1</timezone> |
| </developer> |
| <developer> |
| <id>edward.yakop@gmail.com</id> |
| <name>Edward Yakop</name> |
| <email>efy@codedragons.com</email> |
| <url>http://www.codedragons.com</url> |
| <organization>CodeDragons</organization> |
| <organizationUrl>http://www.codedragons.com</organizationUrl> |
| <timezone>UTC+8</timezone> |
| </developer> |
| <developer> |
| <id>adreghiciu@gmail.com</id> |
| <name>Alin Dreghiciu</name> |
| <email>adreghiciu@codedragons.com</email> |
| <url>http://www.codedragons.com</url> |
| <organization>CodeDragons</organization> |
| <organizationUrl>http://www.codedragons.com</organizationUrl> |
| <timezone>UTC+2</timezone> |
| </developer> |
| <developer> |
| <id>mesirii</id> |
| <name>Michael Hunger</name> |
| <organization /> |
| <email>qi4j@jexp.de</email> |
| <timezone>CET</timezone> |
| </developer> |
| <developer> |
| <id>stas.dev+qi4j@gmail.com</id> |
| <name>Stanislav Muhametsin</name> |
| <email>stas.dev+qi4j@gmail.com</email> |
| <timezone>UTC+2</timezone> |
| </developer> |
| </developers> |
| |
| <build> |
| <extensions> |
| <extension> |
| <groupId>org.apache.maven.wagon</groupId> |
| <artifactId>wagon-ssh-external</artifactId> |
| <version>1.0-alpha-6</version> |
| </extension> |
| </extensions> |
| |
| <plugins> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <version>1.0-beta-1</version> |
| <executions> |
| <execution> |
| <id>enforce-plugin-versions</id> |
| <goals> |
| <goal>enforce</goal> |
| </goals> |
| <configuration> |
| <rules> |
| <requirePluginVersions> |
| <message>Best Practice is to always define plugin versions!</message> |
| <banLatest>true</banLatest> |
| <banRelease>true</banRelease> |
| <banSnapshots>true</banSnapshots> |
| <phases>clean,deploy,site</phases> |
| <additionalPlugins> |
| <additionalPlugin>org.apache.maven.plugins:maven-reactor-plugin |
| </additionalPlugin> |
| </additionalPlugins> |
| </requirePluginVersions> |
| </rules> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>1.5</source> |
| <target>1.5</target> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <dependencies> |
| <dependency> |
| <groupId>org.qi4j</groupId> |
| <artifactId>qi4j-buildtools</artifactId> |
| <version>${pom.version}</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>2.0.0</version> |
| <extensions>true</extensions> |
| <configuration> |
| <instructions> |
| <Bundle-DocURL>${pom.url}</Bundle-DocURL> |
| <_include>-osgi.bundle</_include> |
| </instructions> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-scm-plugin</artifactId> |
| <version>${scmVersion}</version> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven.scm</groupId> |
| <artifactId>maven-scm-provider-gitexe</artifactId> |
| <version>${scmVersion}</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-release-plugin</artifactId> |
| <version>2.0-beta-9</version> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven.scm</groupId> |
| <artifactId>maven-scm-api</artifactId> |
| <version>${scmVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-utils</artifactId> |
| <version>1.5.6</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.scm</groupId> |
| <artifactId>maven-scm-provider-gitexe</artifactId> |
| <version>${scmVersion}</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <forkMode>once</forkMode> |
| <includes> |
| <include>**/*Test.java</include> |
| <include>**/*TestCase.java</include> |
| </includes> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>com.atlassian.maven.plugins</groupId> |
| <artifactId>maven-clover2-plugin</artifactId> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>2.4.1</version> |
| <configuration> |
| <encoding>UTF-8</encoding> |
| </configuration> |
| </plugin> |
| |
| </plugins> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>com.atlassian.maven.plugins</groupId> |
| <artifactId>maven-clover2-plugin</artifactId> |
| <version>2.6.3</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-clean-plugin</artifactId> |
| <version>2.4</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <version>2.5</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.4.3</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-reactor-plugin</artifactId> |
| <version>1.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>2.0.4</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>2.0.2</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-install-plugin</artifactId> |
| <version>2.2</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-site-plugin</artifactId> |
| <version>2.0-beta-7</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>2.4</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>2.3</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.2</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <version>1.0-alpha-4</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.5</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-project-info-reports-plugin</artifactId> |
| <version>2.1.2</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-report-plugin</artifactId> |
| <version>2.5</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| <version>2.4</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| |
| <distributionManagement> |
| <repository> |
| <id>ops4j.releases.deploy</id> |
| <url>scpexe://repository.ops4j.org/var/http/repository.ops4j.org/maven2</url> |
| </repository> |
| <snapshotRepository> |
| <id>ops4j.snapshots.deploy</id> |
| <url>scpexe://repository.ops4j.org/var/http/repository.ops4j.org/mvn-snapshots</url> |
| </snapshotRepository> |
| <site> |
| <id>ops4j.website.deploy</id> |
| <url>scpexe://dist.qi4j.org/home/www/web.ops4j.org/projects/qi4j/core</url> |
| </site> |
| </distributionManagement> |
| |
| <licenses> |
| <license> |
| <name>Apache License v2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0</url> |
| <distribution>repo</distribution> |
| <comments>Copyrights retained by each developer.</comments> |
| </license> |
| </licenses> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <configuration> |
| <minmemory>128m</minmemory> |
| <maxmemory>512</maxmemory> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-pmd-plugin</artifactId> |
| <configuration> |
| <targetJdk>1.5</targetJdk> |
| <sourceEncoding>utf-8</sourceEncoding> |
| <minimumTokens>100</minimumTokens> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-project-info-reports-plugin</artifactId> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <configuration> |
| <configLocation>qi4j-checkstyle.xml</configLocation> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jxr-plugin</artifactId> |
| <version>2.0</version> |
| <configuration> |
| <aggregate>true</aggregate> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>cobertura-maven-plugin</artifactId> |
| <version>2.1</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-report-plugin</artifactId> |
| <configuration> |
| <aggregate>true</aggregate> |
| </configuration> |
| </plugin> |
| </plugins> |
| </reporting> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.easymock</groupId> |
| <artifactId>easymock</artifactId> |
| <version>2.3</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.4</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>osgi_R4_compendium</artifactId> |
| <version>1.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>osgi_R4_core</artifactId> |
| <version>1.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>1.6.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| <version>1.6.1</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| |
| <!-- Once we start using Sonatype OSS Nexus server and the Central Repo, we need the following profiles. |
| Taking them out for now, to minimize confusion. |
| <profiles> |
| <profile> |
| <id>release</id> |
| <build> |
| <plugins> |
| <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> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>repos.sonatype</id> |
| <distributionManagement> |
| <repository> |
| <id>sonatype.releases.deploy</id> |
| <url>http://oss.sonatype.org/content/repositories/qi4j-releases/</url> |
| </repository> |
| <snapshotRepository> |
| <id>sonatype.snapshots.deploy</id> |
| <url>http://oss.sonatype.org/content/repositories/qi4j-snapshots/</url> |
| </snapshotRepository> |
| </distributionManagement> |
| </profile> |
| <profile> |
| <id>repos.sonatype.staging</id> |
| <distributionManagement> |
| <repository> |
| <id>sonatype.staging.releases.deploy</id> |
| <url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| </repository> |
| </distributionManagement> |
| </profile> |
| </profiles> |
| --> |
| |
| </project> |