maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdca...@apache.org
Subject svn commit: r698747 - in /maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201: ./ src/ src/main/ src/main/assembly/ src/main/java/ src/main/java/test/
Date Wed, 24 Sep 2008 21:33:14 GMT
Author: jdcasey
Date: Wed Sep 24 14:33:14 2008
New Revision: 698747

URL: http://svn.apache.org/viewvc?rev=698747&view=rev
Log:
[MASSEMBLY-201] Verifying that this works in current code.

Added:
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/goals.txt
  (with props)
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/pom.xml
  (with props)
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/src/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/src/main/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/src/main/assembly/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/src/main/assembly/bin.xml
  (with props)
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/src/main/java/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/src/main/java/test/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/src/main/java/test/App.java
  (with props)
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/verify.bsh
  (with props)

Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/goals.txt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/goals.txt?rev=698747&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/goals.txt
(added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/goals.txt
Wed Sep 24 14:33:14 2008
@@ -0,0 +1,2 @@
+clean
+package

Propchange: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/goals.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/pom.xml?rev=698747&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/pom.xml
(added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/pom.xml
Wed Sep 24 14:33:14 2008
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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>massembly-201</artifactId>
+  <packaging>jar</packaging>
+  
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-model</artifactId>
+      <version>2.0.9</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-model</artifactId>
+      <version>2.0.9</version>
+      <classifier>sources</classifier>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-model</artifactId>
+      <version>2.0.9</version>
+      <classifier>javadoc</classifier>
+    </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>

Propchange: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/src/main/assembly/bin.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/src/main/assembly/bin.xml?rev=698747&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/src/main/assembly/bin.xml
(added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/src/main/assembly/bin.xml
Wed Sep 24 14:33:14 2008
@@ -0,0 +1,17 @@
+<assembly>
+  <id>bin</id>
+  <formats>
+    <format>dir</format>
+  </formats>
+  <includeBaseDirectory>false</includeBaseDirectory>
+  <dependencySets>
+    <dependencySet>
+      <includes>
+        <include>org.apache.maven:maven-model:jar</include>
+        <include>org.apache.maven:maven-model:jar:sources</include>
+        <include>org.apache.maven:maven-model:jar:javadoc</include>
+      </includes>
+      <unpack>false</unpack>
+    </dependencySet>
+  </dependencySets>
+</assembly>

Propchange: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/src/main/assembly/bin.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/src/main/java/test/App.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/src/main/java/test/App.java?rev=698747&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/src/main/java/test/App.java
(added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/src/main/java/test/App.java
Wed Sep 24 14:33:14 2008
@@ -0,0 +1,13 @@
+package test;
+
+/**
+ * Hello world!
+ *
+ */
+public class App 
+{
+    public static void main( String[] args )
+    {
+        System.out.println( "Hello World!" );
+    }
+}

Propchange: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/src/main/java/test/App.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/verify.bsh
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/verify.bsh?rev=698747&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/verify.bsh
(added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/verify.bsh
Wed Sep 24 14:33:14 2008
@@ -0,0 +1,22 @@
+import java.io.*;
+
+File main = new File( basedir, "target/massembly-201-1-bin.dir/maven-model-2.0.9.jar" );
+File sources = new File( basedir, "target/massembly-201-1-bin.dir/maven-model-2.0.9-sources.jar"
);
+File javadocs = new File( basedir, "target/massembly-201-1-bin.dir/maven-model-2.0.9-javadoc.jar"
);
+
+if ( !main.exists() )
+{
+	System.out.println( "Main (unclassified) dependency jar is missing: " + main );
+}
+
+if ( !sources.exists() )
+{
+	System.out.println( "Sources dependency jar is missing: " + sources );
+}
+
+if ( !javadocs.exists() )
+{
+	System.out.println( "JavaDocs dependency jar is missing: " + javadocs );
+}
+
+return main.exists() && sources.exists() && javadocs.exists();
\ No newline at end of file

Propchange: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/dependency-sets/massembly-201/verify.bsh
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message