You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ar...@apache.org on 2006/08/02 13:09:57 UTC
svn commit: r427953 - in /maven/plugins/trunk/maven-rar-plugin/src/site: ./
apt/ apt/examples/ fml/
Author: aramirez
Date: Wed Aug 2 04:09:54 2006
New Revision: 427953
URL: http://svn.apache.org/viewvc?rev=427953&view=rev
Log:
PR: MRAR-12
Submitted By: Franz See
added license header on docs
Modified:
maven/plugins/trunk/maven-rar-plugin/src/site/apt/examples/exclude-project-jar.apt
maven/plugins/trunk/maven-rar-plugin/src/site/apt/examples/include-extra-files.apt
maven/plugins/trunk/maven-rar-plugin/src/site/apt/examples/manifest.apt
maven/plugins/trunk/maven-rar-plugin/src/site/apt/examples/ra-custom-location.apt
maven/plugins/trunk/maven-rar-plugin/src/site/apt/index.apt
maven/plugins/trunk/maven-rar-plugin/src/site/apt/usage.apt
maven/plugins/trunk/maven-rar-plugin/src/site/fml/faq.fml
maven/plugins/trunk/maven-rar-plugin/src/site/site.xml
Modified: maven/plugins/trunk/maven-rar-plugin/src/site/apt/examples/exclude-project-jar.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-rar-plugin/src/site/apt/examples/exclude-project-jar.apt?rev=427953&r1=427952&r2=427953&view=diff
==============================================================================
--- maven/plugins/trunk/maven-rar-plugin/src/site/apt/examples/exclude-project-jar.apt (original)
+++ maven/plugins/trunk/maven-rar-plugin/src/site/apt/examples/exclude-project-jar.apt Wed Aug 2 04:09:54 2006
@@ -7,6 +7,23 @@
July 2006
------
+~~ Copyright 2006 The Apache Software Foundation.
+~~
+~~ 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
Exclude the project jar in the RAR
By default, the generated JAR file is included in the RAR file. This behavior
Modified: maven/plugins/trunk/maven-rar-plugin/src/site/apt/examples/include-extra-files.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-rar-plugin/src/site/apt/examples/include-extra-files.apt?rev=427953&r1=427952&r2=427953&view=diff
==============================================================================
--- maven/plugins/trunk/maven-rar-plugin/src/site/apt/examples/include-extra-files.apt (original)
+++ maven/plugins/trunk/maven-rar-plugin/src/site/apt/examples/include-extra-files.apt Wed Aug 2 04:09:54 2006
@@ -6,6 +6,23 @@
July 2006
------
+~~ Copyright 2006 The Apache Software Foundation.
+~~
+~~ 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
Include extra files in the RAR
Extra files may also be included in the generated archive(rar). By default,
Modified: maven/plugins/trunk/maven-rar-plugin/src/site/apt/examples/manifest.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-rar-plugin/src/site/apt/examples/manifest.apt?rev=427953&r1=427952&r2=427953&view=diff
==============================================================================
--- maven/plugins/trunk/maven-rar-plugin/src/site/apt/examples/manifest.apt (original)
+++ maven/plugins/trunk/maven-rar-plugin/src/site/apt/examples/manifest.apt Wed Aug 2 04:09:54 2006
@@ -6,6 +6,23 @@
July 2006
------
+~~ Copyright 2006 The Apache Software Foundation.
+~~
+~~ 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
Adding Manifest File
By default, The RAR plugin retrieves the manifest file to use in this
@@ -29,4 +46,4 @@
</build>
[...]
</project>
-+----+
\ No newline at end of file
++----+
Modified: maven/plugins/trunk/maven-rar-plugin/src/site/apt/examples/ra-custom-location.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-rar-plugin/src/site/apt/examples/ra-custom-location.apt?rev=427953&r1=427952&r2=427953&view=diff
==============================================================================
--- maven/plugins/trunk/maven-rar-plugin/src/site/apt/examples/ra-custom-location.apt (original)
+++ maven/plugins/trunk/maven-rar-plugin/src/site/apt/examples/ra-custom-location.apt Wed Aug 2 04:09:54 2006
@@ -7,6 +7,23 @@
July 2006
------
+~~ Copyright 2006 The Apache Software Foundation.
+~~
+~~ 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-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
@@ -35,4 +52,4 @@
+----+
mvn rar:rar
-+----+
\ No newline at end of file
++----+
Modified: maven/plugins/trunk/maven-rar-plugin/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-rar-plugin/src/site/apt/index.apt?rev=427953&r1=427952&r2=427953&view=diff
==============================================================================
--- maven/plugins/trunk/maven-rar-plugin/src/site/apt/index.apt (original)
+++ maven/plugins/trunk/maven-rar-plugin/src/site/apt/index.apt Wed Aug 2 04:09:54 2006
@@ -6,6 +6,23 @@
July 2006
------
+~~ Copyright 2006 The Apache Software Foundation.
+~~
+~~ 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
Maven RAR Plugin
A resource adapter is a system-level software driver that a Java application
@@ -28,7 +45,16 @@
* Examples
- Sample use-cases for the plugin are available under the Examples menu.
+ 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
@@ -39,4 +65,4 @@
* {{{http://docs.sun.com/source/817-2254-10/Ch_04_sm.html}Resource Adapter Archive Descriptor Sample}}
- []
\ No newline at end of file
+ []
Modified: maven/plugins/trunk/maven-rar-plugin/src/site/apt/usage.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-rar-plugin/src/site/apt/usage.apt?rev=427953&r1=427952&r2=427953&view=diff
==============================================================================
--- maven/plugins/trunk/maven-rar-plugin/src/site/apt/usage.apt (original)
+++ maven/plugins/trunk/maven-rar-plugin/src/site/apt/usage.apt Wed Aug 2 04:09:54 2006
@@ -6,6 +6,23 @@
July 2006
------
+~~ Copyright 2006 The Apache Software Foundation.
+~~
+~~ 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.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/guides/mini/guide-apt-format.html
+
Usage
The RAR plugin is bound to the <<<package>>> phase of the build lifecycle.
Modified: maven/plugins/trunk/maven-rar-plugin/src/site/fml/faq.fml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-rar-plugin/src/site/fml/faq.fml?rev=427953&r1=427952&r2=427953&view=diff
==============================================================================
--- maven/plugins/trunk/maven-rar-plugin/src/site/fml/faq.fml (original)
+++ maven/plugins/trunk/maven-rar-plugin/src/site/fml/faq.fml Wed Aug 2 04:09:54 2006
@@ -1,4 +1,21 @@
<?xml version="1.0"?>
+
+<!--
+ ~ Copyright 2006 The Apache Software Foundation.
+ ~
+ ~ 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.
+ -->
+
<faqs id="FAQ" title="Frequently Asked Questions">
<part id="General">
<faq id="question">
@@ -27,4 +44,4 @@
</answer>
</faq>
</part>
-</faqs>
\ No newline at end of file
+</faqs>
Modified: maven/plugins/trunk/maven-rar-plugin/src/site/site.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-rar-plugin/src/site/site.xml?rev=427953&r1=427952&r2=427953&view=diff
==============================================================================
--- maven/plugins/trunk/maven-rar-plugin/src/site/site.xml (original)
+++ maven/plugins/trunk/maven-rar-plugin/src/site/site.xml Wed Aug 2 04:09:54 2006
@@ -1,22 +1,20 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
-/*
- * Copyright 2001-2005 The Apache Software Foundation.
- *
- * 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.
- */
--->
+ ~ Copyright 2006 The Apache Software Foundation.
+ ~
+ ~ 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.
+ -->
<project name="Maven Rar Plugin">
<bannerLeft>