diff options
author | Pascal Rapicault | 2010-12-06 22:10:52 +0000 |
---|---|---|
committer | Pascal Rapicault | 2010-12-06 22:10:52 +0000 |
commit | fbb4f5902cade92cc1689e73209c60a6413a5ef7 (patch) | |
tree | ace0fb107bafe980fc14fd7f3429e5c9aac2d795 /org.eclipse.m2e.archetype.common/pom.xml | |
parent | a9c878c2624b33d8c74062717bf75302f0ae1fa7 (diff) | |
download | m2e-core-fbb4f5902cade92cc1689e73209c60a6413a5ef7.tar.gz m2e-core-fbb4f5902cade92cc1689e73209c60a6413a5ef7.tar.xz m2e-core-fbb4f5902cade92cc1689e73209c60a6413a5ef7.zip |
Initial commit at Eclipse
Diffstat (limited to 'org.eclipse.m2e.archetype.common/pom.xml')
-rw-r--r-- | org.eclipse.m2e.archetype.common/pom.xml | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/org.eclipse.m2e.archetype.common/pom.xml b/org.eclipse.m2e.archetype.common/pom.xml new file mode 100644 index 00000000..1d4afbd2 --- /dev/null +++ b/org.eclipse.m2e.archetype.common/pom.xml @@ -0,0 +1,90 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (c) 2008 Sonatype, Inc. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html +--> +<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.eclipse.m2e</groupId> + <artifactId>org.eclipse.m2e.parent</artifactId> + <version>0.13.0-SNAPSHOT</version> + <relativePath>../org.eclipse.m2e.parent</relativePath> + </parent> + + <artifactId>org.eclipse.m2e.archetype.common</artifactId> + <packaging>eclipse-plugin</packaging> + + <name>Maven Archetype Common Bundle</name> + + <profiles> + <profile> + <id>update-dependencies</id> + <dependencies> + <dependency> + <groupId>org.apache.maven.archetype</groupId> + <artifactId>archetype-common</artifactId> + </dependency> + </dependencies> + <build> + <plugins> + <plugin> + <artifactId>maven-clean-plugin</artifactId> + <configuration> + <filesets> + <fileset> + <directory>jars</directory> + <followSymlinks>false</followSymlinks> + <includes> + <include>**/*.jar</include> + </includes> + </fileset> + <fileset> + <directory>META-INF</directory> + <followSymlinks>false</followSymlinks> + <includes> + <include>**/MANIFEST.MF</include> + </includes> + </fileset> + </filesets> + </configuration> + </plugin> + + <plugin> + <groupId>org.sonatype.tycho</groupId> + <artifactId>maven-osgi-packaging-plugin</artifactId> + <executions> + <execution> + <phase>process-classes</phase> + <goals> + <goal>generate-bundle</goal> + </goals> + </execution> + </executions> + <configuration> + <packageSources>false</packageSources> + <exportPackages> + org.apache.maven.archetype.* + </exportPackages> + <manifestAttributes> + <Bundle-RequiredExecutionEnvironment>J2SE-1.5, JavaSE-1.6</Bundle-RequiredExecutionEnvironment> + </manifestAttributes> + <requireBundles> + <requireBundle> + <groupId>org.eclipse.m2e</groupId> + <artifactId>org.eclipse.m2e.maven.runtime</artifactId> + <version>${maven_embedder.version}</version> + </requireBundle> + </requireBundles> + </configuration> + </plugin> + </plugins> + </build> + </profile> + </profiles> + +</project> |