You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by zo...@apache.org on 2011/02/27 18:50:54 UTC

svn commit: r1075095 [1/2] - in /aries/tags/eba-maven-plugin-0.1-incubating: ./ src/ src/it/ src/it/default/ src/it/default/src/ src/it/default/src/main/ src/it/default/src/main/custom/ src/it/default/src/main/eba/ src/main/ src/main/java/ src/main/jav...

Author: zoe
Date: Sun Feb 27 17:50:52 2011
New Revision: 1075095

URL: http://svn.apache.org/viewvc?rev=1075095&view=rev
Log:
Restore eba maven plugin 0.1

Added:
    aries/tags/eba-maven-plugin-0.1-incubating/
    aries/tags/eba-maven-plugin-0.1-incubating/LICENSE
    aries/tags/eba-maven-plugin-0.1-incubating/NOTICE
    aries/tags/eba-maven-plugin-0.1-incubating/pom.xml
    aries/tags/eba-maven-plugin-0.1-incubating/src/
    aries/tags/eba-maven-plugin-0.1-incubating/src/it/
    aries/tags/eba-maven-plugin-0.1-incubating/src/it/default/
    aries/tags/eba-maven-plugin-0.1-incubating/src/it/default/pom.xml
    aries/tags/eba-maven-plugin-0.1-incubating/src/it/default/src/
    aries/tags/eba-maven-plugin-0.1-incubating/src/it/default/src/main/
    aries/tags/eba-maven-plugin-0.1-incubating/src/it/default/src/main/custom/
    aries/tags/eba-maven-plugin-0.1-incubating/src/it/default/src/main/custom/APPLICATION.MF
    aries/tags/eba-maven-plugin-0.1-incubating/src/it/default/src/main/eba/
    aries/tags/eba-maven-plugin-0.1-incubating/src/it/default/src/main/eba/SomeResource.txt
    aries/tags/eba-maven-plugin-0.1-incubating/src/it/default/verify.bsh
    aries/tags/eba-maven-plugin-0.1-incubating/src/it/settings.xml
    aries/tags/eba-maven-plugin-0.1-incubating/src/main/
    aries/tags/eba-maven-plugin-0.1-incubating/src/main/java/
    aries/tags/eba-maven-plugin-0.1-incubating/src/main/java/org/
    aries/tags/eba-maven-plugin-0.1-incubating/src/main/java/org/apache/
    aries/tags/eba-maven-plugin-0.1-incubating/src/main/java/org/apache/aries/
    aries/tags/eba-maven-plugin-0.1-incubating/src/main/java/org/apache/aries/plugin/
    aries/tags/eba-maven-plugin-0.1-incubating/src/main/java/org/apache/aries/plugin/eba/
    aries/tags/eba-maven-plugin-0.1-incubating/src/main/java/org/apache/aries/plugin/eba/EbaMojo.java
    aries/tags/eba-maven-plugin-0.1-incubating/src/main/resources/
    aries/tags/eba-maven-plugin-0.1-incubating/src/main/resources/META-INF/
    aries/tags/eba-maven-plugin-0.1-incubating/src/main/resources/META-INF/plexus/
    aries/tags/eba-maven-plugin-0.1-incubating/src/main/resources/META-INF/plexus/components.xml
    aries/tags/eba-maven-plugin-0.1-incubating/src/site/
    aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/
    aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/examples/
    aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/examples/exclude-project-jar.apt.vm
    aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/examples/include-extra-files.apt.vm
    aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/examples/manifest.apt.vm
    aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/examples/ra-custom-location.apt.vm
    aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/index.apt
    aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/usage.apt.vm
    aries/tags/eba-maven-plugin-0.1-incubating/src/site/fml/
    aries/tags/eba-maven-plugin-0.1-incubating/src/site/fml/faq.fml
    aries/tags/eba-maven-plugin-0.1-incubating/src/site/site.xml
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/java/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/java/org/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/java/org/apache/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/java/org/apache/aries/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/java/org/apache/aries/plugin/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/java/org/apache/aries/plugin/eba/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/java/org/apache/aries/plugin/eba/EbaMojoTest.java
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/java/org/apache/aries/plugin/eba/stubs/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/java/org/apache/aries/plugin/eba/stubs/EbaArtifactStub.java
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/java/org/apache/aries/plugin/eba/stubs/EbaMavenProjectStub.java
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/java/org/apache/aries/plugin/eba/stubs/EbaMavenProjectStub2.java
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/java/org/apache/aries/plugin/eba/stubs/EbaMavenProjectStub3.java
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/remote-repo/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/remote-repo/org/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/remote-repo/org/apache/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/remote-repo/org/apache/maven/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/remote-repo/org/apache/maven/test/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/remote-repo/org/apache/maven/test/maven-artifact01/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/remote-repo/org/apache/maven/test/maven-artifact01/1.0-SNAPSHOT/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/remote-repo/org/apache/maven/test/maven-artifact01/1.0-SNAPSHOT/maven-artifact01-1.0-SNAPSHOT.jar
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/remote-repo/org/apache/maven/test/maven-artifact01/1.0-SNAPSHOT/maven-artifact01-1.0-SNAPSHOT.pom
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/remote-repo/org/apache/maven/test/maven-artifact02/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/remote-repo/org/apache/maven/test/maven-artifact02/1.0-SNAPSHOT/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/remote-repo/org/apache/maven/test/maven-artifact02/1.0-SNAPSHOT/maven-artifact02-1.0-SNAPSHOT.jar
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/remote-repo/org/apache/maven/test/maven-artifact02/1.0-SNAPSHOT/maven-artifact02-1.0-SNAPSHOT.pom
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/resources/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/resources/unit/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/resources/unit/basic-eba-test/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/resources/unit/basic-eba-test/plugin-config.xml
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/resources/unit/basic-eba-with-descriptor/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/resources/unit/basic-eba-with-descriptor/plugin-config.xml
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/resources/unit/basic-eba-with-descriptor/src/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/resources/unit/basic-eba-with-descriptor/src/main/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/resources/unit/basic-eba-with-descriptor/src/main/eba/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/resources/unit/basic-eba-with-descriptor/src/main/eba/META-INF/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/resources/unit/basic-eba-with-descriptor/src/main/eba/META-INF/APPLICATION.MF
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/resources/unit/basic-eba-with-manifest/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/resources/unit/basic-eba-with-manifest/plugin-config.xml
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/resources/unit/basic-eba-with-manifest/src/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/resources/unit/basic-eba-with-manifest/src/main/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/resources/unit/basic-eba-with-manifest/src/main/eba/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/resources/unit/basic-eba-with-manifest/src/main/eba/META-INF/
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/resources/unit/basic-eba-with-manifest/src/main/eba/META-INF/APPLICATION.MF
    aries/tags/eba-maven-plugin-0.1-incubating/src/test/resources/unit/basic-eba-with-manifest/src/main/eba/META-INF/MANIFEST.MF

Added: aries/tags/eba-maven-plugin-0.1-incubating/LICENSE
URL: http://svn.apache.org/viewvc/aries/tags/eba-maven-plugin-0.1-incubating/LICENSE?rev=1075095&view=auto
==============================================================================
--- aries/tags/eba-maven-plugin-0.1-incubating/LICENSE (added)
+++ aries/tags/eba-maven-plugin-0.1-incubating/LICENSE Sun Feb 27 17:50:52 2011
@@ -0,0 +1,203 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed 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.
+

Added: aries/tags/eba-maven-plugin-0.1-incubating/NOTICE
URL: http://svn.apache.org/viewvc/aries/tags/eba-maven-plugin-0.1-incubating/NOTICE?rev=1075095&view=auto
==============================================================================
--- aries/tags/eba-maven-plugin-0.1-incubating/NOTICE (added)
+++ aries/tags/eba-maven-plugin-0.1-incubating/NOTICE Sun Feb 27 17:50:52 2011
@@ -0,0 +1,8 @@
+
+Apache Aries
+Copyright 2009-2010 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+

Added: aries/tags/eba-maven-plugin-0.1-incubating/pom.xml
URL: http://svn.apache.org/viewvc/aries/tags/eba-maven-plugin-0.1-incubating/pom.xml?rev=1075095&view=auto
==============================================================================
--- aries/tags/eba-maven-plugin-0.1-incubating/pom.xml (added)
+++ aries/tags/eba-maven-plugin-0.1-incubating/pom.xml Sun Feb 27 17:50:52 2011
@@ -0,0 +1,122 @@
+<?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>
+
+    <parent>
+        <groupId>org.apache.aries</groupId>
+        <artifactId>java5-parent</artifactId>
+        <version>0.1-incubating</version>
+    </parent>
+    
+    <artifactId>eba-maven-plugin</artifactId>
+    <version>0.1-incubating</version>
+    <packaging>maven-plugin</packaging>
+
+    <name>Aries Maven EBA Plugin</name>
+    <description>Builds an eba (Enterprise Bundle Archive) from the project for deployment to an aries server.
+    </description>
+
+    <scm>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/aries/tags/eba-maven-plugin-0.1-incubating</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/aries/tags/eba-maven-plugin-0.1-incubating</developerConnection>
+        <url>http://svn.apache.org/viewvc/incubator/aries/tags/eba-maven-plugin-0.1-incubating</url>
+    </scm>
+    
+    <dependencies>
+        <dependency>
+            <groupId>biz.aQute</groupId>
+            <artifactId>bndlib</artifactId>
+            <version>0.0.357</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>maven-bundle-plugin</artifactId>
+            <version>2.0.0</version>
+        </dependency>
+        <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.3</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.maven.shared</groupId>
+            <artifactId>maven-plugin-testing-harness</artifactId>
+            <version>1.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>

Added: aries/tags/eba-maven-plugin-0.1-incubating/src/it/default/pom.xml
URL: http://svn.apache.org/viewvc/aries/tags/eba-maven-plugin-0.1-incubating/src/it/default/pom.xml?rev=1075095&view=auto
==============================================================================
--- aries/tags/eba-maven-plugin-0.1-incubating/src/it/default/pom.xml (added)
+++ aries/tags/eba-maven-plugin-0.1-incubating/src/it/default/pom.xml Sun Feb 27 17:50:52 2011
@@ -0,0 +1,47 @@
+<?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.aries.its.it0070</groupId>
+    <artifactId>maven-it-it0070</artifactId>
+    <version>1.0</version>
+    <packaging>eba</packaging>
+
+    <name>Maven Integration Test :: it0070</name>
+    <description>Test an eba generation.</description>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.aries</groupId>
+                <artifactId>eba-maven-plugin</artifactId>
+                <version>@project.version@</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <includeJar>false</includeJar>
+                    <applicationManifestFile>src/main/custom/APPLICATION.MF</applicationManifestFile>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Added: aries/tags/eba-maven-plugin-0.1-incubating/src/it/default/src/main/custom/APPLICATION.MF
URL: http://svn.apache.org/viewvc/aries/tags/eba-maven-plugin-0.1-incubating/src/it/default/src/main/custom/APPLICATION.MF?rev=1075095&view=auto
==============================================================================
--- aries/tags/eba-maven-plugin-0.1-incubating/src/it/default/src/main/custom/APPLICATION.MF (added)
+++ aries/tags/eba-maven-plugin-0.1-incubating/src/it/default/src/main/custom/APPLICATION.MF Sun Feb 27 17:50:52 2011
@@ -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: aries/tags/eba-maven-plugin-0.1-incubating/src/it/default/src/main/eba/SomeResource.txt
URL: http://svn.apache.org/viewvc/aries/tags/eba-maven-plugin-0.1-incubating/src/it/default/src/main/eba/SomeResource.txt?rev=1075095&view=auto
==============================================================================
--- aries/tags/eba-maven-plugin-0.1-incubating/src/it/default/src/main/eba/SomeResource.txt (added)
+++ aries/tags/eba-maven-plugin-0.1-incubating/src/it/default/src/main/eba/SomeResource.txt Sun Feb 27 17:50:52 2011
@@ -0,0 +1,19 @@
+#
+# 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.
+#
+

Added: aries/tags/eba-maven-plugin-0.1-incubating/src/it/default/verify.bsh
URL: http://svn.apache.org/viewvc/aries/tags/eba-maven-plugin-0.1-incubating/src/it/default/verify.bsh?rev=1075095&view=auto
==============================================================================
--- aries/tags/eba-maven-plugin-0.1-incubating/src/it/default/verify.bsh (added)
+++ aries/tags/eba-maven-plugin-0.1-incubating/src/it/default/verify.bsh Sun Feb 27 17:50:52 2011
@@ -0,0 +1,58 @@
+/*
+ * 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.*;
+import java.util.*;
+import java.util.jar.*;
+import java.util.regex.*;
+
+try
+{
+    File jarFile = new File( basedir, "target/maven-it-it0070-1.0.eba" );
+    System.out.println( "Checking for existence of " + jarFile );
+    if ( !jarFile.isFile() )
+    {
+        System.out.println( "FAILURE!" );
+        return false;
+    }
+
+    JarFile jar = new JarFile( jarFile );
+
+    String[] includedEntries = {
+        "META-INF/APPLICATION.MF",
+        "SomeResource.txt",
+    };
+    for ( String included : includedEntries )
+    {
+        System.out.println( "Checking for existence of " + included );
+        if ( jar.getEntry( included ) == null )
+        {
+            System.out.println( "FAILURE!" );
+            return false;
+        }
+    }
+
+    jar.close();
+}
+catch( Throwable t )
+{
+    t.printStackTrace();
+    return false;
+}
+
+return true;

Added: aries/tags/eba-maven-plugin-0.1-incubating/src/it/settings.xml
URL: http://svn.apache.org/viewvc/aries/tags/eba-maven-plugin-0.1-incubating/src/it/settings.xml?rev=1075095&view=auto
==============================================================================
--- aries/tags/eba-maven-plugin-0.1-incubating/src/it/settings.xml (added)
+++ aries/tags/eba-maven-plugin-0.1-incubating/src/it/settings.xml Sun Feb 27 17:50:52 2011
@@ -0,0 +1,55 @@
+<?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.
+-->
+
+<settings>
+  <profiles>
+    <profile>
+      <id>it-repo</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
+      <repositories>
+        <repository>
+          <id>local.central</id>
+          <url>@localRepositoryUrl@</url>
+          <releases>
+            <enabled>true</enabled>
+          </releases>
+          <snapshots>
+            <enabled>true</enabled>
+          </snapshots>
+        </repository>
+      </repositories>
+      <pluginRepositories>
+        <pluginRepository>
+          <id>local.central</id>
+          <url>@localRepositoryUrl@</url>
+          <releases>
+            <enabled>true</enabled>
+          </releases>
+          <snapshots>
+            <enabled>true</enabled>
+          </snapshots>
+        </pluginRepository>
+      </pluginRepositories>
+    </profile>
+  </profiles>
+</settings>

Added: aries/tags/eba-maven-plugin-0.1-incubating/src/main/java/org/apache/aries/plugin/eba/EbaMojo.java
URL: http://svn.apache.org/viewvc/aries/tags/eba-maven-plugin-0.1-incubating/src/main/java/org/apache/aries/plugin/eba/EbaMojo.java?rev=1075095&view=auto
==============================================================================
--- aries/tags/eba-maven-plugin-0.1-incubating/src/main/java/org/apache/aries/plugin/eba/EbaMojo.java (added)
+++ aries/tags/eba-maven-plugin-0.1-incubating/src/main/java/org/apache/aries/plugin/eba/EbaMojo.java Sun Feb 27 17:50:52 2011
@@ -0,0 +1,475 @@
+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.archiver.PomPropertiesUtil;
+import org.apache.maven.artifact.Artifact;
+import org.apache.maven.artifact.resolver.filter.ScopeArtifactFilter;
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.project.MavenProject;
+import org.codehaus.plexus.archiver.ArchiverException;
+import org.codehaus.plexus.archiver.zip.ZipArchiver;
+import org.codehaus.plexus.util.DirectoryScanner;
+import org.codehaus.plexus.util.FileUtils;
+import org.apache.maven.shared.osgi.DefaultMaven2OsgiConverter;
+import org.apache.maven.shared.osgi.Maven2OsgiConverter;
+import aQute.lib.osgi.Analyzer;
+import java.io.File;
+import java.io.IOException;
+import java.util.Iterator;
+import java.util.LinkedHashMap;
+import java.util.Map;
+import java.util.Set;
+
+/**
+ * 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 = {"**/**"};
+
+    /**
+     * Application manifest headers
+     */
+    private static final String MANIFEST_VERSION = "Manifest-Version";
+    private static final String APPLICATION_MANIFESTVERSION = "Application-ManifestVersion";
+    private static final String APPLICATION_SYMBOLICNAME = "Application-SymbolicName";
+    private static final String APPLICATION_VERSION = "Application-Version";
+    private static final String APPLICATION_NAME = "Application-Name";
+    private static final String APPLICATION_DESCRIPTION = "Application-Description";
+    private static final String APPLICATION_CONTENT = "Application-Content";
+    private static final String APPLICATION_EXPORTSERVICE = "Application-ExportService";
+    private static final String APPLICATION_IMPORTSERVICE = "Application-ImportService";
+
+    /**
+     * Coverter for maven pom values to OSGi manifest values (pulled in from the maven-bundle-plugin)
+     */
+    private Maven2OsgiConverter maven2OsgiConverter = new DefaultMaven2OsgiConverter();
+    
+    /**
+     * 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;
+
+    /**
+     * Directory that remote-resources puts legal files.
+     *
+     * @parameter expression="${project.build.directory}/maven-shared-archive-resources"
+     * @required
+     */
+    private String sharedResources;
+
+    /**
+     * 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.
+     *
+     * @parameter expression="${component.org.codehaus.plexus.archiver.Archiver#zip}"
+     * @required
+     */
+    private ZipArchiver zipArchiver;
+
+    /**
+     * Whether to generate a manifest based on maven configuration.
+     *
+     * @parameter expression="${generateManifest}" default-value="false"
+     */
+    private boolean generateManifest;
+
+    /**
+     * Configuration for the plugin.
+     *
+     * @parameter
+     */
+    private Map instructions = new LinkedHashMap();;    
+    
+    /**
+     * Adding pom.xml and pom.properties to the archive.
+     *
+     * @parameter expression="${addMavenDescriptor}" default-value="true"
+     */
+    private boolean addMavenDescriptor;
+
+    /**
+     * Include or not empty directories
+     *
+     * @parameter expression="${includeEmptyDirs}" default-value="true"
+     */
+    private boolean includeEmptyDirs;
+
+    /**
+     * Whether creating the archive should be forced.
+     *
+     * @parameter expression="${forceCreation}" default-value="false"
+     */
+    private boolean forceCreation;
+
+    /**
+     * Whether to follow transitive dependencies or use explicit dependencies.
+     *
+     * @parameter expression="${useTransitiveDependencies}" default-value="false"
+     */
+    private boolean useTransitiveDependencies;
+
+
+    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 + "]" );
+        getLog().debug( "generateManifest[" + generateManifest + "]" );
+
+        zipArchiver.setIncludeEmptyDirs( includeEmptyDirs );
+        zipArchiver.setCompress( true );
+        zipArchiver.setForced( forceCreation );
+        // 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()+"]");
+                    zipArchiver.addFile(generatedJarFile, finalName + ".jar");
+                }
+            }
+        }
+        catch ( ArchiverException e )
+        {
+            throw new MojoExecutionException( "Error adding generated Jar file", e );
+
+        }
+
+        // Copy dependencies
+        try
+        {
+            Set<Artifact> artifacts;
+            if (useTransitiveDependencies) {
+                artifacts = project.getArtifacts();
+            } else {
+                artifacts = project.getDependencyArtifacts();
+            }
+            for (Artifact artifact : artifacts) {
+
+                ScopeArtifactFilter filter = new ScopeArtifactFilter(Artifact.SCOPE_RUNTIME);
+                if (!artifact.isOptional() && filter.include(artifact)) {
+                    getLog().info("Copying artifact[" + artifact.getGroupId() + ", " + artifact.getId() + ", " +
+                            artifact.getScope() + "]");
+                    zipArchiver.addFile(artifact.getFile(), artifact.getArtifactId() + "-" + artifact.getVersion() + "." + (artifact.getType() == null ? "jar" : artifact.getType()));
+                }
+            }
+        }
+        catch ( ArchiverException 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
+        {
+            if (!generateManifest) {
+            	includeCustomApplicationManifestFile();
+            }
+        }
+        catch ( IOException e )
+        {
+            throw new MojoExecutionException( "Error copying APPLICATION.MF file", e );
+        }
+
+		// Generate application manifest if requested
+		if (generateManifest) {
+			String fileName = new String(getBuildDir() + "/"
+					+ APPLICATION_MF_URI);
+			File appMfFile = new File(fileName);
+
+			try {
+				// Delete any old manifest
+				if (appMfFile.exists()) {
+					FileUtils.fileDelete(fileName);
+				}
+
+				appMfFile.getParentFile().mkdirs();
+				if (appMfFile.createNewFile()) {
+					writeApplicationManifest(fileName);
+				}
+			} catch (java.io.IOException e) {
+				throw new MojoExecutionException(
+						"Error generating APPLICATION.MF file: " + fileName, e);
+			}
+		}
+        
+        // Check if connector deployment descriptor is there
+        File ddFile = new File( getBuildDir(), APPLICATION_MF_URI);
+        if ( !ddFile.exists() )
+        {
+            getLog().warn(
+                "Application manifest: " + ddFile.getAbsolutePath() + " does not exist." );
+        }
+
+        try
+        {
+            if (addMavenDescriptor) {
+                if (project.getArtifact().isSnapshot()) {
+                    project.setVersion(project.getArtifact().getVersion());
+                }
+
+                String groupId = project.getGroupId();
+
+                String artifactId = project.getArtifactId();
+
+                zipArchiver.addFile(project.getFile(), "META-INF/maven/" + groupId + "/" + artifactId + "/pom.xml");
+                PomPropertiesUtil pomPropertiesUtil = new PomPropertiesUtil();
+                File dir = new File(project.getBuild().getDirectory(), "maven-zip-plugin");
+                File pomPropertiesFile = new File(dir, "pom.properties");
+                pomPropertiesUtil.createPomProperties(project, zipArchiver, pomPropertiesFile, forceCreation);
+            }
+            File ebaFile = new File( outputDirectory, finalName + ".eba" );
+            zipArchiver.setDestFile(ebaFile);
+
+            File buildDir = getBuildDir();
+            if (buildDir.isDirectory()) {
+                zipArchiver.addDirectory(buildDir);
+            }
+            //include legal files if any
+            File sharedResourcesDir = new File(sharedResources);
+            if (sharedResourcesDir.isDirectory()) {
+                zipArchiver.addDirectory(sharedResourcesDir);
+            }
+            zipArchiver.createArchive();
+
+            project.getArtifact().setFile( ebaFile );
+        }
+        catch ( Exception e )
+        {
+            throw new MojoExecutionException( "Error assembling eba", e );
+        }
+    }
+
+	private void writeApplicationManifest(String fileName)
+			throws MojoExecutionException {
+		try {
+			// TODO: add support for dependency version ranges. Need to pick
+			// them up from the pom and convert them to OSGi version ranges.
+			FileUtils.fileAppend(fileName, MANIFEST_VERSION + ": " + "1" + "\n");
+			FileUtils.fileAppend(fileName, APPLICATION_MANIFESTVERSION + ": " + "1" + "\n");
+			FileUtils.fileAppend(fileName, APPLICATION_SYMBOLICNAME + ": "
+					+ getApplicationSymbolicName(project.getArtifact()) + "\n");
+			FileUtils.fileAppend(fileName, APPLICATION_VERSION + ": "
+					+ aQute.lib.osgi.Analyzer.cleanupVersion(project.getVersion()) + "\n");
+//					+ maven2OsgiConverter.getVersion(project.getVersion()) + "\n");
+			FileUtils.fileAppend(fileName, APPLICATION_NAME + ": " + project.getName() + "\n");
+			FileUtils.fileAppend(fileName, APPLICATION_DESCRIPTION + ": "
+					+ project.getDescription() + "\n");
+
+			// Write the APPLICATION-CONTENT
+			// TODO: check that the dependencies are bundles (currently, the converter
+			// will throw an exception)
+			Set<Artifact> artifacts;
+			if (useTransitiveDependencies) {
+				artifacts = project.getArtifacts();
+			} else {
+				artifacts = project.getDependencyArtifacts();
+			}
+			Iterator<Artifact> iter = artifacts.iterator();
+
+			FileUtils.fileAppend(fileName, APPLICATION_CONTENT + ": ");
+			if (iter.hasNext()) {
+				Artifact artifact = iter.next();
+				FileUtils.fileAppend(fileName, maven2OsgiConverter
+						.getBundleSymbolicName(artifact)
+						+ ";version=\""
+						+ aQute.lib.osgi.Analyzer.cleanupVersion(artifact.getVersion())
+//						+ maven2OsgiConverter.getVersion(artifact.getVersion())
+						+ "\"");
+			}
+			while (iter.hasNext()) {
+				Artifact artifact = iter.next();
+				FileUtils.fileAppend(fileName, ",\n "
+						+ maven2OsgiConverter.getBundleSymbolicName(artifact)
+						+ ";version=\""
+						+ aQute.lib.osgi.Analyzer.cleanupVersion(artifact.getVersion())
+//						+ maven2OsgiConverter.getVersion(artifact.getVersion())
+						+ "\"");
+			}
+
+			FileUtils.fileAppend(fileName, "\n");
+
+			// Add any service imports or exports
+			if (instructions.containsKey(APPLICATION_EXPORTSERVICE)) {
+				FileUtils.fileAppend(fileName, APPLICATION_EXPORTSERVICE + ": "
+						+ instructions.get(APPLICATION_EXPORTSERVICE) + "\n");
+			}
+			if (instructions.containsKey(APPLICATION_IMPORTSERVICE)) {
+				FileUtils.fileAppend(fileName, APPLICATION_IMPORTSERVICE + ": "
+						+ instructions.get(APPLICATION_IMPORTSERVICE) + "\n");
+			}
+
+		} catch (Exception e) {
+			throw new MojoExecutionException(
+					"Error writing dependencies into APPLICATION.MF", e);
+		}
+
+	}
+    
+    // The maven2OsgiConverter assumes the artifact is a jar so we need our own
+	// This uses the same fallback scheme as the converter
+    private String getApplicationSymbolicName(Artifact artifact) {
+		if (instructions.containsKey(APPLICATION_SYMBOLICNAME)) {
+			return instructions.get(APPLICATION_SYMBOLICNAME).toString();
+		}
+    	return artifact.getGroupId() + "." + artifact.getArtifactId();
+    }
+    
+    protected File getBuildDir()
+    {
+        if ( buildDir == null )
+        {
+            buildDir = new File( workDirectory );
+        }
+        return buildDir;
+    }
+
+    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);
+        }
+    }
+}

Added: aries/tags/eba-maven-plugin-0.1-incubating/src/main/resources/META-INF/plexus/components.xml
URL: http://svn.apache.org/viewvc/aries/tags/eba-maven-plugin-0.1-incubating/src/main/resources/META-INF/plexus/components.xml?rev=1075095&view=auto
==============================================================================
--- aries/tags/eba-maven-plugin-0.1-incubating/src/main/resources/META-INF/plexus/components.xml (added)
+++ aries/tags/eba-maven-plugin-0.1-incubating/src/main/resources/META-INF/plexus/components.xml Sun Feb 27 17:50:52 2011
@@ -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: 921298 $ $Date: 2010-03-10 10:50:52 +0000 (Wed, 10 Mar 2010) $ -->
+
+<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: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>
+

Added: aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/examples/exclude-project-jar.apt.vm
URL: http://svn.apache.org/viewvc/aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/examples/exclude-project-jar.apt.vm?rev=1075095&view=auto
==============================================================================
--- aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/examples/exclude-project-jar.apt.vm (added)
+++ aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/examples/exclude-project-jar.apt.vm Sun Feb 27 17:50:52 2011
@@ -0,0 +1,57 @@
+  ------
+  Exclude the project jar in the RAR
+  ------
+  Stephane Nicoll
+  Allan Ramirez
+  ------
+  July 2006
+  ------
+
+~~ 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.               
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/doxia/references/apt-format.html
+
+Exclude the project jar in the RAR
+
+  By default, the generated JAR file is included in the RAR file. This behavior
+  is controlled by the <<includeJar>> property. For instance, to exclude the generated
+  JAR file from the RAR, set the <<includeJar>> property to <<false>>.
+
++---+
+[...]
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-rar-plugin</artifactId>
+        <version>${project.version}</version>
+        <configuration>
+           <includeJar>false</includeJar>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+[...]
++----+
+
+  Then execute the plugin by invoking the <<<rar:rar>>> goal.
+
++----+
+mvn rar:rar
++----+

Added: aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/examples/include-extra-files.apt.vm
URL: http://svn.apache.org/viewvc/aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/examples/include-extra-files.apt.vm?rev=1075095&view=auto
==============================================================================
--- aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/examples/include-extra-files.apt.vm (added)
+++ aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/examples/include-extra-files.apt.vm Sun Feb 27 17:50:52 2011
@@ -0,0 +1,75 @@
+  ------
+  Include extra files in the RAR
+  ------
+  Allan Ramirez
+  ------
+  July 2006
+  ------
+
+~~ 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.               
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/doxia/references/apt-format.html
+
+Include extra files in the RAR
+
+  Extra files may also be included in the generated archive(rar). By default,
+  all files placed inside the <<<src/main/rar>>> will be included.
+
++---+
+project
+|--pom.xml
+|--src
+   `--main
+      |--rar
+      |  `-- <!-- put the extra files here -->
+      |--java
+         [...]
++---+
+
+  Then execute the plugin by invoking the <<<rar:rar>>> goal.
+
++---+
+mvn rar:rar
++---+
+
+  To be able to change the location of the directory, configure the
+  <<<rarSourceDirectory>>> property and set a path for it.
+
++---+
+<project>
+  [...]
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-rar-plugin</artifactId>
+        <version>${project.version}</version>
+        <configuration>
+           <rarSourceDirectory>some-path</rarSourceDirectory>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+  [...]
+</project>
++----+
+
+
+
+

Added: aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/examples/manifest.apt.vm
URL: http://svn.apache.org/viewvc/aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/examples/manifest.apt.vm?rev=1075095&view=auto
==============================================================================
--- aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/examples/manifest.apt.vm (added)
+++ aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/examples/manifest.apt.vm Sun Feb 27 17:50:52 2011
@@ -0,0 +1,53 @@
+  ------
+  Adding Manifest File
+  ------
+  Allan Ramirez
+  ------
+  July 2006
+  ------
+
+~~ 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.               
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/doxia/references/apt-format.html
+
+Adding Manifest File
+
+  By default, The RAR plugin retrieves the manifest file to use in this
+  location <<<${basedir}/src/main/rar/META-INF/MANIFEST.MF>>>. To be able to
+  change the location, configure the <<manifestFile>> property and set the
+  value to the new location.
+
++---+
+<project>
+  [...]
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-rar-plugin</artifactId>
+        <version>${project.version}</version>
+        <configuration>
+           <manifestFile>src/resources/META-INF/MANIFEST.MF</manifestFile>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+  [...]
+</project>
++----+

Added: aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/examples/ra-custom-location.apt.vm
URL: http://svn.apache.org/viewvc/aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/examples/ra-custom-location.apt.vm?rev=1075095&view=auto
==============================================================================
--- aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/examples/ra-custom-location.apt.vm (added)
+++ aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/examples/ra-custom-location.apt.vm Sun Feb 27 17:50:52 2011
@@ -0,0 +1,59 @@
+  ------
+  Custom location of the Resource Adapter Descriptor
+  ------
+  Stephane Nicoll
+  Allan Ramirez
+  ------
+  July 2006
+  ------
+
+~~ 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.               
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/doxia/references/apt-format.html
+
+Custom location of the Resource Adapter Descriptor
+
+   It is also possible to specify a custom location for the ra.xml file. For
+   instance to use the file located in <<<src/resources/ra.xml>>>, configure your
+   project as follows:
+
++---+
+<project>
+  [...]
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-rar-plugin</artifactId>
+        <version>${project.version}</version>
+        <configuration>
+           <raXmlFile>src/resources/ra.xml</raXmlFile>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+  [...]
+</project>
++----+
+
+   Then execute the plugin by invoking the <<<rar:rar>>> goal.
+
++----+
+mvn rar:rar
++----+

Added: aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/index.apt?rev=1075095&view=auto
==============================================================================
--- aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/index.apt (added)
+++ aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/index.apt Sun Feb 27 17:50:52 2011
@@ -0,0 +1,88 @@
+  ------
+  Introduction
+  ------
+  Allan Ramirez
+  ------
+  July 2006
+  ------
+
+~~ 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/doxia/references/apt-format.html
+
+Maven RAR Plugin
+
+  A resource adapter is a system-level software driver that a Java application
+  uses to connect to an enterprise information system (EIS). The RAR plugin
+  has the capability to store these resource adapters to an archive (Resource
+  Adapter Archive or RAR) which can be deployed to a J2EE server.
+
+* Goals Overview
+
+  The RAR plugin has only one goal:
+
+  * {{{./rar-mojo.html}rar:rar}} used to package the Resource Adapter Archive
+  (RAR) files.
+
+  []
+
+* Usage
+
+  General instructions on how to use the RAR Plugin can be found on the {{{./usage.html}usage page}}. Some more
+  specific use cases are described in the examples given below. Last but not least, users occasionally contribute
+  additional examples, tips or errata to the
+  {{{http://docs.codehaus.org/display/MAVENUSER/RAR+Plugin}plugin's wiki page}}.
+
+  In case you still have questions regarding the plugin's usage, please have a look at the {{{./faq.html}FAQ}} and feel
+  free to contact the {{{./mail-lists.html}user mailing list}}. The posts to the mailing list are archived and could
+  already contain the answer to your question as part of an older thread. Hence, it is also worth browsing/searching
+  the {{{./mail-lists.html}mail archive}}.
+
+  If you feel like the plugin is missing a feature or has a defect, you can fill a feature request or bug report in our
+  {{{./issue-tracking.html}issue tracker}}. When creating a new issue, please provide a comprehensive description of your
+  concern. Especially for fixing bugs it is crucial that the developers can reproduce your problem. For this reason,
+  entire debug logs, POMs or most preferably little demo projects attached to the issue are very much appreciated.
+  Of course, patches are welcome, too. Contributors can check out the project from our
+  {{{./source-repository.html}source repository}} and will find supplementary information in the
+  {{{http://maven.apache.org/guides/development/guide-helping.html}guide to helping with Maven}}.
+
+* Examples
+
+  To provide you with better understanding on some usages of the Plugin Name,
+  you can take a look into the following examples:
+
+  * {{{./examples/exclude-project-jar.html}Exclude the project jar from the rar}}
+
+  * {{{./examples/ra-custom-location.html}Custom location of Resource Adapter Descriptor}}
+
+  * {{{./examples/include-extra-files.html}Include extra files in RAR}}
+
+  * {{{./examples/manifest.html}Adding Manifest File}}
+
+  []
+
+* Resources
+
+  Here are some references you can use to know more about Resource Adapter Archive.
+
+  * {{{http://java.sun.com/j2ee/connector/}J2EE Connector API specification}}
+
+  * {{{http://docs.sun.com/source/817-2254-10/Ch_04_sm.html}Resource Adapter Archive Descriptor Sample}}
+
+  []

Added: aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/usage.apt.vm
URL: http://svn.apache.org/viewvc/aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/usage.apt.vm?rev=1075095&view=auto
==============================================================================
--- aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/usage.apt.vm (added)
+++ aries/tags/eba-maven-plugin-0.1-incubating/src/site/apt/usage.apt.vm Sun Feb 27 17:50:52 2011
@@ -0,0 +1,73 @@
+  ------
+  Usage
+  ------
+  Allan Ramirez
+  ------
+  July 2006
+  ------
+
+~~ 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.               
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/doxia/references/apt-format.html
+
+Usage
+
+  The RAR plugin is bound to the <<<package>>> phase of the build lifecycle.
+  To be able to generate the RAR as part of the lifecycle, the plugin should
+  be declared at the \<build\> section of the pom.
+
++---+
+<project>
+  [...]
+    <build>
+      <plugins>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-rar-plugin</artifactId>
+        <version>${project.version}</version>
+        <executions>
+          <execution>
+            <id>test</id>
+            <goals>
+              <goal>rar</goal>
+            </goals>
+            <configuration>
+              <!-- your configuration here -->
+            </configuration>
+        </execution>
+      </plugins>
+    </build>
+  [...]
+</project>
++---+
+
+  then invoke the <<<package>>> phase.
+
++---+
+mvn package
++---+
+
+  Another way to execute the plugin is to call the <<<rar:rar>>> goal.
+
++---+
+mvn rar:rar
++---+
+
+  By default, the generated archive(RAR) can be located at the project's target 
+  directory.
+

Added: aries/tags/eba-maven-plugin-0.1-incubating/src/site/fml/faq.fml
URL: http://svn.apache.org/viewvc/aries/tags/eba-maven-plugin-0.1-incubating/src/site/fml/faq.fml?rev=1075095&view=auto
==============================================================================
--- aries/tags/eba-maven-plugin-0.1-incubating/src/site/fml/faq.fml (added)
+++ aries/tags/eba-maven-plugin-0.1-incubating/src/site/fml/faq.fml Sun Feb 27 17:50:52 2011
@@ -0,0 +1,52 @@
+<?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.
+-->
+
+<faqs xmlns="http://maven.apache.org/FML/1.0.1"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/FML/1.0.1 http://maven.apache.org/xsd/fml-1.0.1.xsd"
+  id="FAQ" title="Frequently Asked Questions">
+ <part id="General">
+   <faq id="question">
+     <question>Is the rar file generated by the maven-rar-plugin is the same with the rar file(compressed file) of WinRar?</question>
+     <answer>
+       <p>
+            No. They are entirely different from each other.
+       </p>
+       <p>
+            A Resource Adapter Archive (RAR) file is a Java archive (JAR) file used to package a resource adapter for the Java 2 Connector (J2C) Architecture
+            <br/>
+            <br/>
+            A RAR file can contain the following:
+       </p>
+      <ul>
+        <li>Enterprise information system (EIS) supplied resource adapter implementation code in the form of JAR files or other runnable components, such as dynamic link lists.</li>
+        <li>Utility classes.</li>
+        <li>Static documents, such as HTML files, images, and sound files.</li>
+      </ul>
+       <p>
+            While RAR(Roshal ARchive) is the native format of WinRAR archiver. Like other archives, RAR files
+            are data containers, they store one or several files in the compressed form.
+            After you downloaded RAR file from Internet, you need to unpack its contents in order to use it.
+       </p>
+     </answer>
+   </faq>
+ </part>
+</faqs>

Added: aries/tags/eba-maven-plugin-0.1-incubating/src/site/site.xml
URL: http://svn.apache.org/viewvc/aries/tags/eba-maven-plugin-0.1-incubating/src/site/site.xml?rev=1075095&view=auto
==============================================================================
--- aries/tags/eba-maven-plugin-0.1-incubating/src/site/site.xml (added)
+++ aries/tags/eba-maven-plugin-0.1-incubating/src/site/site.xml Sun Feb 27 17:50:52 2011
@@ -0,0 +1,44 @@
+<?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/DECORATION/1.0.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd"
+  name="Maven RAR plugin">
+  <body>
+    <menu name="Overview">
+      <item name="Introduction" href="index.html"/>
+      <item name="Goals" href="plugin-info.html"/>
+      <item name="Usage" href="usage.html"/>
+      <item name="FAQ" href="faq.html"/>
+    </menu>
+    <menu name="Examples">
+      <item name="Exclude the project jar from the rar" href="examples/exclude-project-jar.html"/>
+      <item name="Custom location of Resource Adapter Descriptor" href="examples/ra-custom-location.html" />
+      <item name="Include extra files in RAR" href="examples/include-extra-files.html" />
+      <item name="Adding Manifest File" href="examples/manifest.html" />
+    </menu>
+    <menu name="Resources">
+      <item name="J2EE Connector API specification" href="http://java.sun.com/j2ee/connector/" />
+      <item name="Resource Adapter Archive Descriptor Sample" href="http://docs.sun.com/source/817-2254-10/Ch_04_sm.html" />
+    </menu>
+  </body>
+</project>