Created
June 5, 2015 18:35
-
-
Save pentaho-nbaker/43346eb1303f4caf85e4 to your computer and use it in GitHub Desktop.
feature xml and kar generation, attached artifacts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <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> | |
| <parent> | |
| <groupId>pentaho</groupId> | |
| <artifactId>pdi-osgi-bridge-parent</artifactId> | |
| <relativePath>../../pom.xml</relativePath> | |
| <version>6.0-SNAPSHOT</version> | |
| </parent> | |
| <artifactId>pentaho-osgi-step-examples</artifactId> | |
| <packaging>bundle</packaging> | |
| <name>Pentaho Community Edition Project: ${project.artifactId}</name> | |
| <description>a Pentaho open source project</description> | |
| <url>http://www.pentaho.com</url> | |
| <properties> | |
| <paxexamversion>4.1.0</paxexamversion> | |
| <dependency.pentaho.pentaho-xul-core.version>TRUNK-SNAPSHOT</dependency.pentaho.pentaho-xul-core.version> | |
| </properties> | |
| <dependencies> | |
| <dependency> | |
| <groupId>pentaho-kettle</groupId> | |
| <artifactId>kettle-core</artifactId> | |
| <version>${dependency.pentaho-kettle.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>pentaho-kettle</groupId> | |
| <artifactId>kettle-engine</artifactId> | |
| <version>${dependency.pentaho-kettle.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>pentaho-kettle</groupId> | |
| <artifactId>kettle-ui-swt</artifactId> | |
| <version>${dependency.pentaho-kettle.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>pentaho</groupId> | |
| <artifactId>pentaho-xul-core</artifactId> | |
| <version>${dependency.pentaho.pentaho-xul-core.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.yaml</groupId> | |
| <artifactId>snakeyaml</artifactId> | |
| <version>1.13</version> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <finalName>${project.artifactId}</finalName> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.felix</groupId> | |
| <artifactId>maven-bundle-plugin</artifactId> | |
| <version>2.3.7</version> | |
| <extensions>true</extensions> | |
| <configuration> | |
| <instructions> | |
| <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> | |
| <Bundle-Version>${project.version}</Bundle-Version> | |
| <Export-Package>org.pentaho.di.plugins.examples.step</Export-Package> | |
| <Import-Package>org.eclipse.swt.*;resolution:=optional,org.pentaho.di.osgi,org.pentaho.di.core.plugins,org.pentaho.di.ui.*;resolution:=optional,*</Import-Package> | |
| </instructions> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.karaf.tooling</groupId> | |
| <artifactId>features-maven-plugin</artifactId> | |
| <version>2.3.7</version> | |
| <executions> | |
| <execution> | |
| <id>generate</id> | |
| <phase>generate-resources</phase> | |
| <goals> | |
| <goal>generate-features-xml</goal> | |
| </goals> | |
| <configuration> | |
| <!--<bundles>src/main/resources/bundles.properties</bundles>--> | |
| <kernelVersion>2.2.11</kernelVersion> | |
| <outputFile>target/features.xml</outputFile> | |
| </configuration> | |
| </execution> | |
| <execution> | |
| <id>create-kar</id> | |
| <phase></phase> | |
| <goals> | |
| <goal>create-kar</goal> | |
| </goals> | |
| <configuration> | |
| <featuresFile>target/features.xml</featuresFile> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.apache.maven.wagon</groupId> | |
| <artifactId>wagon-http-lightweight</artifactId> | |
| <version>2.6</version> | |
| </dependency> | |
| </dependencies> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>build-helper-maven-plugin</artifactId> | |
| <version>1.9.1</version> | |
| <executions> | |
| <execution> | |
| <id>attach-artifacts</id> | |
| <phase>package</phase> | |
| <goals> | |
| <goal>attach-artifact</goal> | |
| </goals> | |
| <configuration> | |
| <artifacts> | |
| <artifact> | |
| <file>${basedir}/target/features.xml</file> | |
| <type>xml</type> | |
| <classifier>feature</classifier> | |
| </artifact> | |
| </artifacts> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| <!-- this is for bootstrapping only; you should really just add this to your settings.xml --> | |
| <repositories> | |
| <repository> | |
| <id>pentaho.resolve.repo</id> | |
| <name>Pentaho Group Resolve Repository</name> | |
| <url>http://nexus.pentaho.org/content/groups/omni/</url> | |
| <releases> | |
| <updatePolicy>always</updatePolicy> | |
| <checksumPolicy>fail</checksumPolicy> | |
| </releases> | |
| <snapshots> | |
| <updatePolicy>always</updatePolicy> | |
| <checksumPolicy>fail</checksumPolicy> | |
| </snapshots> | |
| </repository> | |
| <repository> | |
| <id>repo.pentaho.org</id> | |
| <name>repo.pentaho.org</name> | |
| <url>http://repository.pentaho.org/artifactory/pentaho</url> | |
| </repository> | |
| </repositories> | |
| </project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment