Hi I'm getting a wierd behaviour from maven-war-plugin version 2.1. In the generated war i have 2 web.xml files. Follows the execution of the plugin in debug mode... Don't know if matters but this a is overlay war (will be used in other war...). If you check the log u see "[DEBUG] adding entry WEB-INF/web.xml" twice...
Thanks in advance João Ferreira [INFO] --- maven-war-plugin:2.1:war (default-war) @ common-overlay --- [DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-war-plugin:2.1 [DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-war-plugin:2.1 [DEBUG] Included: org.apache.maven.plugins:maven-war-plugin:maven-plugin:2.1 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:2.0.5 [DEBUG] Included: junit:junit:jar:3.8.1 [DEBUG] Included: org.apache.maven.reporting:maven-reporting-api:jar:2.0.6 [DEBUG] Included: org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-7 [DEBUG] Included: commons-cli:commons-cli:jar:1.0 [DEBUG] Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4 [DEBUG] Included: org.apache.maven:maven-archiver:jar:2.4.1 [DEBUG] Included: org.codehaus.plexus:plexus-archiver:jar:1.0 [DEBUG] Included: org.codehaus.plexus:plexus-io:jar:1.0 [DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.13 [DEBUG] Included: com.thoughtworks.xstream:xstream:jar:1.3.1 [DEBUG] Included: xpp3:xpp3_min:jar:1.1.4c [DEBUG] Included: org.apache.maven.shared:maven-filtering:jar:1.0-beta-2 [DEBUG] Excluded: org.apache.maven:maven-plugin-api:jar:2.0.6 [DEBUG] Excluded: org.apache.maven:maven-artifact:jar:2.0.6 [DEBUG] Excluded: org.apache.maven:maven-model:jar:2.0.6 [DEBUG] Excluded: org.apache.maven:maven-project:jar:2.0.6 [DEBUG] Excluded: org.apache.maven:maven-settings:jar:2.0.6 [DEBUG] Excluded: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1 [DEBUG] Excluded: classworlds:classworlds:jar:1.1 [DEBUG] Excluded: org.apache.maven:maven-profile:jar:2.0.6 [DEBUG] Excluded: org.apache.maven:maven-artifact-manager:jar:2.0.6 [DEBUG] Excluded: org.apache.maven:maven-repository-metadata:jar:2.0.6 [DEBUG] Excluded: org.apache.maven:maven-plugin-registry:jar:2.0.6 [DEBUG] Excluded: org.apache.maven:maven-core:jar:2.0.6 [DEBUG] Excluded: org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6 [DEBUG] Excluded: org.apache.maven:maven-error-diagnostics:jar:2.0.6 [DEBUG] Excluded: org.apache.maven:maven-plugin-descriptor:jar:2.0.6 [DEBUG] Excluded: org.apache.maven:maven-monitor:jar:2.0.6 [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-war-plugin:2.1:war' with basic configurator --> [DEBUG] (s) addDefaultImplementationEntries = true [DEBUG] (s) addDefaultSpecificationEntries = true [DEBUG] (s) manifest = org.apache.maven.archiver.manifestconfigurat...@166f9b9 [DEBUG] (s) manifestEntries = {Implementation-Build=3142} [DEBUG] (f) archive = org.apache.maven.archiver.mavenarchiveconfigurat...@19518cc [DEBUG] (s) archiveClasses = false [DEBUG] (s) attachClasses = false [DEBUG] (s) cacheFile = D:\OMP SVN\trunk\OMP\java\portlets_core\common-overlay\target\war\work\webapp-cache.xml [DEBUG] (s) classesClassifier = classes [DEBUG] (s) classesDirectory = D:\OMP SVN\trunk\OMP\java\portlets_core\common-overlay\target\classes [DEBUG] (f) escapedBackslashesInFilePath = false [DEBUG] (s) failOnMissingWebXml = true [DEBUG] (f) filteringDeploymentDescriptors = false [DEBUG] (s) nonFilteredFileExtensions = [jar] [DEBUG] (s) outputDirectory = D:\OMP SVN\trunk\OMP\java\portlets_core\common-overlay\target [DEBUG] (s) primaryArtifact = true [DEBUG] (s) project = MavenProject: com.telco.omp.portlets:common-overlay:3.1-SNAPSHOT @ D:\OMP SVN\trunk\OMP\java\portlets_core\common-overlay\pom.xml [DEBUG] (f) session = org.apache.maven.execution.mavensess...@59a34 [DEBUG] (s) useCache = false [DEBUG] (s) warName = common-overlay-3.1-SNAPSHOT [DEBUG] (s) warSourceDirectory = D:\OMP SVN\trunk\OMP\java\portlets_core\common-overlay\src\main\webapp [DEBUG] (s) warSourceIncludes = ** [DEBUG] (s) webappDirectory = D:\OMP SVN\trunk\OMP\java\portlets_core\common-overlay\target\common-overlay-3.1-SNAPSHOT [DEBUG] (s) workDirectory = D:\OMP SVN\trunk\OMP\java\portlets_core\common-overlay\target\war\work [DEBUG] -- end configuration -- [INFO] Packaging webapp [INFO] Assembling webapp [common-overlay] in [D:\OMP SVN\trunk\OMP\java\portlets_core\common-overlay\target\common-overlay-3.1-SNAPSHOT] [DEBUG] properties used {java.vendor=Sun Microsystems Inc., env.SYSTEMROOT=C:\WINDOWS, sun.java.launcher=SUN_STANDARD, sun.management.compiler=HotSpot Client Compiler, os.name=Windows XP, env.FP_NO_HOST_CHECK=NO, sun.boot.class.path=C:\Program Files\Java\jdk1.6.0_19\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_19\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_19\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_19\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_19\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_19\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_19\jre\classes, env.COMPUTERNAME=LT106673, env.ALLUSERSPROFILE=C:\Documents and Settings\All Users, sun.desktop=windows, java.vm.specification.vendor=Sun Microsystems Inc., java.runtime.version=1.6.0_19-b04, wmutils.isRoot=C:\webMethods7\IntegrationServer, env.HOMEPATH=\Documents and Settings\nb17333, project.build.sourceEncoding=ISO-8859-1, user.name=nb17333, env.PATH=C:/Program Files/Java/jdk1.6.0_19/bin/../jre/bin/client;C:/Program Files/Java/jdk1.6.0_19/bin/../jre/bin;C:\Program Files\Java\jdk1.6.0_19\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\TortoiseSVN\bin;C:\tibco\tibrv\BIN;D:\apache-maven-3.0-beta-1\bin, user.language=pt, env.WINDIR=C:\WINDOWS, sun.boot.library.path=C:\Program Files\Java\jdk1.6.0_19\jre\bin, classworlds.conf=D:\workspaceOM\.metadata\.plugins\org.maven.ide.eclipse\launches\m2conf6468585485355987691.tmp, java.version=1.6.0_19, env.PROCESSOR_IDENTIFIER=x86 Family 6 Model 14 Stepping 8, GenuineIntel, user.timezone=Europe/London, env.TEMP=C:\DOCUME~1\nb17333\LOCALS~1\Temp, buildNumber=3142, sun.arch.data.model=32, java.endorsed.dirs=C:\Program Files\Java\jdk1.6.0_19\jre\lib\endorsed, sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86, env.HOMEDRIVE=C:, sun.jnu.encoding=Cp1252, file.encoding.pkg=sun.io, env.SYSTEMDRIVE=C:, file.separator=\, java.specification.name=Java Platform API Specification, java.class.version=50.0, user.country=PT, java.home=C:\Program Files\Java\jdk1.6.0_19\jre, dist.dir=D:\OMP SVN\trunk\OMP\java\portlets_core\common-overlay/../target, env.APPDATA=C:\Documents and Settings\nb17333\Application Data, java.vm.info=mixed mode, sharing, env.OS=Windows_NT, os.version=5.1, env.=::=::\, path.separator=;, java.vm.version=16.2-b04, env.USERPROFILE=C:\Documents and Settings\nb17333, user.variant=, tibco.traRoot=C:\tibco\tra\5.5\, env.JAVA_HOME=C:\Program Files\Java\jdk1.6.0_19\, java.awt.printerjob=sun.awt.windows.WPrinterJob, env.TMP=C:\DOCUME~1\nb17333\LOCALS~1\Temp, env.PROGRAMFILES=C:\Program Files, sun.io.unicode.encoding=UnicodeLittle, awt.toolkit=sun.awt.windows.WToolkit, user.home=C:\Documents and Settings\nb17333, env.COMMONPROGRAMFILES=C:\Program Files\Common Files, env.SESSIONNAME=Console, java.specification.vendor=Sun Microsystems Inc., env.CLASSPATH=C:\tibco\tibrv\LIB\tibrvj.jar, env.M2_HOME=D:\apache-maven-3.0-beta-1, env.NUMBER_OF_PROCESSORS=1, java.library.path=C:\Program Files\Java\jdk1.6.0_19\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jdk1.6.0_19/bin/../jre/bin/client;C:/Program Files/Java/jdk1.6.0_19/bin/../jre/bin;C:\Program Files\Java\jdk1.6.0_19\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\TortoiseSVN\bin;C:\tibco\tibrv\BIN;D:\apache-maven-3.0-beta-1\bin, java.vendor.url=http://java.sun.com/, env.USERDNSDOMAIN=NOVABASE.INTRA, env.PSMODULEPATH=C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\, java.vm.vendor=Sun Microsystems Inc., java.runtime.name=Java(TM) SE Runtime Environment, maven.home=D:\OMP SVN\trunk\OMP\java\portlets_core\common-overlay\EMBEDDED, java.class.path=/D:/eclipse/plugins/org.maven.ide.eclipse.maven_embedder_0.10.2.20100623-1649/jars/plexus-classworlds-2.2.2.jar, timestamp=2010-09-13 16:11:18, java.vm.specification.name=Java Virtual Machine Specification, env.LOGONSERVER=\\ADPTL203, env.PROCESSOR_ARCHITECTURE=x86, java.vm.specification.version=1.0, sun.os.patch.level=Service Pack 3, sun.cpu.endian=little, java.io.tmpdir=C:\DOCUME~1\nb17333\LOCALS~1\Temp\, env.PROCESSOR_REVISION=0e08, env.VBOX_INSTALL_PATH=C:\Program Files\Sun\VirtualBox\, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, dist.remotedir=\\cf-ompupg01\C$\Software\jboss_portal\jboss-portal-2.7.2\server\default\deploy, env.COMSPEC=C:\WINDOWS\system32\cmd.exe, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, os.arch=x86, java.ext.dirs=C:\Program Files\Java\jdk1.6.0_19\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext, user.dir=D:\OMP SVN\trunk\OMP\java\portlets_core\common-overlay, line.separator= , java.vm.name=Java HotSpot(TM) Client VM, env.PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1;.PSC1, env.USERNAME=nb17333, file.encoding=Cp1252, env.USERDOMAIN=NOVABASE, scmBranch=UNKNOWN, java.specification.version=1.6, env.PROCESSOR_LEVEL=6} [INFO] Processing war project [INFO] Copying webapp resources [D:\OMP SVN\trunk\OMP\java\portlets_core\common-overlay\src\main\webapp] [DEBUG] + jsp/fileLimit.jsp has been copied. [DEBUG] + jsp/heartbeat.jsp has been copied. [DEBUG] + jsp/help.jsp has been copied. [DEBUG] + jsp/include.jsp has been copied. [DEBUG] + jsp/ioError.jsp has been copied. [DEBUG] + jsp/keepAlive.jsp has been copied. [DEBUG] + jsp/multiPartError.jsp has been copied. [DEBUG] + jsp/noUser.jsp has been copied. [DEBUG] + jsp/svcErr.jsp has been copied. [DEBUG] + jsp/svcOk.jsp has been copied. [DEBUG] + jsp/view.jsp has been copied. [DEBUG] + layouts/quirksmode-maximized.jsp has been copied. [DEBUG] + layouts/quirksmode.jsp has been copied. [DEBUG] + WEB-INF/dispatcher-servlet.xml has been copied. [DEBUG] + WEB-INF/portal-layouts.xml has been copied. [DEBUG] + WEB-INF/web.xml has been copied. [DEBUG] Dump of the current build pathSet content --> [DEBUG] jsp/fileLimit.jsp [DEBUG] jsp/heartbeat.jsp [DEBUG] jsp/help.jsp [DEBUG] jsp/include.jsp [DEBUG] jsp/ioError.jsp [DEBUG] jsp/keepAlive.jsp [DEBUG] jsp/multiPartError.jsp [DEBUG] jsp/noUser.jsp [DEBUG] jsp/svcErr.jsp [DEBUG] jsp/svcOk.jsp [DEBUG] jsp/view.jsp [DEBUG] layouts/quirksmode-maximized.jsp [DEBUG] layouts/quirksmode.jsp [DEBUG] WEB-INF/dispatcher-servlet.xml [DEBUG] WEB-INF/portal-layouts.xml [DEBUG] WEB-INF/web.xml [DEBUG] -- end of dump -- [INFO] Webapp assembled in [80 msecs] [DEBUG] Excluding [] from the generated webapp archive. [DEBUG] Including [**] in the generated webapp archive. [INFO] Building war: D:\OMP SVN\trunk\OMP\java\portlets_core\common-overlay\target\common-overlay-3.1-SNAPSHOT.war [DEBUG] adding directory META-INF/ [DEBUG] adding entry META-INF/MANIFEST.MF [DEBUG] adding directory jsp/ [DEBUG] adding directory layouts/ [DEBUG] adding directory WEB-INF/ [DEBUG] adding directory WEB-INF/classes/ [DEBUG] adding entry jsp/fileLimit.jsp [DEBUG] adding entry jsp/heartbeat.jsp [DEBUG] adding entry jsp/help.jsp [DEBUG] adding entry jsp/include.jsp [DEBUG] adding entry jsp/ioError.jsp [DEBUG] adding entry jsp/keepAlive.jsp [DEBUG] adding entry jsp/multiPartError.jsp [DEBUG] adding entry jsp/noUser.jsp [DEBUG] adding entry jsp/svcErr.jsp [DEBUG] adding entry jsp/svcOk.jsp [DEBUG] adding entry jsp/view.jsp [DEBUG] adding entry layouts/quirksmode-maximized.jsp [DEBUG] adding entry layouts/quirksmode.jsp [DEBUG] adding entry WEB-INF/dispatcher-servlet.xml [DEBUG] adding entry WEB-INF/portal-layouts.xml [DEBUG] adding entry WEB-INF/web.xml [DEBUG] adding entry WEB-INF/web.xml [DEBUG] adding directory META-INF/maven/ [DEBUG] adding directory META-INF/maven/com.telco.omp.portlets/ [DEBUG] adding directory META-INF/maven/com.telco.omp.portlets/common-overlay/ [DEBUG] adding entry META-INF/maven/com.telco.omp.portlets/common-overlay/pom.xml [DEBUG] adding entry META-INF/maven/com.telco.omp.portlets/common-overlay/pom.properties --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org