Skip to content

The Unified and Autonomous Development Platform

remove commons.maven archetype

robin12256a3246bc
diff --git a/commons.tapestry/src/main/resources/META-INF/maven/archetype-metadata.xml b/commons.tapestry/src/main/resources/META-INF/maven/archetype-metadata.xml
deleted file mode 100644
index 904fb7a4bb..0000000000
--- a/commons.tapestry/src/main/resources/META-INF/maven/archetype-metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<archetype-descriptor name="archetype.plugin">
- <fileSets>
- <fileSet filtered="true" packaged="true">
- <directory>src/main/java</directory>
- </fileSet>
- <fileSet filtered="false" packaged="false">
- <directory>src/main/resources</directory>
- </fileSet>
- <fileSet filtered="false" packaged="false">
- <directory>src/test/java</directory>
- </fileSet>
- <fileSet filtered="false" packaged="false">
- <directory>src/test/resources</directory>
- </fileSet>
- </fileSets>
-</archetype-descriptor>
\ No newline at end of file
diff --git a/commons.tapestry/src/main/resources/archetype-resource/pom.xml b/commons.tapestry/src/main/resources/archetype-resource/pom.xml
deleted file mode 100644
index dffd0e9ed9..0000000000
--- a/commons.tapestry/src/main/resources/archetype-resource/pom.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-<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>
-#if (\${groupId} != "com.pmease")
- <groupId>\${groupId}</groupId>
-#end
- <artifactId>\${artifactId}</artifactId>
-#if (\${version} != "1.0.5")
- <version>\${version}</version>
-#end
- <parent>
- <groupId>com.pmease</groupId>
- <artifactId>parent.general</artifactId>
- <version>1.0.5</version>
- </parent>
-
- <build>
- <plugins>
- <plugin>
- <groupId>com.pmease</groupId>
- <artifactId>plugin.maven</artifactId>
- </plugin>
- <plugin>
- <artifactId>maven-source-plugin</artifactId>
- </plugin>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>${project.artifactId}</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
-
- <repositories>
- <repository>
- <id>pmeaseRepo</id>
- <name>PMEase Repository</name>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- <checksumPolicy>fail</checksumPolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- <checksumPolicy>fail</checksumPolicy>
- </snapshots>
- <url>http://artifact.pmease.com/</url>
- </repository>
- </repositories>
-
- <properties>
- <moduleClass>\${package}.PluginModule</moduleClass>
- </properties>
-
-</project>
diff --git a/commons.tapestry/src/main/resources/archetype-resource/src/main/java/Plugin.java b/commons.tapestry/src/main/resources/archetype-resource/src/main/java/Plugin.java
deleted file mode 100644
index da8842a8e2..0000000000
--- a/commons.tapestry/src/main/resources/archetype-resource/src/main/java/Plugin.java
+++ /dev/null
@@ -1,13 +0,0 @@
-package ${package};
-
-import java.util.Collection;
-import com.pmease.commons.loader.AbstractPlugin;
-
-public class Plugin extends AbstractPlugin {
-
- @Override
- public Collection<?> getExtensions() {
- return null;
- }
-
-}
diff --git a/commons.tapestry/src/main/resources/archetype-resource/src/main/java/PluginModule.java b/commons.tapestry/src/main/resources/archetype-resource/src/main/java/PluginModule.java
deleted file mode 100644
index d566c299ba..0000000000
--- a/commons.tapestry/src/main/resources/archetype-resource/src/main/java/PluginModule.java
+++ /dev/null
@@ -1,24 +0,0 @@
-package ${package};
-
-import com.pmease.commons.loader.AbstractPlugin;
-import com.pmease.commons.loader.AbstractPluginModule;
-
-/**
- * NOTE: Do not forget to rename moduleClass property defined in the pom if you've renamed this class.
- *
- */
-public class PluginModule extends AbstractPluginModule {
-
- @Override
- protected void configure() {
- super.configure();
-
- // put your guice bindings here
- }
-
- @Override
- protected Class<? extends AbstractPlugin> getPluginClass() {
- return Plugin.class;
- }
-
-}
diff --git a/commons.wicket/pom.xml b/commons.wicket/pom.xml
index 7d93e1b561..a7f2c4c35c 100644
--- a/commons.wicket/pom.xml
+++ b/commons.wicket/pom.xml
@@ -3,9 +3,9 @@
<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>
- <artifactId>parent.plugin</artifactId>
+ <artifactId>parent.general</artifactId>
<groupId>com.pmease</groupId>
- <version>1.0.5</version>
+ <version>1.0.7</version>
</parent>
<artifactId>commons.wicket</artifactId>
<build>
@@ -74,5 +74,4 @@
<url>http://artifact.pmease.com/</url>
</repository>
</repositories>
- <version>1.0.7</version>
</project>