You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2019/05/26 15:00:13 UTC

[maven-assembly-plugin] branch REMOVE created (now 6d02d2d)

This is an automated email from the ASF dual-hosted git repository.

khmarbaise pushed a change to branch REMOVE
in repository https://gitbox.apache.org/repos/asf/maven-assembly-plugin.git.


      at 6d02d2d  Removed integration-test-archetype directory cause it is not used.

This branch includes the following new commits:

     new 6d02d2d  Removed integration-test-archetype directory cause it is not used.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-assembly-plugin] 01/01: Removed integration-test-archetype directory cause it is not used.

Posted by kh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

khmarbaise pushed a commit to branch REMOVE
in repository https://gitbox.apache.org/repos/asf/maven-assembly-plugin.git

commit 6d02d2d6d83b0ac4e434fff5b58e82e3ca1d125d
Author: Karl Heinz Marbaise <kh...@apache.org>
AuthorDate: Sat Apr 7 23:01:16 2018 +0200

    Removed integration-test-archetype directory cause it is not used.
---
 integration-test-archetype/pom.xml                 | 50 -----------------
 .../META-INF/maven/archetype-metadata.xml          | 55 -------------------
 .../main/resources/META-INF/maven/archetype.xml    | 35 ------------
 .../archetype-resources/invoker.properties         | 18 -------
 .../src/main/resources/archetype-resources/pom.xml | 62 ----------------------
 .../archetype-resources/src/java/AppTest.java      | 57 --------------------
 .../archetype-resources/src/main/assembly/bin.xml  | 37 -------------
 .../archetype-resources/src/main/java/App.java     | 32 -----------
 .../main/resources/archetype-resources/verify.bsh  | 26 ---------
 9 files changed, 372 deletions(-)

diff --git a/integration-test-archetype/pom.xml b/integration-test-archetype/pom.xml
deleted file mode 100644
index 5d6a75d..0000000
--- a/integration-test-archetype/pom.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<project>
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>org.apache.maven.archetypes</groupId>
-  <artifactId>assembly-plugin-it-archetype</artifactId>
-  <packaging>maven-archetype</packaging>
-  <name>Maven Assembly Plugin Integration Test Archetype</name>
-  <version>1.0-SNAPSHOT</version>
-  <build>
-    <extensions>
-      <extension>
-        <groupId>org.apache.maven.archetype</groupId>
-        <artifactId>archetype-packaging</artifactId>
-        <version>2.0-alpha-2</version>
-      </extension>
-    </extensions>
-    <plugins>
-      <plugin>
-        <artifactId>maven-archetype-plugin</artifactId>
-        <version>2.0-alpha-2</version>
-        <extensions>true</extensions>
-      </plugin>
-    </plugins>
-  </build>
-  <distributionManagement>
-    <repository>
-      <id>integration.test.repo</id>
-      <url>${test.remote.repo.url}</url>
-    </repository>
-  </distributionManagement>
-</project>
diff --git a/integration-test-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml b/integration-test-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml
deleted file mode 100644
index 57fdf71..0000000
--- a/integration-test-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<archetype-descriptor name="assembly-integration-test">
-  <fileSets>
-    <fileSet filtered="true" packaged="true" encoding="UTF-8">
-      <directory>src/main/java</directory>
-      <includes>
-        <include>**/*.java</include>
-      </includes>
-    </fileSet>
-    <fileSet filtered="true" packaged="true" encoding="UTF-8">
-      <directory>src/test/java</directory>
-      <includes>
-        <include>**/*.java</include>
-      </includes>
-    </fileSet>
-    <fileSet filtered="true" encoding="UTF-8">
-      <directory>src/main/assembly</directory>
-      <includes>
-        <include>**/*.xml</include>
-      </includes>
-    </fileSet>
-    <fileSet filtered="true" encoding="UTF-8">
-      <directory></directory>
-      <includes>
-        <include>goals.txt</include>
-      </includes>
-    </fileSet>
-    <fileSet encoding="UTF-8">
-      <directory></directory>
-      <includes>
-        <include>verify.bsh</include>
-      </includes>
-    </fileSet>
-  </fileSets>
-</archetype-descriptor>
diff --git a/integration-test-archetype/src/main/resources/META-INF/maven/archetype.xml b/integration-test-archetype/src/main/resources/META-INF/maven/archetype.xml
deleted file mode 100644
index 3fa2200..0000000
--- a/integration-test-archetype/src/main/resources/META-INF/maven/archetype.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<archetype>
-  <id>assembly-integration-test</id>
-  <sources>
-    <source>src/main/java/App.java</source>
-  </sources>
-  <testSources>
-    <source>src/java/AppTest.java</source>
-  </testSources>
-  <resources>
-    <resource>goals.txt</resource>
-    <resource>src/assemble/bin.xml</resource>
-    <resource>verify.bsh</resource>
-  </resources>
-</archetype>
diff --git a/integration-test-archetype/src/main/resources/archetype-resources/invoker.properties b/integration-test-archetype/src/main/resources/archetype-resources/invoker.properties
deleted file mode 100644
index c25c58c..0000000
--- a/integration-test-archetype/src/main/resources/archetype-resources/invoker.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-invoker.goals=# Specify the goals to be run here, one per line. Lines beginning with a hash '#' will be ignored. clean package
diff --git a/integration-test-archetype/src/main/resources/archetype-resources/pom.xml b/integration-test-archetype/src/main/resources/archetype-resources/pom.xml
deleted file mode 100644
index 648a8bc..0000000
--- a/integration-test-archetype/src/main/resources/archetype-resources/pom.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<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>org.apache.maven.plugin.assembly.test</groupId>
-    <artifactId>it-project-parent</artifactId>
-    <version>1</version>
-  </parent>
-  
-  <artifactId>${artifactId}</artifactId>
-  <packaging>jar</packaging>
-  
-  <dependencies>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>3.8.1</version>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-  
-  <build>
-    <plugins>
-      <plugin>
-        <artifactId>maven-assembly-plugin</artifactId>
-        <configuration>
-          <descriptors>
-            <descriptor>src/main/assembly/bin.xml</descriptor>
-          </descriptors>
-        </configuration>
-        <executions>
-          <execution>
-            <id>single-assembly</id>
-            <phase>package</phase>
-            <goals>
-              <goal>single</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git a/integration-test-archetype/src/main/resources/archetype-resources/src/java/AppTest.java b/integration-test-archetype/src/main/resources/archetype-resources/src/java/AppTest.java
deleted file mode 100644
index 41aa147..0000000
--- a/integration-test-archetype/src/main/resources/archetype-resources/src/java/AppTest.java
+++ /dev/null
@@ -1,57 +0,0 @@
-package ${package};
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-/**
- * Unit ${package} for simple App.
- */
-public class AppTest 
-    extends TestCase
-{
-    /**
-     * Create the ${package} case
-     *
-     * @param ${package}Name name of the ${package} case
-     */
-    public AppTest( String ${package}Name )
-    {
-        super( ${package}Name );
-    }
-
-    /**
-     * @return the suite of ${package}s being ${package}ed
-     */
-    public static Test suite()
-    {
-        return new TestSuite( AppTest.class );
-    }
-
-    /**
-     * Rigourous Test :-)
-     */
-    public void ${package}App()
-    {
-        assertTrue( true );
-    }
-}
diff --git a/integration-test-archetype/src/main/resources/archetype-resources/src/main/assembly/bin.xml b/integration-test-archetype/src/main/resources/archetype-resources/src/main/assembly/bin.xml
deleted file mode 100644
index 98861a8..0000000
--- a/integration-test-archetype/src/main/resources/archetype-resources/src/main/assembly/bin.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version='1.0'?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<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>bin</id>
-  <formats>
-    <format>dir</format>
-  </formats>
-  <includeBaseDirectory>false</includeBaseDirectory>
-  <dependencySets>
-    <dependencySet>
-      <scope>${test}</scope>
-      <outputDirectory>lib</outputDirectory>
-      <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
-      <unpack>false</unpack>
-    </dependencySet>
-  </dependencySets>
-</assembly>
diff --git a/integration-test-archetype/src/main/resources/archetype-resources/src/main/java/App.java b/integration-test-archetype/src/main/resources/archetype-resources/src/main/java/App.java
deleted file mode 100644
index d517f70..0000000
--- a/integration-test-archetype/src/main/resources/archetype-resources/src/main/java/App.java
+++ /dev/null
@@ -1,32 +0,0 @@
-package ${package};
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * Hello world!
- *
- */
-public class App 
-{
-    public static void main( String[] args )
-    {
-        System.out.println( "Hello World!" );
-    }
-}
diff --git a/integration-test-archetype/src/main/resources/archetype-resources/verify.bsh b/integration-test-archetype/src/main/resources/archetype-resources/verify.bsh
deleted file mode 100644
index 01f07f7..0000000
--- a/integration-test-archetype/src/main/resources/archetype-resources/verify.bsh
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- * 
- *   http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import java.io.File;
-
-/*
- This is where you verify the results of the assembly build. You may need to check the existence of a file,
- or even peek within a jar file to determine whether the assembly did the right thing.
- */
-return new File( basedir, "target/${artifactId}-${version}-bin.dir/lib/junit.jar" ).exists();