You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2012/08/15 00:32:47 UTC
svn commit: r1373151 - in
/maven/plugins/trunk/maven-dependency-plugin/src/it/unpack-dependencies: ./
invoker.properties pom.xml verify.groovy
Author: olamy
Date: Tue Aug 14 22:32:47 2012
New Revision: 1373151
URL: http://svn.apache.org/viewvc?rev=1373151&view=rev
Log:
fix typo in directory name
Added:
maven/plugins/trunk/maven-dependency-plugin/src/it/unpack-dependencies/
maven/plugins/trunk/maven-dependency-plugin/src/it/unpack-dependencies/invoker.properties (with props)
maven/plugins/trunk/maven-dependency-plugin/src/it/unpack-dependencies/pom.xml (with props)
maven/plugins/trunk/maven-dependency-plugin/src/it/unpack-dependencies/verify.groovy (with props)
Added: maven/plugins/trunk/maven-dependency-plugin/src/it/unpack-dependencies/invoker.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/unpack-dependencies/invoker.properties?rev=1373151&view=auto
==============================================================================
--- maven/plugins/trunk/maven-dependency-plugin/src/it/unpack-dependencies/invoker.properties (added)
+++ maven/plugins/trunk/maven-dependency-plugin/src/it/unpack-dependencies/invoker.properties Tue Aug 14 22:32:47 2012
@@ -0,0 +1 @@
+invoker.goals = clean package
Propchange: maven/plugins/trunk/maven-dependency-plugin/src/it/unpack-dependencies/invoker.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/plugins/trunk/maven-dependency-plugin/src/it/unpack-dependencies/invoker.properties
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/plugins/trunk/maven-dependency-plugin/src/it/unpack-dependencies/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/unpack-dependencies/pom.xml?rev=1373151&view=auto
==============================================================================
--- maven/plugins/trunk/maven-dependency-plugin/src/it/unpack-dependencies/pom.xml (added)
+++ maven/plugins/trunk/maven-dependency-plugin/src/it/unpack-dependencies/pom.xml Tue Aug 14 22:32:47 2012
@@ -0,0 +1,71 @@
+<?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/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>org.apache.maven.its.dependency</groupId>
+ <artifactId>unpack-dependencies</artifactId>
+ <version>1.0-SNAPSHOT</version>
+
+ <name>Test</name>
+ <description>
+ Test dependency:unpack-dependencies
+ </description>
+
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.10</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+
+
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>@project.version@</version>
+ <executions>
+ <execution>
+ <id>unpack</id>
+ <goals>
+ <goal>unpack-dependencies</goal>
+ </goals>
+ <configuration>
+ <excludes>*.txt,META-INF/**</excludes>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
\ No newline at end of file
Propchange: maven/plugins/trunk/maven-dependency-plugin/src/it/unpack-dependencies/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/plugins/trunk/maven-dependency-plugin/src/it/unpack-dependencies/pom.xml
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/plugins/trunk/maven-dependency-plugin/src/it/unpack-dependencies/verify.groovy
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/it/unpack-dependencies/verify.groovy?rev=1373151&view=auto
==============================================================================
--- maven/plugins/trunk/maven-dependency-plugin/src/it/unpack-dependencies/verify.groovy (added)
+++ maven/plugins/trunk/maven-dependency-plugin/src/it/unpack-dependencies/verify.groovy Tue Aug 14 22:32:47 2012
@@ -0,0 +1,23 @@
+expected = ['org','junit']
+
+for (item in expected)
+{
+ def file = new File(basedir, 'target/dependency/' + item)
+ if (!file.exists())
+ {
+ throw new RuntimeException("Missing "+file.name);
+ }
+}
+
+notExpected = ['META-INF','LICENSE.TXT']
+
+for (item in notExpected)
+{
+ def file = new File(basedir, 'target/dependency/' + item)
+ if (file.exists())
+ {
+ throw new RuntimeException("This file shouldn't be here: "+file.name);
+ }
+}
+
+return true;
Propchange: maven/plugins/trunk/maven-dependency-plugin/src/it/unpack-dependencies/verify.groovy
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/plugins/trunk/maven-dependency-plugin/src/it/unpack-dependencies/verify.groovy
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision