incubator-aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r916535 - in /incubator/aries/trunk/application/eba-maven-plugin: ./ src/it/default/ src/it/default/src/main/custom/ src/it/default/src/main/eba/ src/it/default/src/main/rar/ src/main/java/org/apache/aries/ src/main/java/org/apache/aries/pl...
Date Fri, 26 Feb 2010 02:09:51 GMT
Author: djencks
Date: Fri Feb 26 02:09:50 2010
New Revision: 916535

URL: http://svn.apache.org/viewvc?rev=916535&view=rev
Log:
ARIES-120 initial draft of eba-maven-plugin adapted from the maven-rar-plugin

Added:
    incubator/aries/trunk/application/eba-maven-plugin/
      - copied from r916472, maven/plugins/trunk/maven-rar-plugin/
    incubator/aries/trunk/application/eba-maven-plugin/src/it/default/src/main/custom/application.mf
    incubator/aries/trunk/application/eba-maven-plugin/src/it/default/src/main/eba/
    incubator/aries/trunk/application/eba-maven-plugin/src/it/default/src/main/eba/SomeResource.txt   (with props)
    incubator/aries/trunk/application/eba-maven-plugin/src/main/java/org/apache/aries/
    incubator/aries/trunk/application/eba-maven-plugin/src/main/java/org/apache/aries/plugin/
    incubator/aries/trunk/application/eba-maven-plugin/src/main/java/org/apache/aries/plugin/eba/
    incubator/aries/trunk/application/eba-maven-plugin/src/main/java/org/apache/aries/plugin/eba/EbaMojo.java   (with props)
    incubator/aries/trunk/application/eba-maven-plugin/src/main/resources/
    incubator/aries/trunk/application/eba-maven-plugin/src/main/resources/META-INF/
    incubator/aries/trunk/application/eba-maven-plugin/src/main/resources/META-INF/plexus/
    incubator/aries/trunk/application/eba-maven-plugin/src/main/resources/META-INF/plexus/components.xml   (with props)
    incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/
    incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/
    incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/
    incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/EbaMojoTest.java   (with props)
    incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/
    incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaArtifactStub.java   (with props)
    incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaMavenProjectStub.java   (with props)
    incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaMavenProjectStub2.java   (with props)
    incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaMavenProjectStub3.java   (with props)
    incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-test/
    incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-test/plugin-config.xml   (with props)
    incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-descriptor/
    incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-descriptor/plugin-config.xml   (with props)
    incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-descriptor/src/
    incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-descriptor/src/main/
    incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-descriptor/src/main/eba/
    incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-descriptor/src/main/eba/META-INF/
    incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-descriptor/src/main/eba/META-INF/application.mf
    incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-manifest/
    incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-manifest/plugin-config.xml   (with props)
    incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-manifest/src/
    incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-manifest/src/main/
    incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-manifest/src/main/eba/
    incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-manifest/src/main/eba/META-INF/
    incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-manifest/src/main/eba/META-INF/MANIFEST.MF
    incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-manifest/src/main/eba/META-INF/application.mf
Removed:
    incubator/aries/trunk/application/eba-maven-plugin/src/it/default/src/main/custom/ra.xml
    incubator/aries/trunk/application/eba-maven-plugin/src/it/default/src/main/rar/
    incubator/aries/trunk/application/eba-maven-plugin/src/main/java/org/apache/maven/
    incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/maven/
    incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-rar-test/
    incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-rar-with-descriptor/
    incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-rar-with-manifest/
Modified:
    incubator/aries/trunk/application/eba-maven-plugin/pom.xml
    incubator/aries/trunk/application/eba-maven-plugin/src/it/default/pom.xml
    incubator/aries/trunk/application/eba-maven-plugin/src/it/default/verify.bsh

Modified: incubator/aries/trunk/application/eba-maven-plugin/pom.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/eba-maven-plugin/pom.xml?rev=916535&r1=916472&r2=916535&view=diff
==============================================================================
--- incubator/aries/trunk/application/eba-maven-plugin/pom.xml (original)
+++ incubator/aries/trunk/application/eba-maven-plugin/pom.xml Fri Feb 26 02:09:50 2010
@@ -19,102 +19,90 @@
 under the License.
 -->
 
-<project 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' xmlns='http://maven.apache.org/POM/4.0.0'>
-  <modelVersion>4.0.0</modelVersion>
-
-  <parent>
-    <artifactId>maven-plugins</artifactId>
-    <groupId>org.apache.maven.plugins</groupId>
-    <version>14</version>
-  </parent>
-
-  <artifactId>maven-rar-plugin</artifactId>
-  <version>2.3-SNAPSHOT</version>
-  <packaging>maven-plugin</packaging>
-
-  <name>Maven RAR Plugin</name>
-  <description>Builds a Resource Adapter Archive (RAR) from the project output for deployment to a J2EE server.</description>
-  <inceptionYear>2004</inceptionYear>
-
-  <prerequisites>
-    <maven>2.0</maven>
-  </prerequisites>
-
-  <scm>
-    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-rar-plugin/</connection>
-    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-rar-plugin/</developerConnection>
-    <url>http://svn.apache.org/viewvc/maven/plugins/trunk/maven-rar-plugin/</url>
-  </scm>
-  <issueManagement>
-    <system>JIRA</system>
-    <url>http://jira.codehaus.org/browse/MRAR</url>
-  </issueManagement>
-
-  <dependencies>
-    <dependency>
-      <groupId>org.apache.maven</groupId>
-      <artifactId>maven-plugin-api</artifactId>
-      <version>2.0</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.maven</groupId>
-      <artifactId>maven-project</artifactId>
-      <version>2.0</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.maven</groupId>
-      <artifactId>maven-artifact</artifactId>
-      <version>2.0.4</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.maven</groupId>
-      <artifactId>maven-archiver</artifactId>
-      <version>2.2</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.maven.shared</groupId>
-      <artifactId>maven-plugin-testing-harness</artifactId>
-      <version>1.0-beta-1</version>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-
-  <profiles>
-    <profile>
-      <id>run-its</id>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-invoker-plugin</artifactId>
-            <version>1.4</version>
-            <configuration>
-              <debug>true</debug>
-              <projectsDirectory>src/it</projectsDirectory>
-              <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
-              <pomIncludes>
-                <pomInclude>*/pom.xml</pomInclude>
-              </pomIncludes>
-              <preBuildHookScript>setup</preBuildHookScript>
-              <postBuildHookScript>verify</postBuildHookScript>
-              <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
-              <settingsFile>src/it/settings.xml</settingsFile>
-              <goals>
-                <goal>clean</goal>
-                <goal>package</goal>
-              </goals>
-            </configuration>
-            <executions>
-              <execution>
-                <id>integration-test</id>
-                <goals>
-                  <goal>install</goal>
-                  <goal>run</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
+<project 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'
+         xmlns='http://maven.apache.org/POM/4.0.0'>
+    <modelVersion>4.0.0</modelVersion>
+
+
+    <parent>
+        <groupId>org.apache.aries.application</groupId>
+        <artifactId>application</artifactId>
+        <version>1.0.0-incubating-SNAPSHOT</version>
+    </parent>
+    <artifactId>eba-maven-plugin</artifactId>
+    <version>1.0.0-incubating-SNAPSHOT</version>
+    <packaging>maven-plugin</packaging>
+
+    <name>Aries EBA Maven Plugin</name>
+    <description>Builds an eba (Enterprise Bundle Archive) from the project for deployment to an aries server.
+    </description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.maven</groupId>
+            <artifactId>maven-plugin-api</artifactId>
+            <version>2.0</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.maven</groupId>
+            <artifactId>maven-project</artifactId>
+            <version>2.0</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.maven</groupId>
+            <artifactId>maven-artifact</artifactId>
+            <version>2.0.4</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.maven</groupId>
+            <artifactId>maven-archiver</artifactId>
+            <version>2.2</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.maven.shared</groupId>
+            <artifactId>maven-plugin-testing-harness</artifactId>
+            <version>1.0-beta-1</version>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
+
+    <profiles>
+        <profile>
+            <id>run-its</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <artifactId>maven-invoker-plugin</artifactId>
+                        <version>1.4</version>
+                        <configuration>
+                            <debug>true</debug>
+                            <projectsDirectory>src/it</projectsDirectory>
+                            <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
+                            <pomIncludes>
+                                <pomInclude>*/pom.xml</pomInclude>
+                            </pomIncludes>
+                            <preBuildHookScript>setup</preBuildHookScript>
+                            <postBuildHookScript>verify</postBuildHookScript>
+                            <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
+                            <settingsFile>src/it/settings.xml</settingsFile>
+                            <goals>
+                                <goal>clean</goal>
+                                <goal>package</goal>
+                            </goals>
+                        </configuration>
+                        <executions>
+                            <execution>
+                                <id>integration-test</id>
+                                <goals>
+                                    <goal>install</goal>
+                                    <goal>run</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
 </project>

Modified: incubator/aries/trunk/application/eba-maven-plugin/src/it/default/pom.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/eba-maven-plugin/src/it/default/pom.xml?rev=916535&r1=916472&r2=916535&view=diff
==============================================================================
--- incubator/aries/trunk/application/eba-maven-plugin/src/it/default/pom.xml (original)
+++ incubator/aries/trunk/application/eba-maven-plugin/src/it/default/pom.xml Fri Feb 26 02:09:50 2010
@@ -22,23 +22,25 @@
 <project>
   <modelVersion>4.0.0</modelVersion>
 
-  <groupId>org.apache.maven.its.it0070</groupId>
+  <groupId>org.apache.aries.its.it0070</groupId>
   <artifactId>maven-it-it0070</artifactId>
   <version>1.0</version>
-  <packaging>rar</packaging>
+  <packaging>eba</packaging>
 
   <name>Maven Integration Test :: it0070</name> 
-  <description>Test a RAR generation.</description>
+  <description>Test an eba generation.</description>
 
   <build>
     <plugins>
       <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-rar-plugin</artifactId>
-        <version>@project.version@</version>
+        <groupId>org.apache.aries.application</groupId>
+        <artifactId>eba-maven-plugin</artifactId>
+        <version>1.0.0-incubating-SNAPSHOT</version>
+          <extensions>true</extensions>
+        <!--<version>@project.version@</version>-->
         <configuration>
           <includeJar>false</includeJar>
-          <raXmlFile>src/main/custom/ra.xml</raXmlFile>            
+          <applicationManifestFile>src/main/custom/application.mf</applicationManifestFile>            
         </configuration>
       </plugin>
     </plugins>

Added: incubator/aries/trunk/application/eba-maven-plugin/src/it/default/src/main/custom/application.mf
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/eba-maven-plugin/src/it/default/src/main/custom/application.mf?rev=916535&view=auto
==============================================================================
--- incubator/aries/trunk/application/eba-maven-plugin/src/it/default/src/main/custom/application.mf (added)
+++ incubator/aries/trunk/application/eba-maven-plugin/src/it/default/src/main/custom/application.mf Fri Feb 26 02:09:50 2010
@@ -0,0 +1,12 @@
+Manifest-Version: 1.0
+Application-ManifestVersion: 1.0
+Application-Name: Bank Account
+Application-SymbolicName: com.mybank.account.app
+Application-Version: 1.0
+Application-Content:
+	com.mybank.account.bankWeb; version=1.0.0,
+	com.mybank.account.bankAccount; version=1.0.0,
+	com.mybank.account.common; version=1.0.0,
+	com.mybank.account.utility; version=1.0.0
+Application-ExportService: com.mybank.account.service.AccountService
+Application-ImportService: com.mybank.security.UserAuthService;filter="(security=strong)"

Added: incubator/aries/trunk/application/eba-maven-plugin/src/it/default/src/main/eba/SomeResource.txt
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/eba-maven-plugin/src/it/default/src/main/eba/SomeResource.txt?rev=916535&view=auto
==============================================================================
    (empty)

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/it/default/src/main/eba/SomeResource.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/it/default/src/main/eba/SomeResource.txt
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/it/default/src/main/eba/SomeResource.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: incubator/aries/trunk/application/eba-maven-plugin/src/it/default/verify.bsh
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/eba-maven-plugin/src/it/default/verify.bsh?rev=916535&r1=916472&r2=916535&view=diff
==============================================================================
--- incubator/aries/trunk/application/eba-maven-plugin/src/it/default/verify.bsh (original)
+++ incubator/aries/trunk/application/eba-maven-plugin/src/it/default/verify.bsh Fri Feb 26 02:09:50 2010
@@ -5,7 +5,7 @@
 
 try
 {
-    File jarFile = new File( basedir, "target/maven-it-it0070-1.0.rar" );
+    File jarFile = new File( basedir, "target/maven-it-it0070-1.0.eba" );
     System.out.println( "Checking for existence of " + jarFile );
     if ( !jarFile.isFile() )
     {
@@ -16,7 +16,7 @@
     JarFile jar = new JarFile( jarFile );
 
     String[] includedEntries = {
-        "META-INF/ra.xml",
+        "META-INF/application.mf",
         "SomeResource.txt",
     };
     for ( String included : includedEntries )

Added: incubator/aries/trunk/application/eba-maven-plugin/src/main/java/org/apache/aries/plugin/eba/EbaMojo.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/eba-maven-plugin/src/main/java/org/apache/aries/plugin/eba/EbaMojo.java?rev=916535&view=auto
==============================================================================
--- incubator/aries/trunk/application/eba-maven-plugin/src/main/java/org/apache/aries/plugin/eba/EbaMojo.java (added)
+++ incubator/aries/trunk/application/eba-maven-plugin/src/main/java/org/apache/aries/plugin/eba/EbaMojo.java Fri Feb 26 02:09:50 2010
@@ -0,0 +1,301 @@
+package org.apache.aries.plugin.eba;
+
+/*
+ * 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 org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.archiver.MavenArchiver;
+import org.apache.maven.archiver.MavenArchiveConfiguration;
+import org.apache.maven.project.MavenProject;
+import org.apache.maven.artifact.Artifact;
+import org.codehaus.plexus.archiver.jar.JarArchiver;
+import org.codehaus.plexus.util.FileUtils;
+import org.codehaus.plexus.util.DirectoryScanner;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.Iterator;
+import java.util.Set;
+import org.apache.maven.artifact.resolver.filter.ScopeArtifactFilter;
+
+/**
+ * Builds Aries Enterprise Bundle Archive (eba) files.
+ *
+ * @version $Id: $
+ * @goal eba
+ * @phase package
+ * @requiresDependencyResolution test
+ */
+public class EbaMojo
+    extends AbstractMojo
+{
+    public static final String APPLICATION_MF_URI = "META-INF/application.mf";
+
+    private static final String[] DEFAULT_INCLUDES = {"**/**"};
+
+    /**
+     * Single directory for extra files to include in the eba.
+     *
+     * @parameter expression="${basedir}/src/main/eba"
+     * @required
+     */
+    private File ebaSourceDirectory;
+
+    /**
+     * The location of the application.mf file to be used within the eba file.
+     *
+     * @parameter expression="${basedir}/src/main/eba/META-INF/application.mf"
+     */
+    private File applicationManifestFile;
+
+    /**
+     * Specify if the generated jar file of this project should be
+     * included in the eba file ; default is true.
+     *
+     * @parameter
+     */
+    private Boolean includeJar = Boolean.TRUE;
+
+    /**
+     * The location of the manifest file to be used within the eba file.
+     *
+     * @parameter expression="${basedir}/src/main/eba/META-INF/MANIFEST.MF"
+     */
+    private File manifestFile;
+
+    /**
+     * Directory that resources are copied to during the build.
+     *
+     * @parameter expression="${project.build.directory}/${project.build.finalName}"
+     * @required
+     */
+    private String workDirectory;
+
+    /**
+     * The directory for the generated eba.
+     *
+     * @parameter expression="${project.build.directory}"
+     * @required
+     */
+    private String outputDirectory;
+
+    /**
+     * The name of the eba file to generate.
+     *
+     * @parameter alias="ebaName" expression="${project.build.finalName}"
+     * @required
+     */
+    private String finalName;
+
+    /**
+     * The maven project.
+     *
+     * @parameter expression="${project}"
+     * @required
+     * @readonly
+     */
+    private MavenProject project;
+
+    /**
+     * The Jar archiver.
+     *
+     * @component role="org.codehaus.plexus.archiver.Archiver" roleHint="jar"
+     */
+    private JarArchiver jarArchiver;
+
+    /**
+     * The archive configuration to use.
+     * See <a href="http://maven.apache.org/shared/maven-archiver/index.html">Maven Archiver Reference</a>.
+     *
+     * @parameter
+     */
+    private MavenArchiveConfiguration archive = new MavenArchiveConfiguration();
+
+
+    private File buildDir;
+
+
+    public void execute()
+        throws MojoExecutionException
+    {
+        getLog().debug( " ======= EbaMojo settings =======" );
+        getLog().debug( "ebaSourceDirectory[" + ebaSourceDirectory + "]" );
+        getLog().debug( "manifestFile[" + manifestFile + "]" );
+        getLog().debug( "applicationManifestFile[" + applicationManifestFile + "]" );
+        getLog().debug( "workDirectory[" + workDirectory + "]" );
+        getLog().debug( "outputDirectory[" + outputDirectory + "]" );
+        getLog().debug( "finalName[" + finalName + "]" );
+
+        // Check if jar file is there and if requested, copy it
+        try
+        {
+            if (includeJar.booleanValue()) {
+                File generatedJarFile = new File( outputDirectory, finalName + ".jar" );
+                if (generatedJarFile.exists()) {
+                    getLog().info( "Including generated jar file["+generatedJarFile.getName()+"]");
+                    FileUtils.copyFileToDirectory( generatedJarFile, getBuildDir());
+                }
+            }
+        }
+        catch ( IOException e )
+        {
+            throw new MojoExecutionException( "Error copying generated Jar file", e );
+        }
+
+        // Copy dependencies
+        try
+        {
+            Set artifacts = project.getArtifacts();
+            for ( Iterator iter = artifacts.iterator(); iter.hasNext(); )
+            {
+                Artifact artifact = (Artifact) iter.next();
+
+                ScopeArtifactFilter filter = new ScopeArtifactFilter( Artifact.SCOPE_RUNTIME );
+                if ( !artifact.isOptional() && filter.include( artifact ) )
+                {
+                    getLog().info("Copying artifact[" + artifact.getGroupId() + ", " + artifact.getId() + ", " +
+                        artifact.getScope() + "]");
+                    FileUtils.copyFileToDirectory( artifact.getFile(), getBuildDir() );
+                }
+            }
+        }
+        catch ( IOException e )
+        {
+            throw new MojoExecutionException( "Error copying EBA dependencies", e );
+        }
+
+        // Copy source files
+        try
+        {
+            File ebaSourceDir = ebaSourceDirectory;
+            if ( ebaSourceDir.exists() )
+            {
+                getLog().info( "Copy eba resources to " + getBuildDir().getAbsolutePath() );
+
+                DirectoryScanner scanner = new DirectoryScanner();
+                scanner.setBasedir( ebaSourceDir.getAbsolutePath() );
+                scanner.setIncludes( DEFAULT_INCLUDES );
+                scanner.addDefaultExcludes();
+                scanner.scan();
+
+                String[] dirs = scanner.getIncludedDirectories();
+
+                for ( int j = 0; j < dirs.length; j++ )
+                {
+                    new File( getBuildDir(), dirs[j] ).mkdirs();
+                }
+
+                String[] files = scanner.getIncludedFiles();
+
+                for ( int j = 0; j < files.length; j++ )
+                {
+                    File targetFile = new File( getBuildDir(), files[j] );
+
+                    targetFile.getParentFile().mkdirs();
+
+                    File file = new File( ebaSourceDir, files[j] );
+                    FileUtils.copyFileToDirectory( file, targetFile.getParentFile() );
+                }
+            }
+        }
+        catch ( Exception e )
+        {
+            throw new MojoExecutionException( "Error copying EBA resources", e );
+        }
+
+        // Include custom manifest if necessary
+        try
+        {
+            includeCustomApplicationManifestFile();
+        }
+        catch ( IOException e )
+        {
+            throw new MojoExecutionException( "Error copying application.mf file", e );
+        }
+
+        // Check if connector deployment descriptor is there
+        File ddFile = new File( getBuildDir(), APPLICATION_MF_URI);
+        if ( !ddFile.exists() )
+        {
+            getLog().warn(
+                "eba deployment descriptor: " + ddFile.getAbsolutePath() + " does not exist." );
+        }
+
+        try
+        {
+            File ebaFile = new File( outputDirectory, finalName + ".eba" );
+            MavenArchiver archiver = new MavenArchiver();
+            archiver.setArchiver( jarArchiver );
+            archiver.setOutputFile( ebaFile );
+
+            // Include custom manifest if necessary
+            includeCustomManifestFile();
+
+            archiver.getArchiver().addDirectory( getBuildDir() );
+            archiver.createArchive( project, archive );
+
+            project.getArtifact().setFile( ebaFile );
+        }
+        catch ( Exception e )
+        {
+            throw new MojoExecutionException( "Error assembling eba", e );
+        }
+    }
+
+    protected File getBuildDir()
+    {
+        if ( buildDir == null )
+        {
+            buildDir = new File( workDirectory );
+        }
+        return buildDir;
+    }
+
+    private void includeCustomManifestFile()
+        throws IOException
+    {
+        File customManifestFile = manifestFile;
+        if ( !customManifestFile.exists() )
+        {
+            getLog().info( "Could not find manifest file: " + manifestFile +" - Generating one");
+        }
+        else
+        {
+            getLog().info( "Including custom manifest file[" + customManifestFile + "]" );
+            archive.setManifestFile( customManifestFile );
+            File metaInfDir = new File(getBuildDir(), "META-INF");
+            FileUtils.copyFileToDirectory( customManifestFile, metaInfDir );
+        }
+    }
+
+    private void includeCustomApplicationManifestFile()
+        throws IOException
+    {
+        if (applicationManifestFile == null) {
+            throw new NullPointerException("application manifest file location not set");
+        }
+        File appMfFile = applicationManifestFile;
+        if (appMfFile.exists()) {
+            getLog().info( "Using application.mf "+ applicationManifestFile);
+            File metaInfDir = new File(getBuildDir(), "META-INF");
+            FileUtils.copyFileToDirectory( appMfFile, metaInfDir);
+        }
+    }
+}

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/main/java/org/apache/aries/plugin/eba/EbaMojo.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/main/java/org/apache/aries/plugin/eba/EbaMojo.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/main/java/org/apache/aries/plugin/eba/EbaMojo.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/aries/trunk/application/eba-maven-plugin/src/main/resources/META-INF/plexus/components.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/eba-maven-plugin/src/main/resources/META-INF/plexus/components.xml?rev=916535&view=auto
==============================================================================
--- incubator/aries/trunk/application/eba-maven-plugin/src/main/resources/META-INF/plexus/components.xml (added)
+++ incubator/aries/trunk/application/eba-maven-plugin/src/main/resources/META-INF/plexus/components.xml Fri Feb 26 02:09:50 2010
@@ -0,0 +1,51 @@
+<?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.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<component-set>
+    <components>
+        <component>
+            <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
+            <role-hint>eba</role-hint>
+            <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
+            <configuration>
+                <lifecycles>
+                    <lifecycle>
+                        <id>default</id>
+                        <phases>
+                          <process-resources>org.apache.maven.plugins:maven-resources-plugin:resources</process-resources>
+                          <compile>org.apache.maven.plugins:maven-compiler-plugin:compile</compile>
+                          <process-test-resources>
+                            org.apache.maven.plugins:maven-resources-plugin:testResources
+                          </process-test-resources>
+                          <test-compile>org.apache.maven.plugins:maven-compiler-plugin:testCompile</test-compile>
+                          <test>org.apache.maven.plugins:maven-surefire-plugin:test</test>
+                          <package>org.apache.aries.application:eba-maven-plugin:eba</package>
+                          <install>org.apache.maven.plugins:maven-install-plugin:install</install>
+                          <deploy>org.apache.maven.plugins:maven-deploy-plugin:deploy</deploy>
+                        </phases>
+                    </lifecycle>
+                </lifecycles>
+            </configuration>
+        </component>
+    </components>
+</component-set>
+

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/main/resources/META-INF/plexus/components.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/main/resources/META-INF/plexus/components.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/main/resources/META-INF/plexus/components.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/EbaMojoTest.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/EbaMojoTest.java?rev=916535&view=auto
==============================================================================
--- incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/EbaMojoTest.java (added)
+++ incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/EbaMojoTest.java Fri Feb 26 02:09:50 2010
@@ -0,0 +1,343 @@
+package org.apache.aries.plugin.eba;
+
+/*
+ * 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;
+import java.util.ArrayList;
+import java.util.Enumeration;
+import java.util.List;
+import java.util.Iterator;
+
+import org.apache.maven.plugin.testing.AbstractMojoTestCase;
+import org.codehaus.plexus.archiver.zip.ZipEntry;
+import org.codehaus.plexus.archiver.zip.ZipFile;
+import org.codehaus.plexus.util.FileUtils;
+
+/**
+ * @author <a href="mailto:aramirez@apache.org">Allan Ramirez</a>
+ */
+public class EbaMojoTest
+    extends AbstractMojoTestCase
+{
+    public void testEbaTestEnvironment()
+        throws Exception
+    {
+        File testPom = new File( getBasedir(),
+                                 "target/test-classes/unit/basic-eba-test/plugin-config.xml" );
+
+        EbaMojo mojo = ( EbaMojo ) lookupMojo( "eba", testPom );
+
+        assertNotNull( mojo );
+    }
+
+    public void testBasicEba()
+        throws Exception
+    {
+        File testPom = new File( getBasedir(),
+                                 "target/test-classes/unit/basic-eba-test/plugin-config.xml" );
+
+        EbaMojo mojo = ( EbaMojo ) lookupMojo( "eba", testPom );
+
+        assertNotNull( mojo );
+
+        String finalName = ( String ) getVariableValueFromObject( mojo, "finalName" );
+
+        String workDir = ( String ) getVariableValueFromObject( mojo, "workDirectory" );
+
+        String outputDir = ( String ) getVariableValueFromObject( mojo, "outputDirectory" );
+
+        Boolean includeJar = ( Boolean ) getVariableValueFromObject(  mojo, "includeJar" );
+
+        assertTrue( includeJar.booleanValue() );
+
+        //include the project jar to the eba
+        File projectJar = new File( getBasedir(), "src/test/resources/unit/basic-eba-test/target/test-eba.jar" );
+
+        FileUtils.copyFileToDirectory( projectJar, new File( outputDir ) );
+
+        mojo.execute();
+
+        //check the working directory
+        File workDirectory = new File( workDir );
+
+        assertTrue( workDirectory.exists() );
+
+        assertTrue( workDirectory.isDirectory() );
+
+        File[] fileNames = workDirectory.listFiles();
+
+        List expectedFiles = new ArrayList();
+        
+        expectedFiles.add( "maven-artifact01-1.0-SNAPSHOT.jar" );
+        expectedFiles.add( "maven-artifact02-1.0-SNAPSHOT.jar" );
+        expectedFiles.add( "test-eba.jar" );
+        
+        assertEquals( "Files in working directory", expectedFiles.size(), fileNames.length );
+
+        
+        for( int i=0; i<fileNames.length; i++ )
+        {
+            String fileName = fileNames[i].getName();
+            
+            assertTrue( expectedFiles.contains( fileName ) );
+            
+            if( expectedFiles.contains( fileName ) )
+            {
+                expectedFiles.remove( fileName );
+                assertFalse( expectedFiles.contains( fileName ) );
+            }
+            else
+            {
+                fail( fileName + " is not included in expected files." );
+            }
+        }
+
+        assertEquals( 0, expectedFiles.size() );
+
+        //check the generated eba file
+        File ebaFile = new File( outputDir, finalName + ".eba" );
+
+        assertTrue( ebaFile.exists() );
+
+        //expected files/directories inside the eba file
+        expectedFiles = new ArrayList();
+
+        expectedFiles.add( "META-INF/maven/org.apache.maven.test/maven-eba-test/pom.properties" );
+        expectedFiles.add( "META-INF/maven/org.apache.maven.test/maven-eba-test/pom.xml" );
+        expectedFiles.add( "META-INF/maven/org.apache.maven.test/maven-eba-test/" );
+        expectedFiles.add( "META-INF/maven/org.apache.maven.test/" );
+        expectedFiles.add( "META-INF/maven/" );
+        expectedFiles.add( "META-INF/MANIFEST.MF" );
+        expectedFiles.add( "META-INF/" );
+        expectedFiles.add( "maven-artifact01-1.0-SNAPSHOT.jar" );
+        expectedFiles.add( "maven-artifact02-1.0-SNAPSHOT.jar" );
+        expectedFiles.add( "test-eba.jar" );
+
+        ZipFile eba = new ZipFile( ebaFile );
+
+        Enumeration entries = eba.getEntries();
+
+        assertTrue( entries.hasMoreElements() );
+
+        assertEquals( 0, getSizeOfExpectedFiles( entries, expectedFiles ) );
+    }
+
+    public void testBasicEbaWithDescriptor()
+        throws Exception
+    {
+        File testPom = new File( getBasedir(),
+                                 "target/test-classes/unit/basic-eba-with-descriptor/plugin-config.xml" );
+
+        EbaMojo mojo = ( EbaMojo ) lookupMojo( "eba", testPom );
+
+        assertNotNull( mojo );
+
+        String finalName = ( String ) getVariableValueFromObject( mojo, "finalName" );
+
+        String workDir = ( String ) getVariableValueFromObject( mojo, "workDirectory" );
+
+        String outputDir = ( String ) getVariableValueFromObject( mojo, "outputDirectory" );
+
+        mojo.execute();
+
+        //check the working directory
+        File workDirectory = new File( workDir );
+
+        assertTrue( workDirectory.exists() );
+
+        assertTrue( workDirectory.isDirectory() );
+
+        File[] fileNames = workDirectory.listFiles();
+
+        List expectedFiles = new ArrayList();
+        List fileList = new ArrayList();
+
+        for( int i=0; i<fileNames.length; i++ )
+        {
+            addFileToList( fileNames[i], fileList );
+        }
+
+        expectedFiles.add( "application.mf" );
+        expectedFiles.add( "maven-artifact01-1.0-SNAPSHOT.jar" );
+        expectedFiles.add( "maven-artifact02-1.0-SNAPSHOT.jar" );
+        expectedFiles.add( "META-INF" );
+
+        assertEquals( expectedFiles.size(), fileList.size() );
+
+        assertEquals( 0, getSizeOfExpectedFiles( fileList, expectedFiles ) );
+
+        //check the generated eba file
+        File ebaFile = new File( outputDir, finalName + ".eba" );
+
+        assertTrue( ebaFile.exists() );
+
+        //expected files/directories inside the eba file
+        expectedFiles = new ArrayList();
+
+        expectedFiles.add( "META-INF/maven/org.apache.maven.test/maven-eba-test/pom.properties" );
+        expectedFiles.add( "META-INF/maven/org.apache.maven.test/maven-eba-test/pom.xml" );
+        expectedFiles.add( "META-INF/maven/org.apache.maven.test/maven-eba-test/" );
+        expectedFiles.add( "META-INF/maven/org.apache.maven.test/" );
+        expectedFiles.add( "META-INF/maven/" );
+        expectedFiles.add( "META-INF/MANIFEST.MF" );
+        expectedFiles.add( "META-INF/application.mf" );
+        expectedFiles.add( "META-INF/" );
+        expectedFiles.add( "maven-artifact01-1.0-SNAPSHOT.jar" );
+        expectedFiles.add( "maven-artifact02-1.0-SNAPSHOT.jar" );
+
+        ZipFile eba = new ZipFile( ebaFile );
+
+        Enumeration entries = eba.getEntries();
+
+        assertTrue( entries.hasMoreElements() );
+
+        assertEquals( 0, getSizeOfExpectedFiles( entries, expectedFiles ) );
+    }
+
+    public void testBasicEbaWithManifest()
+        throws Exception
+    {
+        File testPom = new File( getBasedir(),
+                                 "target/test-classes/unit/basic-eba-with-manifest/plugin-config.xml" );
+
+        EbaMojo mojo = ( EbaMojo ) lookupMojo( "eba", testPom );
+
+        assertNotNull( mojo );
+
+        String finalName = ( String ) getVariableValueFromObject( mojo, "finalName" );
+
+        String workDir = ( String ) getVariableValueFromObject( mojo, "workDirectory" );
+
+        String outputDir = ( String ) getVariableValueFromObject( mojo, "outputDirectory" );
+
+        mojo.execute();
+
+        //check the working directory
+        File workDirectory = new File( workDir );
+
+        assertTrue( workDirectory.exists() );
+
+        assertTrue( workDirectory.isDirectory() );
+
+        File[] fileNames = workDirectory.listFiles();
+
+        List expectedFiles = new ArrayList();
+        List fileList = new ArrayList();
+
+        for( int i=0; i<fileNames.length; i++ )
+        {
+            addFileToList( fileNames[i], fileList );
+        }
+
+        expectedFiles.add( "application.mf" );
+        expectedFiles.add( "maven-artifact01-1.0-SNAPSHOT.jar" );
+        expectedFiles.add( "maven-artifact02-1.0-SNAPSHOT.jar" );
+        expectedFiles.add( "META-INF" );
+        expectedFiles.add( "MANIFEST.MF" );
+
+        assertEquals( expectedFiles.size(), fileList.size() );
+
+        assertEquals( 0, getSizeOfExpectedFiles( fileList, expectedFiles ) );
+
+        //check the generated eba file
+        File ebaFile = new File( outputDir, finalName + ".eba" );
+
+        assertTrue( ebaFile.exists() );
+
+        //expected files/directories inside the eba file
+        expectedFiles = new ArrayList();
+
+        expectedFiles.add( "META-INF/maven/org.apache.maven.test/maven-eba-test/pom.properties" );
+        expectedFiles.add( "META-INF/maven/org.apache.maven.test/maven-eba-test/pom.xml" );
+        expectedFiles.add( "META-INF/maven/org.apache.maven.test/maven-eba-test/" );
+        expectedFiles.add( "META-INF/maven/org.apache.maven.test/" );
+        expectedFiles.add( "META-INF/maven/" );
+        expectedFiles.add( "META-INF/MANIFEST.MF" );
+        expectedFiles.add( "META-INF/application.mf" );
+        expectedFiles.add( "META-INF/" );
+        expectedFiles.add( "maven-artifact01-1.0-SNAPSHOT.jar" );
+        expectedFiles.add( "maven-artifact02-1.0-SNAPSHOT.jar" );
+
+        ZipFile eba = new ZipFile( ebaFile );
+
+        Enumeration entries = eba.getEntries();
+
+        assertTrue( entries.hasMoreElements() );
+
+        assertEquals( 0, getSizeOfExpectedFiles( entries, expectedFiles ) );
+    }
+
+    private int getSizeOfExpectedFiles( Enumeration entries, List expectedFiles )
+    {
+        while( entries.hasMoreElements() )
+        {
+            ZipEntry entry = ( ZipEntry ) entries.nextElement();
+
+            if( expectedFiles.contains( entry.getName() ) )
+            {
+                expectedFiles.remove( entry.getName() );
+                assertFalse( expectedFiles.contains( entry.getName() ) );
+            }
+            else
+            {
+                fail( entry.getName() + " is not included in the expected files" );
+            }
+        }
+        return expectedFiles.size();
+    }
+
+    private int getSizeOfExpectedFiles( List fileList, List expectedFiles )
+    {
+        for( Iterator iter=fileList.iterator(); iter.hasNext(); )
+        {
+            String fileName = ( String ) iter.next();
+
+            if( expectedFiles.contains(  fileName ) )
+            {
+                expectedFiles.remove( fileName );
+                assertFalse( expectedFiles.contains( fileName ) );
+            }
+            else
+            {
+                fail( fileName + " is not included in the expected files" );
+            }
+        }
+        return expectedFiles.size();
+    }
+
+    private void addFileToList( File file, List fileList )
+    {
+        if( !file.isDirectory() )
+        {
+            fileList.add( file.getName() );
+        }
+        else
+        {
+            fileList.add( file.getName() );
+
+            File[] files = file.listFiles();
+
+            for( int i=0; i<files.length; i++ )
+            {
+                addFileToList( files[i], fileList );
+            }
+        }
+    }
+}

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/EbaMojoTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/EbaMojoTest.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/EbaMojoTest.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaArtifactStub.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaArtifactStub.java?rev=916535&view=auto
==============================================================================
--- incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaArtifactStub.java (added)
+++ incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaArtifactStub.java Fri Feb 26 02:09:50 2010
@@ -0,0 +1,113 @@
+package org.apache.aries.plugin.eba.stubs;
+
+/*
+ * 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;
+
+import org.apache.maven.plugin.testing.stubs.ArtifactStub;
+
+/**
+ * @author <a href="mailto:aramirez@apache.org">Allan Ramirez</a>
+ */
+public class EbaArtifactStub
+    extends ArtifactStub
+{
+    private String groupId;
+    
+    private String artifactId;
+    
+    private String version;
+    
+    private String scope;
+    
+    private boolean optional;
+    
+    private File file;
+
+    public String getArtifactId()
+    {
+        return artifactId;
+    }
+
+    public void setArtifactId( String artifactId )
+    {
+        this.artifactId = artifactId;
+    }
+
+    public File getFile()
+    {
+        return file;
+    }
+
+    public void setFile( File file )
+    {
+        this.file = file;
+    }
+
+    public String getGroupId()
+    {
+        return groupId;
+    }
+
+    public void setGroupId( String groupId )
+    {
+        this.groupId = groupId;
+    }
+
+    public boolean isOptional()
+    {
+        return optional;
+    }
+
+    public void setOptional( boolean optional )
+    {
+        this.optional = optional;
+    }
+
+    public String getScope()
+    {
+        return scope;
+    }
+
+    public void setScope( String scope )
+    {
+        this.scope = scope;
+    }
+
+    public String getVersion()
+    {
+        return version;
+    }
+
+    public void setVersion( String version )
+    {
+        this.version = version;
+    }
+
+    public String getId()
+    {
+        return getGroupId() + ":" + getArtifactId() + ":" + getVersion();
+    }
+    
+    public String getBaseVersion()
+    {
+        return getVersion();
+    }
+}

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaArtifactStub.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaArtifactStub.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaArtifactStub.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaMavenProjectStub.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaMavenProjectStub.java?rev=916535&view=auto
==============================================================================
--- incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaMavenProjectStub.java (added)
+++ incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaMavenProjectStub.java Fri Feb 26 02:09:50 2010
@@ -0,0 +1,148 @@
+package org.apache.aries.plugin.eba.stubs;
+
+/*
+ * 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;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Set;
+
+import org.apache.maven.artifact.Artifact;
+import org.apache.maven.model.Model;
+import org.apache.maven.model.Organization;
+import org.apache.maven.project.MavenProject;
+import org.codehaus.plexus.PlexusTestCase;
+
+/**
+ * @author <a href="mailto:aramirez@apache.org">Allan Ramirez</a>
+ */
+public class EbaMavenProjectStub
+    extends MavenProject
+{
+    private List attachedArtifacts;
+    
+    public EbaMavenProjectStub()
+    {
+        super( new Model() );
+        
+        super.setGroupId( getGroupId() );
+        super.setArtifactId( getArtifactId() );
+        super.setVersion( getVersion() );
+        super.setDescription( "Test description" );
+
+        Organization org = new Organization();
+        org.setName( "organization" );
+        org.setUrl( "http://www.some.org" );
+        
+        super.setOrganization( org );
+        super.setFile( getFile() );
+        super.setPluginArtifacts( Collections.EMPTY_SET );
+        super.setReportArtifacts( Collections.EMPTY_SET );
+        super.setExtensionArtifacts( Collections.EMPTY_SET );
+        super.setArtifact( getArtifact() );
+        super.setRemoteArtifactRepositories( Collections.EMPTY_LIST );
+        super.setPluginArtifactRepositories( Collections.EMPTY_LIST );
+        super.setCollectedProjects( Collections.EMPTY_LIST );
+        super.setActiveProfiles( Collections.EMPTY_LIST );
+        
+        super.addCompileSourceRoot( getBasedir() + "/src/test/resources/unit/basic-eba-test/src/main/java" );
+        super.addTestCompileSourceRoot( getBasedir() + "/src/test/resources/unit/basic-eba-test/src/test/java" );
+        
+        super.setExecutionRoot( false );
+    }
+
+    public String getGroupId()
+    {
+        return "org.apache.maven.test";
+    }
+    
+    public String getArtifactId()
+    {
+        return "maven-eba-test";
+    }
+    
+    public String getVersion()
+    {
+        return "1.0-SNAPSHOT";
+    }
+    
+    public File getFile()
+    {
+        return new File( getBasedir(), "src/test/resources/unit/basic-eba-test/plugin-config.xml" );
+    }
+    
+    public File getBasedir()
+    {
+        return new File( PlexusTestCase.getBasedir() );
+    }
+    
+    public Artifact getArtifact()
+    {
+        Artifact artifact = new EbaArtifactStub();
+        
+        artifact.setGroupId( getGroupId() );
+        
+        artifact.setArtifactId( getArtifactId() );
+        
+        artifact.setVersion( getVersion() );
+        
+        return artifact;
+    }
+    
+    public Set getArtifacts()
+    {   
+        Set artifacts = new HashSet();
+ 
+        artifacts.add( createArtifact( "org.apache.maven.test", "maven-artifact01", "1.0-SNAPSHOT", false ) );
+        artifacts.add( createArtifact( "org.apache.maven.test", "maven-artifact02", "1.0-SNAPSHOT", false ) );
+        
+        return artifacts;
+    }
+    
+    public List getAttachedArtifacts()
+    {
+        if ( attachedArtifacts == null )
+        {
+            attachedArtifacts = new ArrayList();
+        }
+        return attachedArtifacts;
+    }    
+    
+    protected Artifact createArtifact( String groupId, String artifactId, String version, boolean optional )
+    {
+        Artifact artifact = new EbaArtifactStub();
+        
+        artifact.setGroupId( groupId );
+        
+        artifact.setArtifactId( artifactId );
+        
+        artifact.setVersion( version );
+        
+        artifact.setOptional( optional );
+        
+        artifact.setFile( new File ( getBasedir() + "/src/test/remote-repo/" + artifact.getGroupId().replace( '.', '/' ) + 
+                          "/" + artifact.getArtifactId() + "/" + artifact.getVersion() + 
+                          "/" + artifact.getArtifactId() + "-" + artifact.getVersion() + ".jar" ) ) ;
+        
+        return artifact;
+    }
+}

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaMavenProjectStub.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaMavenProjectStub.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaMavenProjectStub.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaMavenProjectStub2.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaMavenProjectStub2.java?rev=916535&view=auto
==============================================================================
--- incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaMavenProjectStub2.java (added)
+++ incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaMavenProjectStub2.java Fri Feb 26 02:09:50 2010
@@ -0,0 +1,31 @@
+package org.apache.aries.plugin.eba.stubs;
+
+/*
+ * 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;
+
+public class EbaMavenProjectStub2
+    extends EbaMavenProjectStub
+{
+    public File getFile()
+    {
+        return new File( getBasedir(), "src/test/resources/unit/basic-eba-with-descriptor/plugin-config.xml" );
+    }
+}

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaMavenProjectStub2.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaMavenProjectStub2.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaMavenProjectStub2.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaMavenProjectStub3.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaMavenProjectStub3.java?rev=916535&view=auto
==============================================================================
--- incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaMavenProjectStub3.java (added)
+++ incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaMavenProjectStub3.java Fri Feb 26 02:09:50 2010
@@ -0,0 +1,31 @@
+package org.apache.aries.plugin.eba.stubs;
+
+/*
+ * 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;
+
+public class EbaMavenProjectStub3
+    extends EbaMavenProjectStub
+{
+    public File getFile()
+    {
+        return new File( getBasedir(), "src/test/resources/unit/basic-eba-with-manifest/plugin-config.xml" );
+    }
+}

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaMavenProjectStub3.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaMavenProjectStub3.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/test/java/org/apache/aries/plugin/eba/stubs/EbaMavenProjectStub3.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-test/plugin-config.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-test/plugin-config.xml?rev=916535&view=auto
==============================================================================
--- incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-test/plugin-config.xml (added)
+++ incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-test/plugin-config.xml Fri Feb 26 02:09:50 2010
@@ -0,0 +1,38 @@
+<!--
+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>
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>eba-maven-plugin</artifactId>
+		<configuration>
+		  <ebaSourceDirectory>${basedir}/src/test/resources/unit/basic-eba-test/src/main/eba</ebaSourceDirectory>
+		  <applicationManifestFile>${basedir}/src/test/resources/unit/basic-eba-test/src/main/eba/META-INF/application.mf</applicationManifestFile>
+		  <includeJar>true</includeJar>
+		  <manifestFile>${basedir}/src/main/eba/META-INF/MANIFEST.MF</manifestFile>
+		  <workDirectory>${basedir}/target/unit/basic-eba-test/target/eba-test</workDirectory>
+		  <outputDirectory>${basedir}/target/unit/basic-eba-test/target</outputDirectory>
+		  <finalName>test-eba</finalName>
+		  <project implementation="org.apache.aries.plugin.eba.stubs.EbaMavenProjectStub" />
+		</configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-test/plugin-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-test/plugin-config.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-test/plugin-config.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-descriptor/plugin-config.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-descriptor/plugin-config.xml?rev=916535&view=auto
==============================================================================
--- incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-descriptor/plugin-config.xml (added)
+++ incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-descriptor/plugin-config.xml Fri Feb 26 02:09:50 2010
@@ -0,0 +1,38 @@
+<!--
+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>
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>eba-maven-plugin</artifactId>
+		<configuration>
+		  <ebaSourceDirectory>${basedir}/src/test/resources/unit/basic-eba-with-descriptor/src/main/eba</ebaSourceDirectory>
+		  <applicationManifestFile>${basedir}/src/test/resources/unit/basic-eba-with-descriptor/src/main/eba/META-INF/application.mf</applicationManifestFile>
+		  <includeJar>false</includeJar>
+		  <manifestFile>${basedir}/src/test/resources/unit/basic-eba-with-descriptor/src/main/eba/META-INF/MANIFEST.MF</manifestFile>
+		  <workDirectory>${basedir}/target/unit/basic-eba-with-descriptor/target/eba-test-with-descriptor</workDirectory>
+		  <outputDirectory>${basedir}/target/unit/basic-eba-with-descriptor/target</outputDirectory>
+		  <finalName>test-eba-with-descriptor</finalName>
+		  <project implementation="org.apache.aries.plugin.eba.stubs.EbaMavenProjectStub2" />
+		</configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-descriptor/plugin-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-descriptor/plugin-config.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-descriptor/plugin-config.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-descriptor/src/main/eba/META-INF/application.mf
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-descriptor/src/main/eba/META-INF/application.mf?rev=916535&view=auto
==============================================================================
--- incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-descriptor/src/main/eba/META-INF/application.mf (added)
+++ incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-descriptor/src/main/eba/META-INF/application.mf Fri Feb 26 02:09:50 2010
@@ -0,0 +1,12 @@
+Manifest-Version: 1.0
+Application-ManifestVersion: 1.0
+Application-Name: Bank Account
+Application-SymbolicName: com.mybank.account.app
+Application-Version: 1.0
+Application-Content:
+	com.mybank.account.bankWeb; version=1.0.0,
+	com.mybank.account.bankAccount; version=1.0.0,
+	com.mybank.account.common; version=1.0.0,
+	com.mybank.account.utility; version=1.0.0
+Application-ExportService: com.mybank.account.service.AccountService
+Application-ImportService: com.mybank.security.UserAuthService;filter="(security=strong)"

Added: incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-manifest/plugin-config.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-manifest/plugin-config.xml?rev=916535&view=auto
==============================================================================
--- incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-manifest/plugin-config.xml (added)
+++ incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-manifest/plugin-config.xml Fri Feb 26 02:09:50 2010
@@ -0,0 +1,38 @@
+<!--
+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>
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>eba-maven-plugin</artifactId>
+		<configuration>
+		  <ebaSourceDirectory>${basedir}/src/test/resources/unit/basic-eba-with-manifest/src/main/eba</ebaSourceDirectory>
+		  <applicationManifestFile>${basedir}/src/test/resources/unit/basic-eba-with-manifest/src/main/eba/META-INF/application.mf</applicationManifestFile>
+		  <includeJar>false</includeJar>
+		  <manifestFile>${basedir}/src/test/resources/unit/basic-eba-with-manifest/src/main/eba/META-INF/MANIFEST.MF</manifestFile>
+		  <workDirectory>${basedir}/target/unit/basic-eba-with-manifest/target/eba-test-with-manifest</workDirectory>
+		  <outputDirectory>${basedir}/target/unit/basic-eba-with-manifest/target</outputDirectory>
+		  <finalName>test-eba-with-manifest</finalName>
+		  <project implementation="org.apache.aries.plugin.eba.stubs.EbaMavenProjectStub3" />
+		</configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-manifest/plugin-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-manifest/plugin-config.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-manifest/plugin-config.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-manifest/src/main/eba/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-manifest/src/main/eba/META-INF/MANIFEST.MF?rev=916535&view=auto
==============================================================================
--- incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-manifest/src/main/eba/META-INF/MANIFEST.MF (added)
+++ incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-manifest/src/main/eba/META-INF/MANIFEST.MF Fri Feb 26 02:09:50 2010
@@ -0,0 +1,12 @@
+Manifest-Version: test
+Archiver-Version: test
+Created-By: Apache Maven
+Built-By: aqr
+Build-Jdk: 1.4.2_11
+Extension-Name: maven-rar-test
+Specification-Title: Test description
+Specification-Vendor: organization
+Implementation-Vendor: organization
+Implementation-Title: maven-rar-test
+Implementation-Version: 1.0-SNAPSHOT
+

Added: incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-manifest/src/main/eba/META-INF/application.mf
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-manifest/src/main/eba/META-INF/application.mf?rev=916535&view=auto
==============================================================================
--- incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-manifest/src/main/eba/META-INF/application.mf (added)
+++ incubator/aries/trunk/application/eba-maven-plugin/src/test/resources/unit/basic-eba-with-manifest/src/main/eba/META-INF/application.mf Fri Feb 26 02:09:50 2010
@@ -0,0 +1,12 @@
+Manifest-Version: 1.0
+Application-ManifestVersion: 1.0
+Application-Name: Bank Account
+Application-SymbolicName: com.mybank.account.app
+Application-Version: 1.0
+Application-Content:
+	com.mybank.account.bankWeb; version=1.0.0,
+	com.mybank.account.bankAccount; version=1.0.0,
+	com.mybank.account.common; version=1.0.0,
+	com.mybank.account.utility; version=1.0.0
+Application-ExportService: com.mybank.account.service.AccountService
+Application-ImportService: com.mybank.security.UserAuthService;filter="(security=strong)"



Mime
View raw message