Skip to content

Commit

Permalink
[BACKLOG-17631] decouple analyticquery step as a plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcsantos committed Aug 10, 2017
1 parent bd281ca commit d4e2aee
Show file tree
Hide file tree
Showing 19 changed files with 131 additions and 1 deletion.
15 changes: 15 additions & 0 deletions plugins/core/analyticquery/assemblies/plugin/pom.xml
@@ -0,0 +1,15 @@
<?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/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>pdi-analyticquery-plugin-assemblies</artifactId>
<groupId>org.pentaho.di.plugins</groupId>
<version>8.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>pdi-analyticquery-plugin</artifactId>
<packaging>pom</packaging>

</project>
@@ -0,0 +1,26 @@
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
<id>plugin</id>
<formats>
<format>zip</format>
</formats>
<baseDirectory>pdi-analyticquery-plugin</baseDirectory>

<files>
<file>
<source>${project.basedir}/src/main/resources/version.xml</source>
<outputDirectory>.</outputDirectory>
<filtered>true</filtered>
</file>
</files>

<dependencySets>
<dependencySet>
<outputDirectory>.</outputDirectory>
<includes>
<include>org.pentaho.di.plugins:pdi-analyticquery-plugin-impl:jar</include>
</includes>
<useProjectArtifact>false</useProjectArtifact>
</dependencySet>
</dependencySets>
</assembly>
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<version branch='TRUNK'>${project.version}</version>
18 changes: 18 additions & 0 deletions plugins/core/analyticquery/assemblies/pom.xml
@@ -0,0 +1,18 @@
<?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/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>analyticquery</artifactId>
<groupId>org.pentaho.di.plugins</groupId>
<version>8.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>pdi-analyticquery-plugin-assemblies</artifactId>
<packaging>pom</packaging>
<modules>
<module>plugin</module>
</modules>

</project>
46 changes: 46 additions & 0 deletions plugins/core/analyticquery/impl/pom.xml
@@ -0,0 +1,46 @@
<?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/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>analyticquery</artifactId>
<groupId>org.pentaho.di.plugins</groupId>
<version>8.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>pdi-analyticquery-plugin-impl</artifactId>

<properties>
<kettle.version>8.0-SNAPSHOT</kettle.version>
</properties>

<dependencies>
<dependency>
<groupId>pentaho-kettle</groupId>
<artifactId>kettle-core</artifactId>
<version>${kettle.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>pentaho-kettle</groupId>
<artifactId>kettle-engine</artifactId>
<version>${kettle.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>pentaho</groupId>
<artifactId>metastore</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>pentaho-kettle</groupId>
<artifactId>kettle-engine</artifactId>
<version>${kettle.version}</version>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
</dependencies>

</project>
22 changes: 22 additions & 0 deletions plugins/core/analyticquery/pom.xml
@@ -0,0 +1,22 @@
<?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/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>pdi-core-plugins</artifactId>
<groupId>org.pentaho.di.plugins</groupId>
<version>8.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>analyticquery</artifactId>
<name>PDI AnalyticQuery Step Plugin</name>
<packaging>pom</packaging>

<modules>
<module>impl</module>
<module>assemblies</module>
</modules>


</project>
3 changes: 2 additions & 1 deletion plugins/core/pom.xml
Expand Up @@ -16,6 +16,7 @@
<modules>
<module>abort</module>
<module>append</module>
<module>analyticquery</module>
</modules>

</project>
</project>

0 comments on commit d4e2aee

Please sign in to comment.