Use this in pom.xml to copy the target jar into kettle plugin folder

Use this in pom.xml to copy the target jar into kettle plugin folder

<build>
		<plugins>
			...
			<plugin>
				<artifactId>maven-antrun-plugin</artifactId>
				<version>1.4</version>
				<executions>
					<execution>
						<id>copy</id>
						<phase>package</phase>
						<configuration>
							<tasks>
								<copy file="${project.build.directory}/${project.artifactId}-${project.version}.jar" todir="/Users/peter/Downloads/data-integration/plugins/sharepoint-online/"/>
							</tasks>
						</configuration>
						<goals>
							<goal>run</goal>
						</goals>
					</execution> 
				</executions>
			</plugin>

Netbeans 8.2 bundled an old maven which is not ok to compile kettle sdk, please set it to latest maven.

!!! The nexus.pentaho.org maven repository is just super slow in hong kong, run “mvn dependency:go-offline” to cache it to your local repository

read count : 12