diff options
author | Tyler Hawkes <tylerhawkes@users.noreply.github.com> | 2018-01-18 03:55:27 -0700 |
---|---|---|
committer | Decebal Suiu <decebal.suiu@gmail.com> | 2018-01-18 12:55:27 +0200 |
commit | 77801cc19de4d800089b164e447b571ad8c75034 (patch) | |
tree | 42722889ec97bceb6fcf8582b0f424d2bb12d564 /demo/plugins/plugin2 | |
parent | 44acc380810180593c8c6e85f80f5274d71540a2 (diff) | |
download | pf4j-77801cc19de4d800089b164e447b571ad8c75034.tar.gz pf4j-77801cc19de4d800089b164e447b571ad8c75034.zip |
Changing packaging (#194)
Diffstat (limited to 'demo/plugins/plugin2')
-rw-r--r-- | demo/plugins/plugin2/pom.xml | 91 | ||||
-rw-r--r-- | demo/plugins/plugin2/src/main/assembly/assembly.xml | 37 |
2 files changed, 0 insertions, 128 deletions
diff --git a/demo/plugins/plugin2/pom.xml b/demo/plugins/plugin2/pom.xml index 9a844fd..fb2d223 100644 --- a/demo/plugins/plugin2/pom.xml +++ b/demo/plugins/plugin2/pom.xml @@ -21,95 +21,4 @@ <plugin.dependencies /> </properties> - <build> - <plugins> - <!-- DOESN'T WORK WITH MAVEN 3 (I defined the plugin metadata in properties section) - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>properties-maven-plugin</artifactId> - <version>1.0-alpha-2</version> - <executions> - <execution> - <phase>initialize</phase> - <goals> - <goal>read-project-properties</goal> - </goals> - <configuration> - <files> - <file>plugin.properties</file> - </files> - </configuration> - </execution> - </executions> - </plugin> - --> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-antrun-plugin</artifactId> - <version>1.6</version> - <executions> - <execution> - <id>unzip jar file</id> - <phase>package</phase> - <configuration> - <target> - <unzip src="target/${project.artifactId}-${project.version}.${project.packaging}" dest="target/plugin-classes" /> - </target> - </configuration> - <goals> - <goal>run</goal> - </goals> - </execution> - </executions> - </plugin> - - <plugin> - <artifactId>maven-assembly-plugin</artifactId> - <version>2.3</version> - <configuration> - <descriptors> - <descriptor> - src/main/assembly/assembly.xml - </descriptor> - </descriptors> - <appendAssemblyId>false</appendAssemblyId> - </configuration> - <executions> - <execution> - <id>make-assembly</id> - <phase>package</phase> - <goals> - <goal>attached</goal> - </goals> - </execution> - </executions> - </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jar-plugin</artifactId> - <version>2.4</version> - <configuration> - <archive> - <manifestEntries> - <Plugin-Id>${plugin.id}</Plugin-Id> - <Plugin-Class>${plugin.class}</Plugin-Class> - <Plugin-Version>${plugin.version}</Plugin-Version> - <Plugin-Provider>${plugin.provider}</Plugin-Provider> - <Plugin-Dependencies>${plugin.dependencies}</Plugin-Dependencies> - </manifestEntries> - </archive> - </configuration> - </plugin> - - <plugin> - <artifactId>maven-deploy-plugin</artifactId> - <configuration> - <skip>true</skip> - </configuration> - </plugin> - </plugins> - </build> - </project> diff --git a/demo/plugins/plugin2/src/main/assembly/assembly.xml b/demo/plugins/plugin2/src/main/assembly/assembly.xml deleted file mode 100644 index 4eacbe3..0000000 --- a/demo/plugins/plugin2/src/main/assembly/assembly.xml +++ /dev/null @@ -1,37 +0,0 @@ -<!-- - Describes the plugin archive - - @author Decebal Suiu - @version 1.0 ---> -<assembly> - <id>plugin</id> - <formats> - <format>zip</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <useProjectArtifact>false</useProjectArtifact> - <scope>runtime</scope> - <outputDirectory>lib</outputDirectory> - <includes> - <include>*:jar:*</include> - </includes> - </dependencySet> - </dependencySets> - <!-- - <fileSets> - <fileSet> - <directory>target/classes</directory> - <outputDirectory>classes</outputDirectory> - </fileSet> - </fileSets> - --> - <fileSets> - <fileSet> - <directory>target/plugin-classes</directory> - <outputDirectory>classes</outputDirectory> - </fileSet> - </fileSets> -</assembly> |