Author: vsiveton
Date: Wed Aug 5 12:53:20 2009
New Revision: 801200
URL: http://svn.apache.org/viewvc?rev=801200&view=rev
Log:
o fixed ambiguous links
o added Doxia xsd
o updated license header
Modified:
maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/compile-using-different-jdk.apt.vm
maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/compile-with-memory-enhancements.apt.vm
maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/pass-compiler-arguments.apt.vm
maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/set-compiler-source-and-target.apt.vm
maven/plugins/trunk/maven-compiler-plugin/src/site/apt/index.apt
maven/plugins/trunk/maven-compiler-plugin/src/site/apt/non-javac-compilers.apt.vm
maven/plugins/trunk/maven-compiler-plugin/src/site/apt/usage.apt.vm
maven/plugins/trunk/maven-compiler-plugin/src/site/fml/faq.fml
maven/plugins/trunk/maven-compiler-plugin/src/site/site.xml
Modified:
maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/compile-using-different-jdk.apt.vm
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/compile-using-different-jdk.apt.vm?rev=801200&r1=801199&r2=801200&view=diff
==============================================================================
---
maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/compile-using-different-jdk.apt.vm
(original)
+++
maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/compile-using-different-jdk.apt.vm
Wed Aug 5 12:53:20 2009
@@ -6,24 +6,26 @@
05 July 2006
------
-~~ Copyright 2006 The Apache Software Foundation.
+~~ 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
~~
-~~ 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
~~
-~~ 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.
+~~ 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
-
Compiling Sources Using A Different JDK
The <<<compilerVersion>>> parameter can be used to specify the version of the
@@ -84,6 +86,6 @@
</settings>
+-------
- If you build with a different JDK, you may want to
+ If you build with a different JDK, you may want to
{{{http://maven.apache.org/plugins/maven-jar-plugin/examples/manifest-customization.html}
customize}} the jar file manifest.
Modified:
maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/compile-with-memory-enhancements.apt.vm
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/compile-with-memory-enhancements.apt.vm?rev=801200&r1=801199&r2=801200&view=diff
==============================================================================
---
maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/compile-with-memory-enhancements.apt.vm
(original)
+++
maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/compile-with-memory-enhancements.apt.vm
Wed Aug 5 12:53:20 2009
@@ -6,24 +6,26 @@
05 July 2006
------
-~~ Copyright 2006 The Apache Software Foundation.
+~~ 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
~~
-~~ 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
~~
-~~ 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.
+~~ 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
-
Compile Using Memory Allocation Enhancements
The Compiler Plugin accepts configurations for <<<meminitial>>> and
Modified:
maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/pass-compiler-arguments.apt.vm
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/pass-compiler-arguments.apt.vm?rev=801200&r1=801199&r2=801200&view=diff
==============================================================================
---
maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/pass-compiler-arguments.apt.vm
(original)
+++
maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/pass-compiler-arguments.apt.vm
Wed Aug 5 12:53:20 2009
@@ -6,24 +6,26 @@
05 July 2006
------
-~~ Copyright 2006 The Apache Software Foundation.
+~~ 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
~~
-~~ 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
~~
-~~ 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.
+~~ 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
-
Pass Compiler Arguments
Sometimes, you need to pass other compiler arguments that are not handled by
Modified:
maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/set-compiler-source-and-target.apt.vm
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/set-compiler-source-and-target.apt.vm?rev=801200&r1=801199&r2=801200&view=diff
==============================================================================
---
maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/set-compiler-source-and-target.apt.vm
(original)
+++
maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/set-compiler-source-and-target.apt.vm
Wed Aug 5 12:53:20 2009
@@ -6,24 +6,26 @@
05 July 2006
------
-~~ Copyright 2006 The Apache Software Foundation.
+~~ 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
~~
-~~ 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
~~
-~~ 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.
+~~ 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
-
Setting the <<<-source>>> and <<<-target>>> of the Java Compiler
Sometimes when you may need to compile a certain project to a different
Modified: maven/plugins/trunk/maven-compiler-plugin/src/site/apt/index.apt
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/site/apt/index.apt?rev=801200&r1=801199&r2=801200&view=diff
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/site/apt/index.apt (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/site/apt/index.apt Wed Aug 5
12:53:20 2009
@@ -6,24 +6,26 @@
06 July 2006
------
-~~ Copyright 2006 The Apache Software Foundation.
+~~ 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
~~
-~~ 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
~~
-~~ 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.
+~~ 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 Compiler Plugin
The Compiler Plugin is used to compile the sources of your project. The
@@ -32,7 +34,7 @@
setting is <<<1.1>>>, independently of the JDK you run Maven with.
If you want to change these defaults, you should set <<<source>>> and
<<<target>>>
as described in
- {{{examples/set-compiler-source-and-target.html}Setting the -source and
-target of the Java Compiler}}.
+ {{{./examples/set-compiler-source-and-target.html}Setting the -source and
-target of the Java Compiler}}.
Other compilers than <<<javac>>> can be used and work has already started
on AspectJ, .NET, and C#.
@@ -48,30 +50,30 @@
phases within the Maven Lifecycle and are therefore, automatically executed
during their respective phases.
- * {{{compile-mojo.html}compiler:compile}} is bound to the compile phase and
+ * {{{./compile-mojo.html}compiler:compile}} is bound to the compile phase and
is used to compile the main source files.
- * {{{testCompile-mojo.html}compiler:testCompile}} is bound to the
+ * {{{./testCompile-mojo.html}compiler:testCompile}} is bound to the
test-compile phase and is used to compile the test source files.
* Usage
- General instructions on how to use the Compiler Plugin can be found on the
{{{usage.html}usage page}}. Some more
+ General instructions on how to use the Compiler 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/Compiler+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
+ 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}}.
+ 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
+ {{{./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
+ {{{./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
@@ -79,10 +81,12 @@
To provide you with better understanding on some usages of the Compiler
Plugin, you can take a look into the following examples:
- * {{{examples/compile-using-different-jdk.html}Compile Using A Different
JDK}}
+ * {{{./examples/compile-using-different-jdk.html}Compile Using A Different
JDK}}
+
+ * {{{./examples/set-compiler-source-and-target.html}Compile Using -source
and -target javac Options}}
- * {{{examples/set-compiler-source-and-target.html}Compile Using -source and
-target javac Options}}
+ * {{{./examples/compile-with-memory-enhancements.html}Compile Using Memory
Allocation Enhancement}}
- * {{{examples/compile-with-memory-enhancements.html}Compile Using Memory
Allocation Enhancement}}
+ * {{{./examples/pass-compiler-arguments.html}Pass Compiler Arguments}}
- * {{{examples/pass-compiler-arguments.html}Pass Compiler Arguments}}
+ []
Modified:
maven/plugins/trunk/maven-compiler-plugin/src/site/apt/non-javac-compilers.apt.vm
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/site/apt/non-javac-compilers.apt.vm?rev=801200&r1=801199&r2=801200&view=diff
==============================================================================
---
maven/plugins/trunk/maven-compiler-plugin/src/site/apt/non-javac-compilers.apt.vm
(original)
+++
maven/plugins/trunk/maven-compiler-plugin/src/site/apt/non-javac-compilers.apt.vm
Wed Aug 5 12:53:20 2009
@@ -6,19 +6,22 @@
19 July 2006
------
-~~ Copyright 2006 The Apache Software Foundation.
+~~ 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
~~
-~~ 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
~~
-~~ 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.
+~~ 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
Modified: maven/plugins/trunk/maven-compiler-plugin/src/site/apt/usage.apt.vm
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/site/apt/usage.apt.vm?rev=801200&r1=801199&r2=801200&view=diff
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/site/apt/usage.apt.vm
(original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/site/apt/usage.apt.vm Wed Aug
5 12:53:20 2009
@@ -5,24 +5,26 @@
------
05 July 2006
-~~ Copyright 2006 The Apache Software Foundation.
+~~ 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
~~
-~~ 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
~~
-~~ 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.
+~~ 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 2 Compiler Plugin: Usage
* Compiling Your Java Sources
Modified: maven/plugins/trunk/maven-compiler-plugin/src/site/fml/faq.fml
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/site/fml/faq.fml?rev=801200&r1=801199&r2=801200&view=diff
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/site/fml/faq.fml (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/site/fml/faq.fml Wed Aug 5
12:53:20 2009
@@ -19,7 +19,10 @@
under the License.
-->
-<faqs id="FAQ" title="Frequently Asked Questions">
+<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"
+ title="Frequently Asked Questions">
<part id="General">
<faq id="compile-error-reports">
<question>Is there a way to get Maven to report the number of compile
errors found?</question>
Modified: maven/plugins/trunk/maven-compiler-plugin/src/site/site.xml
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/site/site.xml?rev=801200&r1=801199&r2=801200&view=diff
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/site/site.xml (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/site/site.xml Wed Aug 5
12:53:20 2009
@@ -19,7 +19,10 @@
under the License.
-->
-<project>
+<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 Compiler plugin">
<body>
<menu name="Overview">
<item name="Introduction" href="index.html"/>