svn commit: r1763333 - in /maven/plugins/trunk/maven-ear-plugin/src: it/MEAR-243-skinny-wars-provided/ it/MEAR-243-skinny-wars-provided/ear-module/ it/MEAR-243-skinny-wars-provided/war-module/ it/MEAR
Author: gboue Date: Tue Oct 4 22:47:32 2016 New Revision: 176 URL: http://svn.apache.org/viewvc?rev=176=rev Log: [MEAR-243] Skinny WARs - JAR not removed from WAR if scope in EAR is set to provided When creating skinny wars, only JAR runtime modules were considered when removing libraries from WEB-INF/lib of an EarModule. If a JAR dependency is provided, it should also remove it from WEB-INF/lib. Added: maven/plugins/trunk/maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/ maven/plugins/trunk/maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/ear-module/ maven/plugins/trunk/maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/ear-module/pom.xml (with props) maven/plugins/trunk/maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/pom.xml (with props) maven/plugins/trunk/maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/verify.bsh (with props) maven/plugins/trunk/maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/war-module/ maven/plugins/trunk/maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/war-module/pom.xml (with props) maven/plugins/trunk/maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/war-module/src/ maven/plugins/trunk/maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/war-module/src/main/ maven/plugins/trunk/maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/war-module/src/main/webapp/ maven/plugins/trunk/maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/war-module/src/main/webapp/WEB-INF/ maven/plugins/trunk/maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/war-module/src/main/webapp/WEB-INF/web.xml (with props) Modified: maven/plugins/trunk/maven-ear-plugin/src/main/java/org/apache/maven/plugins/ear/AbstractEarMojo.java maven/plugins/trunk/maven-ear-plugin/src/main/java/org/apache/maven/plugins/ear/EarMojo.java Added: maven/plugins/trunk/maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/ear-module/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/ear-module/pom.xml?rev=176=auto == --- maven/plugins/trunk/maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/ear-module/pom.xml (added) +++ maven/plugins/trunk/maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/ear-module/pom.xml Tue Oct 4 22:47:32 2016 @@ -0,0 +1,57 @@ + + + + + + 4.0.0 + + org.apache.maven.its.ear.skinnywars + ear-module + 1.0 + ear + + + + commons-lang + commons-lang + 2.5 + provided + + + org.apache.maven.its.ear.skinnywars + war-module + 1.0 + war + + + + + + +org.apache.maven.plugins +maven-ear-plugin +@project.version@ + + true + + + + + Propchange: maven/plugins/trunk/maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/ear-module/pom.xml -- svn:eol-style = native Propchange: maven/plugins/trunk/maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/ear-module/pom.xml -- svn:keywords = Author Date Id Revision Added: maven/plugins/trunk/maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/pom.xml?rev=176=auto == --- maven/plugins/trunk/maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/pom.xml (added) +++ maven/plugins/trunk/maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/pom.xml Tue Oct 4 22:47:32 2016 @@ -0,0 +1,37 @@ + + + + + + 4.0.0 + + org.apache.maven.its.ear.skinnywars + pom + 1.0 + pom + + Test that provided JAR dependencies in EAR are removed from skinny WAR + https://issues.apache.org/jira/browse/MEAR-243 + + + ear-module + war-module + + Propchange: maven/plugins/trunk/maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/pom.xml -- svn:eol-style = native Propchange: maven/plugins/trunk/maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/pom.xml -- svn:keywords = Author Date Id Revision Added: maven/plugins/trunk/maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/verify.bsh URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/verify.bsh?rev=176=auto == --- maven/plugins/trunk/maven-ear-plugin/src/it/MEAR-243-skinny-wars-provided/verify.bsh (added) +++
svn commit: r998881 [11/20] - in /websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/ apidocs/org/apache/maven/plugin/class
Modified: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/plugin-info.html == --- websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/plugin-info.html (original) +++ websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/plugin-info.html Tue Oct 4 20:35:50 2016 @@ -1,31 +1,37 @@ http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> - + Apache Maven Compiler Plugin Plugin Documentation - + - + - - -https://www.google-analytics.com/urchin.js" type="text/javascript"> - - -_uacct = "UA-140879-1"; -urchinTracker(); - - + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-140879-1']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + @@ -34,8 +40,8 @@ -http://www.apache.org/; id="bannerLeft"> - +https://www.apache.org/; id="bannerLeft"> + @@ -47,10 +53,9 @@ - - + -http://www.apache.org/; class="externalLink" title="Apache"> +https://www.apache.org/; class="externalLink" title="Apache"> Apache / @@ -64,18 +69,17 @@ Plugins / - - + + Apache Maven Compiler Plugin / Plugin Documentation - - - | Last Published: 2016-02-06 + + | Last Published: 2016-10-04 -Version: 3.5.1 +Version: 3.6-SNAPSHOT @@ -85,8 +89,7 @@ - - + Overview @@ -165,6 +168,13 @@ Non-javac compilerIds + + + + + +Older projects with module-info + Project Documentation @@ -173,7 +183,7 @@ Project Information - + @@ -255,26 +265,12 @@ Plugin Documentation - - - - - -Invoker Build Results - Maven Projects - - -Ant Tasks - - - - Archetype @@ -374,40 +370,39 @@ - http://www.apache.org/foundation/how-it-works.html; class="externalLink" title="How
svn commit: r998881 [18/20] - in /websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/ apidocs/org/apache/maven/plugin/class
Added: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref/org/apache/maven/plugin/compiler/AsmModuleInfoParser.html == --- websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref/org/apache/maven/plugin/compiler/AsmModuleInfoParser.html (added) +++ websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref/org/apache/maven/plugin/compiler/AsmModuleInfoParser.html Tue Oct 4 20:35:50 2016 @@ -0,0 +1,103 @@ +http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;> +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + +AsmModuleInfoParser xref + + + +View Javadoc +1 package org.apache.maven.plugin.compiler; +2 +3 /* +4* Licensed to the Apache Software Foundation (ASF) under one +5* or more contributor license agreements. See the NOTICE file +6* distributed with this work for additional information +7* regarding copyright ownership. The ASF licenses this file +8* to you under the Apache License, Version 2.0 (the +9* "License"); you may not use this file except in compliance +10 * with the License. You may obtain a copy of the License at +11 * +12 * http://www.apache.org/licenses/LICENSE-2.; target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0 +13 * +14 * Unless required by applicable law or agreed to in writing, +15 * software distributed under the License is distributed on an +16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +17 * KIND, either express or implied. See the License for the +18 * specific language governing permissions and limitations +19 * under the License. +20 */ +21 +22 import java.io.File; +23 import java.io.FileInputStream; +24 import java.io.FileNotFoundException; +25 import java.io.IOException; +26 import java.io.InputStream; +27 import java.util.jar.JarEntry; +28 import java.util.jar.JarFile; +29 +30 import org.objectweb.asm.ClassReader; +31 +32 /** +33 * Extract information from module with ASM +34 * +35 * @author Robert Scholte +36 * @since 3.5 +37 */ +38 public class AsmModuleInfoParser implements ModuleInfoParser +39 { +40 @Override +41 public String getModuleName( File modulePath ) +42 throws IOException +43 { +44 InputStream in = getModuleInfoClass( modulePath ); +45 +46 ClassReader reader = new ClassReader( in ); +47 String className = reader.getClassName(); +48 int index = className.indexOf( "/module-info" ); +49 +50 String moduleName; +51 if ( index = 1 ) +52 { +53 moduleName = className.substring( 0, index ).replace( '/', '.' ); +54 } +55 else +56 { +57 moduleName = null; +58 } +59 +60 return moduleName; +61 } +62 +63 private InputStream getModuleInfoClass( File modulePath ) +64 throws FileNotFoundException, IOException +65 { +66 InputStream in; +67 if ( modulePath.isDirectory() ) +68 { +69 in = new FileInputStream( new File( modulePath, "module-info.class" ) ); +70 } +71 else +72 { +73 JarFile jarFile = null; +74 try +75 { +76 jarFile = new JarFile( modulePath ); +77 JarEntry moduleInfo = jarFile.getJarEntry( "/module-info.class" ); +78 in = jarFile.getInputStream( moduleInfo ); +79 } +80 finally +81 { +82 if ( jarFile != null ) +83 { +84 jarFile.close(); +85 } +86 } +87 } +88 return in; +89 } +90 } + + +Copyright 20012016 https://www.apache.org/;>The Apache Software Foundation. All rights reserved. + + \ No newline at end of file Propchange: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref/org/apache/maven/plugin/compiler/AsmModuleInfoParser.html -- svn:eol-style = native Propchange: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref/org/apache/maven/plugin/compiler/AsmModuleInfoParser.html -- svn:keywords = Author Date Id Revision Modified: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref/org/apache/maven/plugin/compiler/CompilationFailureException.html == --- websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref/org/apache/maven/plugin/compiler/CompilationFailureException.html
svn commit: r998881 [5/20] - in /websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/ apidocs/org/apache/maven/plugin/class-
Modified: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/dependencies.html == --- websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/dependencies.html (original) +++ websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/dependencies.html Tue Oct 4 20:35:50 2016 @@ -1,31 +1,37 @@ http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> - + Apache Maven Compiler Plugin Project Dependencies - + - + - - -https://www.google-analytics.com/urchin.js" type="text/javascript"> - - -_uacct = "UA-140879-1"; -urchinTracker(); - - + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-140879-1']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + @@ -34,8 +40,8 @@ -http://www.apache.org/; id="bannerLeft"> - +https://www.apache.org/; id="bannerLeft"> + @@ -47,10 +53,9 @@ - - + -http://www.apache.org/; class="externalLink" title="Apache"> +https://www.apache.org/; class="externalLink" title="Apache"> Apache / @@ -64,18 +69,17 @@ Plugins / - - + + Apache Maven Compiler Plugin / Project Dependencies - - - | Last Published: 2016-02-06 + + | Last Published: 2016-10-04 -Version: 3.5.1 +Version: 3.6-SNAPSHOT @@ -85,8 +89,7 @@ - - + Overview @@ -167,6 +170,13 @@ Non-javac compilerIds + + + + + +Older projects with module-info + Project Documentation @@ -185,9 +195,9 @@ - + -Project Summary +Summary @@ -199,23 +209,23 @@ - + -Project Team +Team - + -Source Repository +Source Code Management - + -Issue Tracking +Issue Management @@ -246,9 +256,9 @@ - + -Continuous Integration +CI Management @@ -260,9 +270,9 @@ - + -Project Plugins +Plugins @@ -273,7 +283,7 @@ -
svn commit: r998881 [13/20] - in /websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/ apidocs/org/apache/maven/plugin/class
Modified: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/team-list.html == --- websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/team-list.html (original) +++ websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/team-list.html Tue Oct 4 20:35:50 2016 @@ -1,31 +1,37 @@ http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> - + Apache Maven Compiler Plugin Project Team - + - + - - -https://www.google-analytics.com/urchin.js" type="text/javascript"> - - -_uacct = "UA-140879-1"; -urchinTracker(); - - + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-140879-1']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + @@ -34,8 +40,8 @@ -http://www.apache.org/; id="bannerLeft"> - +https://www.apache.org/; id="bannerLeft"> + @@ -47,10 +53,9 @@ - - + -http://www.apache.org/; class="externalLink" title="Apache"> +https://www.apache.org/; class="externalLink" title="Apache"> Apache / @@ -64,18 +69,17 @@ Plugins / - - + + Apache Maven Compiler Plugin / Project Team - - - | Last Published: 2016-02-06 + + | Last Published: 2016-10-04 -Version: 3.5.1 +Version: 3.6-SNAPSHOT @@ -85,8 +89,7 @@ - - + Overview @@ -167,6 +170,13 @@ Non-javac compilerIds + + + + + +Older projects with module-info + Project Documentation @@ -185,9 +195,9 @@ - + -Project Summary +Summary @@ -199,21 +209,21 @@ -Project Team +Team - + -Source Repository +Source Code Management - + -Issue Tracking +Issue Management @@ -246,9 +256,9 @@ - + -Continuous Integration +CI Management @@ -260,9 +270,9 @@ - + -Project Plugins +Plugins @@ -273,7 +283,7 @@ -
svn commit: r998881 [1/20] - in /websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/ apidocs/org/apache/maven/plugin/class-
Author: hboutemy Date: Tue Oct 4 20:35:50 2016 New Revision: 998881 Log: Site checkin for project Apache Maven Compiler Plugin Added: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/apidocs/org/apache/maven/plugin/compiler/AsmModuleInfoParser.html (with props) websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/apidocs/org/apache/maven/plugin/compiler/ModuleInfoParser.html (with props) websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/apidocs/org/apache/maven/plugin/compiler/class-use/AsmModuleInfoParser.html (with props) websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/apidocs/org/apache/maven/plugin/compiler/class-use/ModuleInfoParser.html (with props) websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/css/apache-maven-fluido-1.5.min.css (with props) websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/examples/module-info.html (with props) websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/js/apache-maven-fluido-1.5.min.js (with props) websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref/org/apache/maven/plugin/compiler/AsmModuleInfoParser.html (with props) websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref/org/apache/maven/plugin/compiler/ModuleInfoParser.html (with props) Removed: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/css/apache-maven-fluido-1.4.min.css websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/invoker-report.html websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/js/apache-maven-fluido-1.4.min.js Modified: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/apidocs/allclasses-frame.html websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/apidocs/allclasses-noframe.html websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/apidocs/constant-values.html websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/apidocs/deprecated-list.html websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/apidocs/help-doc.html websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/apidocs/index-all.html websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/apidocs/index.html websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/apidocs/org/apache/maven/plugin/AbstractCompilerMojo.html websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/apidocs/org/apache/maven/plugin/CompilationFailureException.html websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/apidocs/org/apache/maven/plugin/CompilerMojo.html websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/apidocs/org/apache/maven/plugin/TestCompilerMojo.html websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/apidocs/org/apache/maven/plugin/class-use/AbstractCompilerMojo.html websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/apidocs/org/apache/maven/plugin/class-use/CompilationFailureException.html websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/apidocs/org/apache/maven/plugin/class-use/CompilerMojo.html websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/apidocs/org/apache/maven/plugin/class-use/TestCompilerMojo.html websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/apidocs/org/apache/maven/plugin/compiler/AbstractCompilerMojo.html websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/apidocs/org/apache/maven/plugin/compiler/CompilationFailureException.html websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/apidocs/org/apache/maven/plugin/compiler/CompilerMojo.html websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/apidocs/org/apache/maven/plugin/compiler/DependencyCoordinate.html websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/apidocs/org/apache/maven/plugin/compiler/HelpMojo.html websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/apidocs/org/apache/maven/plugin/compiler/TestCompilerMojo.html
svn commit: r998881 [17/20] - in /websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/ apidocs/org/apache/maven/plugin/class
Modified: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref/org/apache/maven/plugin/compiler/AbstractCompilerMojo.html == --- websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref/org/apache/maven/plugin/compiler/AbstractCompilerMojo.html (original) +++ websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref/org/apache/maven/plugin/compiler/AbstractCompilerMojo.html Tue Oct 4 20:35:50 2016 @@ -27,55 +27,55 @@ 19 * under the License. 20 */ 21 -22 import org.apache.maven.artifact.Artifact; -23 import org.apache.maven.artifact.DefaultArtifact; -24 import org.apache.maven.artifact.handler.ArtifactHandler; -25 import org.apache.maven.artifact.handler.manager.ArtifactHandlerManager; -26 import org.apache.maven.artifact.resolver.ArtifactResolutionRequest; -27 import org.apache.maven.artifact.resolver.ArtifactResolutionResult; -28 import org.apache.maven.artifact.resolver.ResolutionErrorHandler; -29 import org.apache.maven.artifact.versioning.VersionRange; -30 import org.apache.maven.execution.MavenSession; -31 import org.apache.maven.plugin.AbstractMojo; -32 import org.apache.maven.plugin.MojoExecution; -33 import org.apache.maven.plugin.MojoExecutionException; -34 import org.apache.maven.plugins.annotations.Component; -35 import org.apache.maven.plugins.annotations.Parameter; -36 import org.apache.maven.project.MavenProject; -37 import org.apache.maven.repository.RepositorySystem; -38 import org.apache.maven.shared.incremental.IncrementalBuildHelper; -39 import org.apache.maven.shared.incremental.IncrementalBuildHelperRequest; -40 import org.apache.maven.shared.utils.ReaderFactory; -41 import org.apache.maven.shared.utils.StringUtils; -42 import org.apache.maven.shared.utils.io.FileUtils; -43 import org.apache.maven.toolchain.Toolchain; -44 import org.apache.maven.toolchain.ToolchainManager; -45 import org.codehaus.plexus.compiler.Compiler; -46 import org.codehaus.plexus.compiler.CompilerConfiguration; -47 import org.codehaus.plexus.compiler.CompilerError; -48 import org.codehaus.plexus.compiler.CompilerException; -49 import org.codehaus.plexus.compiler.CompilerMessage; -50 import org.codehaus.plexus.compiler.CompilerNotImplementedException; -51 import org.codehaus.plexus.compiler.CompilerOutputStyle; -52 import org.codehaus.plexus.compiler.CompilerResult; -53 import org.codehaus.plexus.compiler.manager.CompilerManager; -54 import org.codehaus.plexus.compiler.manager.NoSuchCompilerException; -55 import org.codehaus.plexus.compiler.util.scan.InclusionScanException; -56 import org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner; -57 import org.codehaus.plexus.compiler.util.scan.mapping.SingleTargetSourceMapping; -58 import org.codehaus.plexus.compiler.util.scan.mapping.SourceMapping; -59 import org.codehaus.plexus.compiler.util.scan.mapping.SuffixMapping; -60 -61 import java.io.File; -62 import java.lang.reflect.Method; -63 import java.util.ArrayList; -64 import java.util.Date; -65 import java.util.HashSet; -66 import java.util.LinkedHashMap; -67 import java.util.LinkedHashSet; -68 import java.util.List; -69 import java.util.Map; -70 import java.util.Set; +22 import java.io.File; +23 import java.lang.reflect.InvocationTargetException; +24 import java.lang.reflect.Method; +25 import java.util.ArrayList; +26 import java.util.Date; +27 import java.util.HashSet; +28 import java.util.LinkedHashSet; +29 import java.util.List; +30 import java.util.Map; +31 import java.util.Set; +32 +33 import org.apache.maven.artifact.Artifact; +34 import org.apache.maven.artifact.DefaultArtifact; +35 import org.apache.maven.artifact.handler.ArtifactHandler; +36 import org.apache.maven.artifact.handler.manager.ArtifactHandlerManager; +37 import org.apache.maven.artifact.resolver.ArtifactResolutionRequest; +38 import org.apache.maven.artifact.resolver.ArtifactResolutionResult; +39 import org.apache.maven.artifact.resolver.ResolutionErrorHandler; +40 import org.apache.maven.artifact.versioning.VersionRange; +41 import org.apache.maven.execution.MavenSession; +42 import org.apache.maven.plugin.AbstractMojo; +43 import org.apache.maven.plugin.MojoExecution; +44 import org.apache.maven.plugin.MojoExecutionException; +45 import org.apache.maven.plugins.annotations.Component; +46 import org.apache.maven.plugins.annotations.Parameter; +47 import org.apache.maven.project.MavenProject; +48 import org.apache.maven.repository.RepositorySystem; +49 import org.apache.maven.shared.incremental.IncrementalBuildHelper; +50 import org.apache.maven.shared.incremental.IncrementalBuildHelperRequest; +51 import org.apache.maven.shared.utils.ReaderFactory; +52 import org.apache.maven.shared.utils.StringUtils; +53 import
svn commit: r998881 [16/20] - in /websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/ apidocs/org/apache/maven/plugin/class
Modified: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref-test/org/apache/maven/plugin/compiler/package-frame.html == --- websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref-test/org/apache/maven/plugin/compiler/package-frame.html (original) +++ websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref-test/org/apache/maven/plugin/compiler/package-frame.html Tue Oct 4 20:35:50 2016 @@ -3,7 +3,7 @@ - Apache Maven Compiler Plugin 3.5.1 Reference Package org.apache.maven.plugin.compiler + Apache Maven Compiler Plugin 3.6-SNAPSHOT Reference Package org.apache.maven.plugin.compiler Modified: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref-test/org/apache/maven/plugin/compiler/package-summary.html == --- websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref-test/org/apache/maven/plugin/compiler/package-summary.html (original) +++ websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref-test/org/apache/maven/plugin/compiler/package-summary.html Tue Oct 4 20:35:50 2016 @@ -3,7 +3,7 @@ - Apache Maven Compiler Plugin 3.5.1 Reference Package org.apache.maven.plugin.compiler + Apache Maven Compiler Plugin 3.6-SNAPSHOT Reference Package org.apache.maven.plugin.compiler @@ -63,7 +63,7 @@ - Copyright 20012016 http://www.apache.org/;>The Apache Software Foundation. All rights reserved. + Copyright 20012016 https://www.apache.org/;>The Apache Software Foundation. All rights reserved. \ No newline at end of file Modified: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref-test/org/apache/maven/plugin/compiler/stubs/CompilerManagerStub.html == --- websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref-test/org/apache/maven/plugin/compiler/stubs/CompilerManagerStub.html (original) +++ websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref-test/org/apache/maven/plugin/compiler/stubs/CompilerManagerStub.html Tue Oct 4 20:35:50 2016 @@ -56,6 +56,6 @@ 48 } -Copyright 20012016 http://www.apache.org/;>The Apache Software Foundation. All rights reserved. +Copyright 20012016 https://www.apache.org/;>The Apache Software Foundation. All rights reserved. \ No newline at end of file Modified: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref-test/org/apache/maven/plugin/compiler/stubs/CompilerStub.html == --- websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref-test/org/apache/maven/plugin/compiler/stubs/CompilerStub.html (original) +++ websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref-test/org/apache/maven/plugin/compiler/stubs/CompilerStub.html Tue Oct 4 20:35:50 2016 @@ -141,6 +141,6 @@ 133 } -Copyright 20012016 http://www.apache.org/;>The Apache Software Foundation. All rights reserved. +Copyright 20012016 https://www.apache.org/;>The Apache Software Foundation. All rights reserved. \ No newline at end of file Modified: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref-test/org/apache/maven/plugin/compiler/stubs/DebugEnabledLog.html == --- websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref-test/org/apache/maven/plugin/compiler/stubs/DebugEnabledLog.html (original) +++ websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref-test/org/apache/maven/plugin/compiler/stubs/DebugEnabledLog.html Tue Oct 4 20:35:50 2016 @@ -47,6 +47,6 @@ 39 } -Copyright 20012016 http://www.apache.org/;>The Apache Software Foundation. All rights reserved. +Copyright 20012016 https://www.apache.org/;>The Apache Software Foundation. All rights reserved. \ No newline at end of file Modified: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref-test/org/apache/maven/plugin/compiler/stubs/package-frame.html == ---
svn commit: r998881 [8/20] - in /websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/ apidocs/org/apache/maven/plugin/class-
Added: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/examples/module-info.html == --- websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/examples/module-info.html (added) +++ websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/examples/module-info.html Tue Oct 4 20:35:50 2016 @@ -0,0 +1,461 @@ + + +http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> + + + + + + + +Apache Maven Compiler Plugin Older projects with module-info + + + + + + + + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-140879-1']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + + + + + + + + + +https://www.apache.org/; id="bannerLeft"> + + + + + + + + + + + + + + +https://www.apache.org/; class="externalLink" title="Apache"> +Apache +/ + + + +Maven +/ + + + +Plugins +/ + + + +Apache Maven Compiler Plugin +/ + +Older projects with module-info + + + | Last Published: 2016-10-04 + +Version: 3.6-SNAPSHOT + + + + + + + + + + + +Overview + + + + + +Introduction + + + + + + +Goals + + + + + + +Usage + + + + + + +FAQ + + + + + http://www.apache.org/licenses/; class="externalLink" title="License"> + +License + + + + + + +Download + + Examples + + + + + +Compile Using A Different JDK + + + + + + +Compile Using -source and -target javac Options + + + + + + +Compile Using Memory Allocation Enhancements + + + + + + +Pass Compiler Arguments + + + + + + +Non-javac compilerIds + + + + +Older projects with module-info + + Project Documentation + + + + + +Project Information + + + + + + +Project Reports + + Maven Projects + + + +
svn commit: r998881 [10/20] - in /websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/ apidocs/org/apache/maven/plugin/class
Modified: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/fonts/glyphicons-halflings-regular.ttf == Binary files - no diff available. Modified: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/fonts/glyphicons-halflings-regular.woff == Binary files - no diff available. Modified: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/help-mojo.html == --- websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/help-mojo.html (original) +++ websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/help-mojo.html Tue Oct 4 20:35:50 2016 @@ -1,31 +1,37 @@ http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> - + Apache Maven Compiler Plugin compiler:help - + - + - - -https://www.google-analytics.com/urchin.js" type="text/javascript"> - - -_uacct = "UA-140879-1"; -urchinTracker(); - - + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-140879-1']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + @@ -34,8 +40,8 @@ -http://www.apache.org/; id="bannerLeft"> - +https://www.apache.org/; id="bannerLeft"> + @@ -47,10 +53,9 @@ - - + -http://www.apache.org/; class="externalLink" title="Apache"> +https://www.apache.org/; class="externalLink" title="Apache"> Apache / @@ -64,18 +69,17 @@ Plugins / - - + + Apache Maven Compiler Plugin / compiler:help - - - | Last Published: 2016-02-06 + + | Last Published: 2016-10-04 -Version: 3.5.1 +Version: 3.6-SNAPSHOT @@ -85,8 +89,7 @@ - - + Overview @@ -167,6 +170,13 @@ Non-javac compilerIds + + + + + +Older projects with module-info + Project Documentation @@ -175,7 +185,7 @@ Project Information - + @@ -186,13 +196,6 @@ - - -Ant Tasks - - - -
svn commit: r998881 [15/20] - in /websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/ apidocs/org/apache/maven/plugin/class
Modified: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref-test/org/apache/maven/plugin/compiler/CompilerMojoTestCase.html == --- websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref-test/org/apache/maven/plugin/compiler/CompilerMojoTestCase.html (original) +++ websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref-test/org/apache/maven/plugin/compiler/CompilerMojoTestCase.html Tue Oct 4 20:35:50 2016 @@ -40,358 +40,394 @@ 32 import java.util.Set; 33 34 import org.apache.maven.artifact.Artifact; -35 import org.apache.maven.execution.MavenSession; -36 import org.apache.maven.plugin.MojoExecution; -37 import org.apache.maven.plugin.compiler.stubs.CompilerManagerStub; -38 import org.apache.maven.plugin.compiler.stubs.DebugEnabledLog; -39 import org.apache.maven.plugin.descriptor.MojoDescriptor; -40 import org.apache.maven.plugin.descriptor.PluginDescriptor; -41 import org.apache.maven.plugin.testing.AbstractMojoTestCase; -42 import org.apache.maven.plugin.testing.stubs.ArtifactStub; -43 import org.apache.maven.project.MavenProject; -44 -45 public class CompilerMojoTestCase -46 extends AbstractMojoTestCase -47 { -48 /** -49 * tests the ability of the plugin to compile a basic file -50 * -51 * @throws Exception -52 */ -53 public void testCompilerBasic() -54 throws Exception -55 { -56 CompilerMojo compileMojo = getCompilerMojo( "target/test-classes/unit/compiler-basic-test/plugin-config.xml" ); -57 -58 compileMojo.execute(); -59 -60 File testClass = new File( compileMojo.getOutputDirectory(), "TestCompile0.class" ); -61 -62 assertTrue( testClass.exists() ); -63 -64 TestCompilerMojo testCompileMojo = -65 getTestCompilerMojo( compileMojo, "target/test-classes/unit/compiler-basic-test/plugin-config.xml" ); -66 -67 testCompileMojo.execute(); -68 -69 Artifact projectArtifact = (Artifact) getVariableValueFromObject( compileMojo, "projectArtifact" ); -70 assertNotNull( "MCOMPILER-94: artifact file should only be null if there is nothing to compile", -71 projectArtifact.getFile() ); -72 -73 testClass = new File( testCompileMojo.getOutputDirectory(), "TestCompile0Test.class" ); -74 -75 assertTrue( testClass.exists() ); -76 } -77 -78 /** -79 * tests the ability of the plugin to respond to empty source -80 * -81 * @throws Exception -82 */ -83 public void testCompilerEmptySource() -84 throws Exception -85 { -86 CompilerMojo compileMojo = -87 getCompilerMojo( "target/test-classes/unit/compiler-empty-source-test/plugin-config.xml" ); +35 import org.apache.maven.artifact.handler.ArtifactHandler; +36 import org.apache.maven.execution.MavenSession; +37 import org.apache.maven.plugin.MojoExecution; +38 import org.apache.maven.plugin.compiler.stubs.CompilerManagerStub; +39 import org.apache.maven.plugin.compiler.stubs.DebugEnabledLog; +40 import org.apache.maven.plugin.descriptor.MojoDescriptor; +41 import org.apache.maven.plugin.descriptor.PluginDescriptor; +42 import org.apache.maven.plugin.testing.AbstractMojoTestCase; +43 import org.apache.maven.plugin.testing.stubs.ArtifactStub; +44 import org.apache.maven.project.MavenProject; +45 +46 public class CompilerMojoTestCase +47 extends AbstractMojoTestCase +48 { +49 +50 private String source = AbstractCompilerMojo.DEFAULT_SOURCE; +51 +52 private String target = AbstractCompilerMojo.DEFAULT_TARGET; +53 +54 @Override +55 protected void setUp() +56 throws Exception +57 { +58 super.setUp(); +59 +60 String javaSpec = System.getProperty( "java.specification.version" ); +61 if ( "9".equals( javaSpec ) ) +62 { +63 source = "6"; +64 target = "6"; +65 } +66 } +67 +68 /** +69 * tests the ability of the plugin to compile a basic file +70 * +71 * @throws Exception +72 */ +73 public void testCompilerBasic() +74 throws Exception +75 { +76 CompilerMojo compileMojo = getCompilerMojo( "target/test-classes/unit/compiler-basic-test/plugin-config.xml" ); +77 +78 compileMojo.execute(); +79 +80 File testClass = new File( compileMojo.getOutputDirectory(), "TestCompile0.class" ); +81 +82 assertTrue( testClass.exists() ); +83 +84 TestCompilerMojo testCompileMojo = +85 getTestCompilerMojo( compileMojo, "target/test-classes/unit/compiler-basic-test/plugin-config.xml" ); +86 +87
svn commit: r998881 [6/20] - in /websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/ apidocs/org/apache/maven/plugin/class-
Modified: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/dependency-convergence.html == --- websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/dependency-convergence.html (original) +++ websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/dependency-convergence.html Tue Oct 4 20:35:50 2016 @@ -1,616 +1,602 @@ - - -http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> - - - - - -Apache Maven Compiler Plugin Dependency Convergence - - - - - - - - - -https://www.google-analytics.com/urchin.js" type="text/javascript"> - - -_uacct = "UA-140879-1"; -urchinTracker(); - - - - - - - - - - -http://www.apache.org/; id="bannerLeft"> - - - - - - - - - - - - - - - -http://www.apache.org/; class="externalLink" title="Apache"> -Apache -/ - - - -Maven -/ - - - -Plugins -/ - - - -Apache Maven Compiler Plugin -/ - -Dependency Convergence - - - - | Last Published: 2016-02-06 - -Version: 3.5.1 - - - - - - - - - - - - -Overview - - - - - -Introduction - - - - - - -Goals - - - - - - -Usage - - - - - - -FAQ - - - - - http://www.apache.org/licenses/; class="externalLink" title="License"> - -License - - - - - - -Download - - Examples - - - - - -Compile Using A Different JDK - - - - - - -Compile Using -source and -target javac Options - - - - - - -Compile Using Memory Allocation Enhancements - - - - - - -Pass Compiler Arguments - - - - - - -Non-javac compilerIds - - Project Documentation - - - - - -Project Information - - - - - - -About - - - - - - -Project Summary - - - - - - -Dependency Information - - - - - - -Project Team - - - - - - -Source Repository - - - - - - -Issue Tracking - - - - - - -Mailing Lists - - - - - -
svn commit: r998881 [2/20] - in /websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/ apidocs/org/apache/maven/plugin/class-
Modified: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/apidocs/org/apache/maven/plugin/compiler/AbstractCompilerMojo.html == --- websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/apidocs/org/apache/maven/plugin/compiler/AbstractCompilerMojo.html (original) +++ websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/apidocs/org/apache/maven/plugin/compiler/AbstractCompilerMojo.html Tue Oct 4 20:35:50 2016 @@ -1,15 +1,15 @@ http://www.w3.org/TR/html4/loose.dtd;> - + -AbstractCompilerMojo (Apache Maven Compiler Plugin 3.5.1 API) +AbstractCompilerMojo (Apache Maven Compiler Plugin 3.6-SNAPSHOT API) @@ -36,7 +36,7 @@ Prev Class -Next Class +Next Class Frames @@ -163,11 +163,17 @@ extends http://maven.apache.org protected http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +release +The -release argument for the Java compiler, supported since Java9 + + + +protected http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String source The -source argument for the Java compiler. - + protected http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String target The -target argument for the Java compiler. @@ -245,32 +251,44 @@ extends http://maven.apache.org getGeneratedSourcesDirectory() +protected abstract http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">Listhttp://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +getModulepathElements() + + protected abstract http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true; title="class or interface in java.io">File getOutputDirectory() + +protected http://maven.apache.org/maven-core/apidocs/org/apache/maven/project/MavenProject.html?is-external=true; title="class or interface in org.apache.maven.project">MavenProject +getProject() + +protected abstract http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +getRelease() + + protected int getRequestThreadCount() try to get thread count if a Maven 3 build, using reflection as the plugin must not be maven3 api dependent - + protected abstract http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String getSource() - + protected abstract org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner getSourceInclusionScanner(intstaleMillis) - + protected abstract org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner getSourceInclusionScanner(http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringinputFileEnding) - + protected abstract http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String getTarget() - + protected boolean isDependencyChanged() We just compare the timestamps of all local dependency files (inter-module dependency classpath) and the own @@ -278,10 +296,14 @@ extends http://maven.apache.org got changed during this build. - + protected boolean isTestCompile() + +protected abstract void +preparePaths(http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">Sethttp://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true; title="class or interface in java.io">FilesourceFiles) + @@ -335,6 +357,19 @@ protectedhttp://docs.orac The -target argument for the Java compiler. + + + + + +release +http://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Parameter.html?is-external=true; title="class or interface in org.apache.maven.plugins.annotations">@Parameter(http://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/org/apache/maven/plugins/annotations/Parameter.html?is-external=true#property()" title="class or interface in org.apache.maven.plugins.annotations">property="maven.compiler.release") +protectedhttp://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String release +The -release argument
svn commit: r998881 [19/20] - in /websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/ apidocs/org/apache/maven/plugin/class
Modified: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref/org/apache/maven/plugin/compiler/DependencyCoordinate.html == --- websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref/org/apache/maven/plugin/compiler/DependencyCoordinate.html (original) +++ websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/xref/org/apache/maven/plugin/compiler/DependencyCoordinate.html Tue Oct 4 20:35:50 2016 @@ -1,196 +1,196 @@ -http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;> -http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> - -DependencyCoordinate xref - - - -View Javadoc -1 package org.apache.maven.plugin.compiler; -2 -3 /* -4* Licensed to the Apache Software Foundation (ASF) under one -5* or more contributor license agreements. See the NOTICE file -6* distributed with this work for additional information -7* regarding copyright ownership. The ASF licenses this file -8* to you under the Apache License, Version 2.0 (the -9* "License"); you may not use this file except in compliance -10 * with the License. You may obtain a copy of the License at -11 * -12 * http://www.apache.org/licenses/LICENSE-2.; target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0 -13 * -14 * Unless required by applicable law or agreed to in writing, -15 * software distributed under the License is distributed on an -16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -17 * KIND, either express or implied. See the License for the -18 * specific language governing permissions and limitations -19 * under the License. -20 */ -21 -22 /** -23 * Simple representation of Maven-coordinates of a dependency. -24 * -25 * @author Andreas Gudian -26 * @since 3.4 -27 */ -28 public class DependencyCoordinate -29 { -30 private String groupId; -31 -32 private String artifactId; -33 -34 private String version; -35 -36 private String classifier; -37 -38 private String type = "jar"; -39 -40 public String getGroupId() -41 { -42 return groupId; -43 } -44 -45 public void setGroupId( String groupId ) -46 { -47 this.groupId = groupId; -48 } -49 -50 public String getArtifactId() -51 { -52 return artifactId; -53 } -54 -55 public void setArtifactId( String artifactId ) -56 { -57 this.artifactId = artifactId; -58 } -59 -60 public String getVersion() -61 { -62 return version; -63 } -64 -65 public void setVersion( String version ) -66 { -67 this.version = version; -68 } -69 -70 public String getClassifier() -71 { -72 return classifier; -73 } -74 -75 public void setClassifier( String classifier ) -76 { -77 this.classifier = classifier; -78 } -79 -80 public String getType() -81 { -82 return type; -83 } -84 -85 public void setType( String type ) -86 { -87 this.type = type; -88 } -89 -90 @Override -91 public int hashCode() -92 { -93 final int prime = 31; -94 int result = 1; -95 result = prime * result + ( ( artifactId == null ) ? 0 : artifactId.hashCode() ); -96 result = prime * result + ( ( classifier == null ) ? 0 : classifier.hashCode() ); -97 result = prime * result + ( ( groupId == null ) ? 0 : groupId.hashCode() ); -98 result = prime * result + ( ( type == null ) ? 0 : type.hashCode() ); -99 result = prime * result + ( ( version == null ) ? 0 : version.hashCode() ); -100 return result; -101 } -102 -103 @Override -104 public boolean equals( Object obj ) -105 { -106 if ( this == obj ) -107 { -108 return true; -109 } -110 if ( obj == null ) -111 { -112 return false; -113 } -114 if ( getClass() != obj.getClass() ) -115 { -116 return false; -117 } -118 DependencyCoordinate other = (DependencyCoordinate) obj; -119 if ( artifactId == null ) -120 { -121 if ( other.artifactId != null ) -122 { -123 return false; -124 } -125 } -126 else if ( !artifactId.equals( other.artifactId ) ) -127 { -128 return false; -129 } -130 if ( classifier == null ) -131 { -132 if ( other.classifier != null ) -133 { -134 return false; -135 } -136 } -137 else if ( !classifier.equals( other.classifier ) ) -138 { -139 return false; -140 } -141 if ( groupId
svn commit: r998881 [14/20] - in /websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/ apidocs/org/apache/maven/plugin/class
Modified: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/testapidocs/org/apache/maven/plugin/compiler/CompilerMojoTestCase.html == --- websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/testapidocs/org/apache/maven/plugin/compiler/CompilerMojoTestCase.html (original) +++ websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/testapidocs/org/apache/maven/plugin/compiler/CompilerMojoTestCase.html Tue Oct 4 20:35:50 2016 @@ -1,15 +1,15 @@ http://www.w3.org/TR/html4/loose.dtd;> - + -CompilerMojoTestCase (Apache Maven Compiler Plugin 3.5.1 Test API) +CompilerMojoTestCase (Apache Maven Compiler Plugin 3.6-SNAPSHOT Test API) @@ -172,46 +172,50 @@ extends http://maven.apache.org Method and Description +protected void +setUp() + + void testCompileFailOnError() - + void testCompileFailure() - + void testCompilerArgs() - + void testCompilerBasic() tests the ability of the plugin to compile a basic file - + void testCompilerEmptySource() tests the ability of the plugin to respond to empty source - + void testCompilerFork() tests the ability of the plugin to fork and successfully compile - + void testCompilerIncludesExcludes() tests the ability of the plugin to respond to includes and excludes correctly - + void testOneOutputFileForAllInput() - + void testOneOutputFileForAllInput2() @@ -221,7 +225,7 @@ extends http://maven.apache.org Methods inherited from classorg.apache.maven.plugin.testing.http://maven.apache.org/plugin-testing/maven-plugin-testing-harness/apidocs/org/apache/maven/plugin/testing/AbstractMojoTestCase.html?is-external=true; title="class or interface in org.apache.maven.plugin.testing">AbstractMojoTestCase -http://maven.apache.org/plugin-testing/maven-plugin-testing-harness/apidocs/org/apache/maven/plugin/testing/AbstractMojoTestCase.html?is-external=true#configureMojo(org.apache.maven.plugin.Mojo,%20org.codehaus.plexus.configuration.PlexusConfiguration)" title="class or interface in org.apache.maven.plugin.testing">configureMojo, http://maven.apache.org/plugin-testing/maven-plugin-testing-harness/apidocs/org/apache/maven/plugin/testing/AbstractMojoTestCase.html?is-external=true#configureMojo(org.apache.maven.plugin.Mojo,%20java.lang.String,%20java.io.File)" title="class or interface in org.apache.maven.plugin.testing">configureMojo, http://maven.apache.org/plugin-testing/maven-plugin-testing-harness/apidocs/org/apache/maven/plugin/testing/AbstractMojoTestCase.html?is-external=true#extractPluginConfiguration(java.lang.String,%20java.io.File)" title="class or interface in org.apache.maven.plugin.testing">extractPluginConfiguration, extractPluginConfiguration, http://maven.apache.org/plugin-testing/maven-plugin-testing-harness/apidocs/org/apache/maven/plugin/testing/AbstractMojoTestCase.html?is-external=true#getContainer()" title="class or interface in org.apache.maven.plugin.testing">getContainer, http://maven.apache.org/plugin-testing/maven-plugin-testing-harness/apidocs/org/apache/maven/plugin/testing/AbstractMojoTestCase.html?is-external=true#getPluginDescriptorLocation()" title="class or interface in org.apache.maven.plugin.testing">getPluginDescriptorLocation, http://maven.apache.org/plugin-testing/maven-plugin-testing-harness/apidocs/org/apache/maven/plugin/testing/Abstract MojoTestCase.html?is-external=true#getPluginDescriptorPath()" title="class or interface in org.apache.maven.plugin.testing">getPluginDescriptorPath, http://maven.apache.org/plugin-testing/maven-plugin-testing-harness/apidocs/org/apache/maven/plugin/testing/AbstractMojoTestCase.html?is-external=true#getPublicDescriptorStream()" title="class or interface in org.apache.maven.plugin.testing">getPublicDescriptorStream, http://maven.apache.org/plugin-testing/maven-plugin-testing-harness/apidocs/org/apache/maven/plugin/testing/AbstractMojoTestCase.html?is-external=true#getVariablesAndValuesFromObject(java.lang.Class,%20java.lang.Object)" title="class or interface in org.apache.maven.plugin.testing">getVariablesAndValuesFromObject, http://maven.apache.org/plugin-testing/maven-plugin-testing-harness/apidocs/org/apache/maven/plugin/testing/AbstractMojoTestCase.html?is-external=true#getVariablesAndValuesFromObject(java.lang.Object)" title="class or interf ace in org.apache.maven.plugin.testing">getVariablesAndValuesFromObject,
svn commit: r998881 [12/20] - in /websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/ apidocs/org/apache/maven/plugin/class
Modified: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/project-summary.html == --- websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/project-summary.html (original) +++ websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/project-summary.html Tue Oct 4 20:35:50 2016 @@ -1,31 +1,37 @@ http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> - + Apache Maven Compiler Plugin Project Summary - + - + - - -https://www.google-analytics.com/urchin.js" type="text/javascript"> - - -_uacct = "UA-140879-1"; -urchinTracker(); - - + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-140879-1']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + @@ -34,8 +40,8 @@ -http://www.apache.org/; id="bannerLeft"> - +https://www.apache.org/; id="bannerLeft"> + @@ -47,10 +53,9 @@ - - + -http://www.apache.org/; class="externalLink" title="Apache"> +https://www.apache.org/; class="externalLink" title="Apache"> Apache / @@ -64,18 +69,17 @@ Plugins / - - + + Apache Maven Compiler Plugin / Project Summary - - - | Last Published: 2016-02-06 + + | Last Published: 2016-10-04 -Version: 3.5.1 +Version: 3.6-SNAPSHOT @@ -85,8 +89,7 @@ - - + Overview @@ -167,6 +170,13 @@ Non-javac compilerIds + + + + + +Older projects with module-info + Project Documentation @@ -185,7 +195,7 @@ -Project Summary +Summary @@ -197,23 +207,23 @@ - + -Project Team +Team - + -Source Repository +Source Code Management - + -Issue Tracking +Issue Management @@ -246,9 +256,9 @@ - + -Continuous Integration +CI Management @@ -260,9 +270,9 @@ - + -Project Plugins +Plugins @@ -273,7 +283,7 @@ -
svn commit: r998881 [7/20] - in /websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/ apidocs/org/apache/maven/plugin/class-
Modified: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/distribution-management.html == --- websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/distribution-management.html (original) +++ websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/distribution-management.html Tue Oct 4 20:35:50 2016 @@ -1,31 +1,37 @@ http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> - + Apache Maven Compiler Plugin Project Distribution Management - + - + - - -https://www.google-analytics.com/urchin.js" type="text/javascript"> - - -_uacct = "UA-140879-1"; -urchinTracker(); - - + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-140879-1']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + @@ -34,8 +40,8 @@ -http://www.apache.org/; id="bannerLeft"> - +https://www.apache.org/; id="bannerLeft"> + @@ -47,10 +53,9 @@ - - + -http://www.apache.org/; class="externalLink" title="Apache"> +https://www.apache.org/; class="externalLink" title="Apache"> Apache / @@ -64,18 +69,17 @@ Plugins / - - + + Apache Maven Compiler Plugin / Project Distribution Management - - - | Last Published: 2016-02-06 + + | Last Published: 2016-10-04 -Version: 3.5.1 +Version: 3.6-SNAPSHOT @@ -85,8 +89,7 @@ - - + Overview @@ -167,6 +170,13 @@ Non-javac compilerIds + + + + + +Older projects with module-info + Project Documentation @@ -185,9 +195,9 @@ - + -Project Summary +Summary @@ -199,23 +209,23 @@ - + -Project Team +Team - + -Source Repository +Source Code Management - + -Issue Tracking +Issue Management @@ -248,9 +258,9 @@ - + -Continuous Integration +CI Management @@ -262,9 +272,9 @@ - + -Project Plugins +Plugins @@ -273,7 +283,7 @@ -
svn commit: r998881 [4/20] - in /websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST: ./ apidocs/ apidocs/org/apache/maven/plugin/ apidocs/org/apache/maven/plugin/class-
Modified: websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/checkstyle.html == --- websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/checkstyle.html (original) +++ websites/production/maven/components/plugins-archives/maven-compiler-plugin-LATEST/checkstyle.html Tue Oct 4 20:35:50 2016 @@ -1,31 +1,37 @@ http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> - + Apache Maven Compiler Plugin Checkstyle Results - + - + - - -https://www.google-analytics.com/urchin.js" type="text/javascript"> - - -_uacct = "UA-140879-1"; -urchinTracker(); - - + + + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-140879-1']); + _gaq.push(['_trackPageview']); + + (function() { +var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; +ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; +var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + + @@ -34,8 +40,8 @@ -http://www.apache.org/; id="bannerLeft"> - +https://www.apache.org/; id="bannerLeft"> + @@ -47,10 +53,9 @@ - - + -http://www.apache.org/; class="externalLink" title="Apache"> +https://www.apache.org/; class="externalLink" title="Apache"> Apache / @@ -64,18 +69,17 @@ Plugins / - - + + Apache Maven Compiler Plugin / Checkstyle Results - - - | Last Published: 2016-02-06 + + | Last Published: 2016-10-04 -Version: 3.5.1 +Version: 3.6-SNAPSHOT @@ -85,8 +89,7 @@ - - + Overview @@ -167,6 +170,13 @@ Non-javac compilerIds + + + + + +Older projects with module-info + Project Documentation @@ -175,7 +185,7 @@ Project Information - + @@ -257,26 +267,12 @@ Plugin Documentation - - - - - -Invoker Build Results - Maven Projects - - -Ant Tasks - - - - Archetype @@ -376,40 +372,39 @@ - http://www.apache.org/foundation/how-it-works.html; class="externalLink" title="How Apache