svn commit: r1367432 - in /tomcat/maven-plugin/trunk: common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/config/AbstractWebapp.java tomcat7-maven-plugin/src/main/java/org/apache/t
Author: olamy Date: Tue Jul 31 07:02:21 2012 New Revision: 1367432 URL: http://svn.apache.org/viewvc?rev=1367432view=rev Log: [MTOMCAT-169] Unable to Deploy WAR Defined via webapps Declaration Submitted by Josh Harness. Patch modified to preserve backward comp. Modified: tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/config/AbstractWebapp.java tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java Modified: tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/config/AbstractWebapp.java URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/config/AbstractWebapp.java?rev=1367432r1=1367431r2=1367432view=diff == --- tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/config/AbstractWebapp.java (original) +++ tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/config/AbstractWebapp.java Tue Jul 31 07:02:21 2012 @@ -64,6 +64,8 @@ public class AbstractWebapp private File contextFile; +private boolean asWebapp = false; + public AbstractWebapp() { super(); @@ -163,4 +165,13 @@ public class AbstractWebapp return contextFile; } +public boolean isAsWebapp() +{ +return asWebapp; +} + +public void setAsWebapp( boolean asWebapp ) +{ +this.asWebapp = asWebapp; +} } \ No newline at end of file Modified: tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java?rev=1367432r1=1367431r2=1367432view=diff == --- tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java (original) +++ tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java Tue Jul 31 07:02:21 2012 @@ -1165,7 +1165,7 @@ public abstract class AbstractRunMojo * @return dependency tomcat contexts of warfiles in scope tomcat */ private CollectionContext createDependencyContexts( Tomcat container ) -throws MojoExecutionException, MalformedURLException +throws MojoExecutionException, MalformedURLException, ServletException { getLog().info( Deploying dependency wars ); // Let's add other modules @@ -1180,7 +1180,7 @@ public abstract class AbstractRunMojo // provided scope, not is it optional if ( war.equals( artifact.getType() ) !artifact.isOptional() filter.include( artifact ) ) { -addContextFromArtifact( container, contexts, artifact, / + artifact.getArtifactId(), null ); +addContextFromArtifact( container, contexts, artifact, / + artifact.getArtifactId(), null, false ); } } @@ -1192,15 +1192,15 @@ public abstract class AbstractRunMojo contextPath = / + contextPath; } addContextFromArtifact( container, contexts, getArtifact( additionalWebapp ), contextPath, -additionalWebapp.getContextFile() ); +additionalWebapp.getContextFile(), additionalWebapp.isAsWebapp() ); } return contexts; } private void addContextFromArtifact( Tomcat container, ListContext contexts, Artifact artifact, - String contextPath, File contextXml ) -throws MojoExecutionException, MalformedURLException + String contextPath, File contextXml, boolean asWebApp ) +throws MojoExecutionException, MalformedURLException, ServletException { getLog().info( Deploy warfile: + String.valueOf( artifact.getFile() ) + to contextPath: + contextPath ); File webapps = new File( configurationDir, webapps ); @@ -1230,7 +1230,15 @@ public abstract class AbstractRunMojo } } WebappLoader webappLoader = new WebappLoader( Thread.currentThread().getContextClassLoader() ); -Context context = container.addContext( contextPath, artifactWarDir.getAbsolutePath() ); +Context context = null; +if ( asWebApp ) +{ +context = container.addWebapp( contextPath, artifactWarDir.getAbsolutePath() ); +} +else +{ +context = container.addContext( contextPath,
[jira] [Closed] (MTOMCAT-169) Unable to Deploy WAR Defined via webapps Declaration
[ https://issues.apache.org/jira/browse/MTOMCAT-169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Olivier Lamy (*$^¨%`£) closed MTOMCAT-169. -- Resolution: Fixed Fix Version/s: 2.0 patch applied with modification. you must configure asWebapp for the additional webapp. Unable to Deploy WAR Defined via webapps Declaration -- Key: MTOMCAT-169 URL: https://issues.apache.org/jira/browse/MTOMCAT-169 Project: Apache Tomcat Maven Plugin Issue Type: Bug Components: tomcat7 Affects Versions: 2.0 Environment: MAC OSX Reporter: Josh Harness Assignee: Olivier Lamy (*$^¨%`£) Priority: Minor Fix For: 2.0 Attachments: MTOMCAT-169.patch Web app does not deploy via embedded tomcat (tomat7:run) when I define the following in my plugin config: webapps webapp groupIdcom.company/groupId artifactIdmywebapp/artifactId version1.0/version typewar/type /webapp /webapps I only see the following and am unable to use the web application: [INFO] Deploy warfile: /Users/joshar1/.m2/repository/com/company/mywebapp//1.0/mywebapp-1.0.war to contextPath: /mywebapp I have a patch I'll attach to this ticket. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1367433 - /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java
Author: olamy Date: Tue Jul 31 07:06:31 2012 New Revision: 1367433 URL: http://svn.apache.org/viewvc?rev=1367433view=rev Log: [MTOMCAT-170] Unable to Specify Additional Classpath for WAR Defined via webapps Declaration Submitted by Josh Harness. Modified: tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java Modified: tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java?rev=1367433r1=1367432r2=1367433view=diff == --- tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java (original) +++ tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java Tue Jul 31 07:06:31 2012 @@ -1165,7 +1165,7 @@ public abstract class AbstractRunMojo * @return dependency tomcat contexts of warfiles in scope tomcat */ private CollectionContext createDependencyContexts( Tomcat container ) -throws MojoExecutionException, MalformedURLException, ServletException +throws MojoExecutionException, MalformedURLException, ServletException, IOException { getLog().info( Deploying dependency wars ); // Let's add other modules @@ -1200,7 +1200,7 @@ public abstract class AbstractRunMojo private void addContextFromArtifact( Tomcat container, ListContext contexts, Artifact artifact, String contextPath, File contextXml, boolean asWebApp ) -throws MojoExecutionException, MalformedURLException, ServletException +throws MojoExecutionException, MalformedURLException, ServletException, IOException { getLog().info( Deploy warfile: + String.valueOf( artifact.getFile() ) + to contextPath: + contextPath ); File webapps = new File( configurationDir, webapps ); @@ -1229,7 +1229,9 @@ public abstract class AbstractRunMojo return; } } -WebappLoader webappLoader = new WebappLoader( Thread.currentThread().getContextClassLoader() ); +// TODO make that configurable ? +//WebappLoader webappLoader = new WebappLoader( Thread.currentThread().getContextClassLoader() ); +WebappLoader webappLoader = createWebappLoader(); Context context = null; if ( asWebApp ) { - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1367434 - /tomcat/maven-plugin/trunk/pom.xml
Author: olamy Date: Tue Jul 31 07:06:39 2012 New Revision: 1367434 URL: http://svn.apache.org/viewvc?rev=1367434view=rev Log: add contributor Modified: tomcat/maven-plugin/trunk/pom.xml Modified: tomcat/maven-plugin/trunk/pom.xml URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/pom.xml?rev=1367434r1=1367433r2=1367434view=diff == --- tomcat/maven-plugin/trunk/pom.xml (original) +++ tomcat/maven-plugin/trunk/pom.xml Tue Jul 31 07:06:39 2012 @@ -113,6 +113,9 @@ contributor nameNigel Sim./name /contributor +contributor + nameJosh Harness/name +/contributor /contributors licenses - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[jira] [Closed] (MTOMCAT-170) Unable to Specify Additional Classpath for WAR Defined via webapps Declaration
[ https://issues.apache.org/jira/browse/MTOMCAT-170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Olivier Lamy (*$^¨%`£) closed MTOMCAT-170. -- Resolution: Fixed Fix Version/s: 2.0 patch applied. Thanks ! Unable to Specify Additional Classpath for WAR Defined via webapps Declaration Key: MTOMCAT-170 URL: https://issues.apache.org/jira/browse/MTOMCAT-170 Project: Apache Tomcat Maven Plugin Issue Type: Bug Components: tomcat7 Affects Versions: 2.0 Reporter: Josh Harness Assignee: Olivier Lamy (*$^¨%`£) Priority: Minor Fix For: 2.0 Attachments: MTOMCAT-170.patch I need the ability for web application defined in the webapps portion of the plugin configuration to have the ability to use the classpath of the main plugin configuration. A reasonable approach might be to allow the webapp to inherit the additional classpath of the main web application config. I'll apply a patch shortly for feedback/review. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[jira] [Commented] (MTOMCAT-169) Unable to Deploy WAR Defined via webapps Declaration
[ https://issues.apache.org/jira/browse/MTOMCAT-169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13425584#comment-13425584 ] Hudson commented on MTOMCAT-169: Integrated in TomcatMavenPlugin-mvn3.x #185 (See [https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x/185/]) [MTOMCAT-169] Unable to Deploy WAR Defined via webapps Declaration Submitted by Josh Harness. Patch modified to preserve backward comp. (Revision 1367432) Result = FAILURE olamy : http://svn.apache.org/viewvc/?view=revrev=1367432 Files : * /tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/config/AbstractWebapp.java * /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java Unable to Deploy WAR Defined via webapps Declaration -- Key: MTOMCAT-169 URL: https://issues.apache.org/jira/browse/MTOMCAT-169 Project: Apache Tomcat Maven Plugin Issue Type: Bug Components: tomcat7 Affects Versions: 2.0 Environment: MAC OSX Reporter: Josh Harness Assignee: Olivier Lamy (*$^¨%`£) Priority: Minor Fix For: 2.0 Attachments: MTOMCAT-169.patch Web app does not deploy via embedded tomcat (tomat7:run) when I define the following in my plugin config: webapps webapp groupIdcom.company/groupId artifactIdmywebapp/artifactId version1.0/version typewar/type /webapp /webapps I only see the following and am unable to use the web application: [INFO] Deploy warfile: /Users/joshar1/.m2/repository/com/company/mywebapp//1.0/mywebapp-1.0.war to contextPath: /mywebapp I have a patch I'll attach to this ticket. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[jira] [Commented] (MTOMCAT-170) Unable to Specify Additional Classpath for WAR Defined via webapps Declaration
[ https://issues.apache.org/jira/browse/MTOMCAT-170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13425585#comment-13425585 ] Hudson commented on MTOMCAT-170: Integrated in TomcatMavenPlugin-mvn3.x #185 (See [https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x/185/]) [MTOMCAT-170] Unable to Specify Additional Classpath for WAR Defined via webapps Declaration Submitted by Josh Harness. (Revision 1367433) Result = FAILURE olamy : http://svn.apache.org/viewvc/?view=revrev=1367433 Files : * /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java Unable to Specify Additional Classpath for WAR Defined via webapps Declaration Key: MTOMCAT-170 URL: https://issues.apache.org/jira/browse/MTOMCAT-170 Project: Apache Tomcat Maven Plugin Issue Type: Bug Components: tomcat7 Affects Versions: 2.0 Reporter: Josh Harness Assignee: Olivier Lamy (*$^¨%`£) Priority: Minor Fix For: 2.0 Attachments: MTOMCAT-170.patch I need the ability for web application defined in the webapps portion of the plugin configuration to have the ability to use the classpath of the main plugin configuration. A reasonable approach might be to allow the webapp to inherit the additional classpath of the main web application config. I'll apply a patch shortly for feedback/review. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[jira] [Created] (MTOMCAT-172) configuring aliases with tomcat7:run
Olivier Lamy (*$^¨%`£) created MTOMCAT-172: -- Summary: configuring aliases with tomcat7:run Key: MTOMCAT-172 URL: https://issues.apache.org/jira/browse/MTOMCAT-172 Project: Apache Tomcat Maven Plugin Issue Type: Bug Reporter: Olivier Lamy (*$^¨%`£) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[jira] [Updated] (MTOMCAT-172) configuring aliases with tomcat7:run
[ https://issues.apache.org/jira/browse/MTOMCAT-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Olivier Lamy (*$^¨%`£) updated MTOMCAT-172: --- Description: adding configuration like aliases aliasfoo.com/alias /alias Fix Version/s: 2.0 configuring aliases with tomcat7:run Key: MTOMCAT-172 URL: https://issues.apache.org/jira/browse/MTOMCAT-172 Project: Apache Tomcat Maven Plugin Issue Type: Bug Reporter: Olivier Lamy (*$^¨%`£) Fix For: 2.0 adding configuration like aliases aliasfoo.com/alias /alias -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1367441 - /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java
Author: olamy Date: Tue Jul 31 07:43:15 2012 New Revision: 1367441 URL: http://svn.apache.org/viewvc?rev=1367441view=rev Log: [MTOMCAT-172] configuring aliases with tomcat7:run Modified: tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java Modified: tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java?rev=1367441r1=1367440r2=1367441view=diff == --- tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java (original) +++ tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java Tue Jul 31 07:43:15 2012 @@ -433,6 +433,22 @@ public abstract class AbstractRunMojo */ protected String propertiesPortFilePath; +/** + * configure host name + * + * @parameter expression=${maven.tomcat.hostName} default-value=localhost + * @since 2.0 + */ +protected String hostName; + +/** + * configure aliases + * + * @parameter + * @since 2.0 + */ +protected String[] aliases; + // -- // Fields // -- @@ -933,6 +949,18 @@ public abstract class AbstractRunMojo embeddedTomcat.getHost().setAppBase( new File( configurationDir, webapps ).getAbsolutePath() ); +if ( hostName != null ) +{ +embeddedTomcat.getHost().setName( hostName ); +} +if ( aliases != null ) +{ +for ( String alias : aliases ) +{ +embeddedTomcat.getHost().addAlias( alias ); +} + +} createStaticContext( embeddedTomcat, ctx, embeddedTomcat.getHost() ); Connector connector = new Connector( protocol ); - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[jira] [Closed] (MTOMCAT-172) configuring aliases with tomcat7:run
[ https://issues.apache.org/jira/browse/MTOMCAT-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Olivier Lamy (*$^¨%`£) closed MTOMCAT-172. -- Resolution: Fixed Assignee: Olivier Lamy (*$^¨%`£) implemented. configuring aliases with tomcat7:run Key: MTOMCAT-172 URL: https://issues.apache.org/jira/browse/MTOMCAT-172 Project: Apache Tomcat Maven Plugin Issue Type: Bug Reporter: Olivier Lamy (*$^¨%`£) Assignee: Olivier Lamy (*$^¨%`£) Fix For: 2.0 adding configuration like aliases aliasfoo.com/alias /alias -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1367446 - /tomcat/maven-plugin/trunk/src/site/apt/snapshot-test.apt
Author: olamy Date: Tue Jul 31 08:12:06 2012 New Revision: 1367446 URL: http://svn.apache.org/viewvc?rev=1367446view=rev Log: fix repository id Modified: tomcat/maven-plugin/trunk/src/site/apt/snapshot-test.apt Modified: tomcat/maven-plugin/trunk/src/site/apt/snapshot-test.apt URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/src/site/apt/snapshot-test.apt?rev=1367446r1=1367445r2=1367446view=diff == --- tomcat/maven-plugin/trunk/src/site/apt/snapshot-test.apt (original) +++ tomcat/maven-plugin/trunk/src/site/apt/snapshot-test.apt Tue Jul 31 08:12:06 2012 @@ -36,7 +36,7 @@ Testing SNAPSHOT repositories repository - idpeople.apache.snapshots/id + idapache.snapshots/id urlhttp://repository.apache.org/content/groups/snapshots-group//url releases enabledfalse/enabled - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1367447 - /tomcat/maven-plugin/trunk/pom.xml
Author: olamy Date: Tue Jul 31 08:12:13 2012 New Revision: 1367447 URL: http://svn.apache.org/viewvc?rev=1367447view=rev Log: make site url configurable to help testing site deployment Modified: tomcat/maven-plugin/trunk/pom.xml Modified: tomcat/maven-plugin/trunk/pom.xml URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/pom.xml?rev=1367447r1=1367446r2=1367447view=diff == --- tomcat/maven-plugin/trunk/pom.xml (original) +++ tomcat/maven-plugin/trunk/pom.xml Tue Jul 31 08:12:13 2012 @@ -37,7 +37,7 @@ container. /description - urlhttp://tomcat.apache.org/maven-plugin-${project.version}/url + url${siteUrl}/url properties project.build.sourceEncodingUTF-8/project.build.sourceEncoding @@ -53,11 +53,13 @@ verifier.debugJvmfalse/verifier.debugJvm maven.resources.escapeString\/maven.resources.escapeString distributionReleaseUrlhttps://repository.apache.org/service/local/staging/deploy/maven2/distributionReleaseUrl - distributionSiteUrlscp://people.apache.org/www/tomcat.apache.org/maven-plugin-${project.version}/distributionSiteUrl distributionSnapshotsUrlhttps://repository.apache.org/content/repositories/snapshots/distributionSnapshotsUrl distributionIdSnapshotsapache.snapshots.https/distributionIdSnapshots + distributionSiteUrlscp://people.apache.org/www/tomcat.apache.org/maven-plugin-${project.version}/distributionSiteUrl +siteUrlhttp://tomcat.apache.org/maven-plugin-${project.version}/siteUrl + !-- http port used to run it test -- its.http.port1973/its.http.port !-- https port used to run it test -- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1367448 - /tomcat/maven-plugin/trunk/src/site/site.xml
Author: olamy Date: Tue Jul 31 08:12:22 2012 New Revision: 1367448 URL: http://svn.apache.org/viewvc?rev=1367448view=rev Log: use top bar for the site Modified: tomcat/maven-plugin/trunk/src/site/site.xml Modified: tomcat/maven-plugin/trunk/src/site/site.xml URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/src/site/site.xml?rev=1367448r1=1367447r2=1367448view=diff == --- tomcat/maven-plugin/trunk/src/site/site.xml (original) +++ tomcat/maven-plugin/trunk/src/site/site.xml Tue Jul 31 08:12:22 2012 @@ -32,6 +32,23 @@ artifactIdmaven-fluido-skin/artifactId version1.2.2/version /skin + + custom +fluidoSkin + topBarEnabledtrue/topBarEnabled + sideBarEnabledfalse/sideBarEnabled + googleSearch +sitesearch${project.url}/sitesearch + /googleSearch + twitter +userTheApacheTomcat/user +showUsertrue/showUser +showFollowersfalse/showFollowers + /twitter +/fluidoSkin + + /custom + publishDate format=dd position=right / version position=right / - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1367449 - /tomcat/maven-plugin/trunk/pom.xml
Author: olamy Date: Tue Jul 31 08:12:30 2012 New Revision: 1367449 URL: http://svn.apache.org/viewvc?rev=1367449view=rev Log: use last changes maven plugin Modified: tomcat/maven-plugin/trunk/pom.xml Modified: tomcat/maven-plugin/trunk/pom.xml URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/pom.xml?rev=1367449r1=1367448r2=1367449view=diff == --- tomcat/maven-plugin/trunk/pom.xml (original) +++ tomcat/maven-plugin/trunk/pom.xml Tue Jul 31 08:12:30 2012 @@ -798,7 +798,7 @@ plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-changes-plugin/artifactId -version2.6/version +version2.7.1/version inheritedfalse/inherited configuration columnNamesType,Fix Version,Key,Summary,Assignee,Status,Created/columnNames - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1367450 - /tomcat/maven-plugin/trunk/pom.xml
Author: olamy Date: Tue Jul 31 08:12:37 2012 New Revision: 1367450 URL: http://svn.apache.org/viewvc?rev=1367450view=rev Log: use last compiler plugin version Modified: tomcat/maven-plugin/trunk/pom.xml Modified: tomcat/maven-plugin/trunk/pom.xml URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/pom.xml?rev=1367450r1=1367449r2=1367450view=diff == --- tomcat/maven-plugin/trunk/pom.xml (original) +++ tomcat/maven-plugin/trunk/pom.xml Tue Jul 31 08:12:37 2012 @@ -565,7 +565,7 @@ /plugin plugin artifactIdmaven-compiler-plugin/artifactId - version2.4/version + version2.5.1/version configuration encoding${project.build.sourceEncoding}/encoding source${maven.compiler.source}/source - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1367451 - /tomcat/maven-plugin/trunk/pom.xml
Author: olamy Date: Tue Jul 31 08:12:44 2012 New Revision: 1367451 URL: http://svn.apache.org/viewvc?rev=1367451view=rev Log: use last findbugs plugin version Modified: tomcat/maven-plugin/trunk/pom.xml Modified: tomcat/maven-plugin/trunk/pom.xml URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/pom.xml?rev=1367451r1=1367450r2=1367451view=diff == --- tomcat/maven-plugin/trunk/pom.xml (original) +++ tomcat/maven-plugin/trunk/pom.xml Tue Jul 31 08:12:44 2012 @@ -788,7 +788,7 @@ plugin groupIdorg.codehaus.mojo/groupId artifactIdfindbugs-maven-plugin/artifactId -version2.3.2/version +version2.5.1/version /plugin plugin groupIdorg.codehaus.sonar-plugins/groupId - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1367452 - /tomcat/maven-plugin/trunk/src/site/apt/index.apt.vm
Author: olamy Date: Tue Jul 31 08:12:54 2012 New Revision: 1367452 URL: http://svn.apache.org/viewvc?rev=1367452view=rev Log: shorter name Modified: tomcat/maven-plugin/trunk/src/site/apt/index.apt.vm Modified: tomcat/maven-plugin/trunk/src/site/apt/index.apt.vm URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/src/site/apt/index.apt.vm?rev=1367452r1=1367451r2=1367452view=diff == --- tomcat/maven-plugin/trunk/src/site/apt/index.apt.vm (original) +++ tomcat/maven-plugin/trunk/src/site/apt/index.apt.vm Tue Jul 31 08:12:54 2012 @@ -1,5 +1,5 @@ --- - Welcome to the Apache Tomcat Maven Plugin + About Apache Tomcat Maven Plugin --- Oliver Lamy --- - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1367454 - /tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpPingInterceptor.java
Author: kfujino Date: Tue Jul 31 08:21:40 2012 New Revision: 1367454 URL: http://svn.apache.org/viewvc?rev=1367454view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53607. To avoid NPE, set TCP PING data to ChannelMessage. Modified: tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpPingInterceptor.java Modified: tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpPingInterceptor.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpPingInterceptor.java?rev=1367454r1=1367453r2=1367454view=diff == --- tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpPingInterceptor.java (original) +++ tomcat/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpPingInterceptor.java Tue Jul 31 08:21:40 2012 @@ -27,6 +27,7 @@ import org.apache.catalina.tribes.Channe import org.apache.catalina.tribes.Member; import org.apache.catalina.tribes.group.ChannelInterceptorBase; import org.apache.catalina.tribes.io.ChannelData; +import org.apache.catalina.tribes.io.XByteBuffer; import org.apache.juli.logging.Log; import org.apache.juli.logging.LogFactory; @@ -145,6 +146,7 @@ public class TcpPingInterceptor extends data.setAddress(getLocalMember(false)); data.setTimestamp(System.currentTimeMillis()); data.setOptions(getOptionFlag()); +data.setMessage(new XByteBuffer(TCP_PING_DATA, false)); try { super.sendMessage(members, data, null); }catch (ChannelException x) { - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1367456 - in /tomcat/tc7.0.x/trunk: java/org/apache/catalina/tribes/group/interceptors/TcpPingInterceptor.java webapps/docs/changelog.xml
Author: kfujino Date: Tue Jul 31 08:24:43 2012 New Revision: 1367456 URL: http://svn.apache.org/viewvc?rev=1367456view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53607. To avoid NPE, set TCP PING data to ChannelMessage. Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpPingInterceptor.java tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpPingInterceptor.java URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpPingInterceptor.java?rev=1367456r1=1367455r2=1367456view=diff == --- tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpPingInterceptor.java (original) +++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpPingInterceptor.java Tue Jul 31 08:24:43 2012 @@ -27,6 +27,7 @@ import org.apache.catalina.tribes.Channe import org.apache.catalina.tribes.Member; import org.apache.catalina.tribes.group.ChannelInterceptorBase; import org.apache.catalina.tribes.io.ChannelData; +import org.apache.catalina.tribes.io.XByteBuffer; import org.apache.juli.logging.Log; import org.apache.juli.logging.LogFactory; @@ -145,6 +146,7 @@ public class TcpPingInterceptor extends data.setAddress(getLocalMember(false)); data.setTimestamp(System.currentTimeMillis()); data.setOptions(getOptionFlag()); +data.setMessage(new XByteBuffer(TCP_PING_DATA, false)); try { super.sendMessage(members, data, null); }catch (ChannelException x) { Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1367456r1=1367455r2=1367456view=diff == --- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original) +++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Tue Jul 31 08:24:43 2012 @@ -142,6 +142,10 @@ bug53606/bug: Fix potential NPE in codeTcpPingInterceptor/code. Based on a patch by F. Arnoud. (markt) /fix + fix +bug53607/bug: To avoid NPE, set TCP PING data to ChannelMessage. +Patch provided by F.Arnoud (kfujino) + /fix /changelog /subsection /section - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[jira] [Commented] (MTOMCAT-172) configuring aliases with tomcat7:run
[ https://issues.apache.org/jira/browse/MTOMCAT-172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13425608#comment-13425608 ] Hudson commented on MTOMCAT-172: Integrated in TomcatMavenPlugin-mvn3.x #186 (See [https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x/186/]) [MTOMCAT-172] configuring aliases with tomcat7:run (Revision 1367441) Result = SUCCESS olamy : http://svn.apache.org/viewvc/?view=revrev=1367441 Files : * /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java configuring aliases with tomcat7:run Key: MTOMCAT-172 URL: https://issues.apache.org/jira/browse/MTOMCAT-172 Project: Apache Tomcat Maven Plugin Issue Type: Bug Reporter: Olivier Lamy (*$^¨%`£) Assignee: Olivier Lamy (*$^¨%`£) Fix For: 2.0 adding configuration like aliases aliasfoo.com/alias /alias -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 53607] No message set for PING: TcpPingInterceptor fail with NullPointerException in ChannelData.getDataPackageLength()
https://issues.apache.org/bugzilla/show_bug.cgi?id=53607 Keiichi Fujino kfuj...@apache.org changed: What|Removed |Added Component|Cluster |Cluster Product|Tomcat 7|Tomcat 6 Target Milestone|--- |default OS||All --- Comment #1 from Keiichi Fujino kfuj...@apache.org --- Thanks for the patch. Fixed in trunk and 7.0.x and will be included in 7.0.30 onwards. Proposed for 6.0.x. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1367462 - /tomcat/tc6.0.x/trunk/STATUS.txt
Author: kfujino Date: Tue Jul 31 08:41:36 2012 New Revision: 1367462 URL: http://svn.apache.org/viewvc?rev=1367462view=rev Log: Proposal Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=1367462r1=1367461r2=1367462view=diff == --- tomcat/tc6.0.x/trunk/STATUS.txt (original) +++ tomcat/tc6.0.x/trunk/STATUS.txt Tue Jul 31 08:41:36 2012 @@ -158,6 +158,11 @@ PATCHES PROPOSED TO BACKPORT: +1: kfujino -1: +* Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53607 + To avoid NPE, set TCP PING data to ChannelMessage. + http://svn.apache.org/viewvc?view=revisionrevision=1367456 + +1: kfujino + -1: PATCHES/ISSUES THAT ARE STALLED - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1367467 - /tomcat/tc6.0.x/trunk/STATUS.txt
Author: kfujino Date: Tue Jul 31 08:56:20 2012 New Revision: 1367467 URL: http://svn.apache.org/viewvc?rev=1367467view=rev Log: Proposal Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=1367467r1=1367466r2=1367467view=diff == --- tomcat/tc6.0.x/trunk/STATUS.txt (original) +++ tomcat/tc6.0.x/trunk/STATUS.txt Tue Jul 31 08:56:20 2012 @@ -164,6 +164,12 @@ PATCHES PROPOSED TO BACKPORT: +1: kfujino -1: +* Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53606 + Fix possible NPE when sending pings between cluster nodes. + http://svn.apache.org/viewvc?view=revisionrevision=1366961 + +1: kfujino + -1: + PATCHES/ISSUES THAT ARE STALLED * Backport JSP unloading patch (BZ48358). - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 53631] New: Unable to start tomcat7
https://issues.apache.org/bugzilla/show_bug.cgi?id=53631 Priority: P2 Bug ID: 53631 Assignee: dev@tomcat.apache.org Summary: Unable to start tomcat7 Severity: blocker Classification: Unclassified Reporter: vikhnesh...@ymail.com Hardware: PC Status: NEW Version: 7.0.25 Component: Manager Product: Tomcat 7 Access is denied. Unable to open the service 'Tomcat7'. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 53631] Unable to start tomcat7
https://issues.apache.org/bugzilla/show_bug.cgi?id=53631 Mark Thomas ma...@apache.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |INVALID OS||All --- Comment #1 from Mark Thomas ma...@apache.org --- User error. Use the mailing list. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 53632] New: The DispatchType is INCLUDE instead of ASYNC after a dispatch via AsyncContext
https://issues.apache.org/bugzilla/show_bug.cgi?id=53632 Priority: P2 Bug ID: 53632 Assignee: dev@tomcat.apache.org Summary: The DispatchType is INCLUDE instead of ASYNC after a dispatch via AsyncContext Severity: normal Classification: Unclassified OS: Linux Reporter: rstoyanc...@yahoo.com Hardware: PC Status: NEW Version: 7.0.29 Component: Catalina Product: Tomcat 7 Code demonstrating the issue: https://github.com/rstoyanchev/dispatch-test Checkout the 'tomcat-issue-repro' branch. From the home page of the deployed application, select the Dispatch via AsyncContext scenario. The scenario involves ServletA forwarding to ServletB and ServletC, which in turn creates a thread and dispatches to ServletD. The DispatchType in ServletD should be ASYNC but is INCLUDE instead. FWIW when the request is wrapped (scenarion Dispatch via AsyncContext and wrap request), the DispatchType is correct. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1367636 - /tomcat/maven-plugin/trunk/pom.xml
Author: olamy Date: Tue Jul 31 16:00:37 2012 New Revision: 1367636 URL: http://svn.apache.org/viewvc?rev=1367636view=rev Log: upgrade some dependencies Modified: tomcat/maven-plugin/trunk/pom.xml Modified: tomcat/maven-plugin/trunk/pom.xml URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/pom.xml?rev=1367636r1=1367635r2=1367636view=diff == --- tomcat/maven-plugin/trunk/pom.xml (original) +++ tomcat/maven-plugin/trunk/pom.xml Tue Jul 31 16:00:37 2012 @@ -466,22 +466,22 @@ dependency groupIdorg.codehaus.plexus/groupId artifactIdplexus-archiver/artifactId -version2.0.1/version +version2.1.1/version /dependency dependency groupIdorg.codehaus.plexus/groupId artifactIdplexus-utils/artifactId -version3.0/version +version3.0.2/version /dependency dependency groupIdcommons-codec/groupId artifactIdcommons-codec/artifactId -version1.3/version +version1.6/version /dependency dependency groupIdcommons-io/groupId artifactIdcommons-io/artifactId -version2.0.1/version +version2.4/version /dependency dependency groupIdcommons-lang/groupId @@ -496,7 +496,7 @@ dependency groupIdorg.apache.commons/groupId artifactIdcommons-compress/artifactId -version1.2/version +version1.4.1/version /dependency dependency groupIdorg.codehaus.plexus/groupId - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1367637 - in /tomcat/maven-plugin/trunk: tomcat6-maven-plugin/pom.xml tomcat7-maven-plugin/pom.xml
Author: olamy Date: Tue Jul 31 16:00:46 2012 New Revision: 1367637 URL: http://svn.apache.org/viewvc?rev=1367637view=rev Log: add missing ids Modified: tomcat/maven-plugin/trunk/tomcat6-maven-plugin/pom.xml tomcat/maven-plugin/trunk/tomcat7-maven-plugin/pom.xml Modified: tomcat/maven-plugin/trunk/tomcat6-maven-plugin/pom.xml URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat6-maven-plugin/pom.xml?rev=1367637r1=1367636r2=1367637view=diff == --- tomcat/maven-plugin/trunk/tomcat6-maven-plugin/pom.xml (original) +++ tomcat/maven-plugin/trunk/tomcat6-maven-plugin/pom.xml Tue Jul 31 16:00:46 2012 @@ -229,10 +229,11 @@ artifactIdmaven-install-plugin/artifactId executions execution +idinstall-plugin-pre-integration-test/id +phasepre-integration-test/phase goals goalinstall/goal /goals -phasepre-integration-test/phase /execution /executions /plugin Modified: tomcat/maven-plugin/trunk/tomcat7-maven-plugin/pom.xml URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/pom.xml?rev=1367637r1=1367636r2=1367637view=diff == --- tomcat/maven-plugin/trunk/tomcat7-maven-plugin/pom.xml (original) +++ tomcat/maven-plugin/trunk/tomcat7-maven-plugin/pom.xml Tue Jul 31 16:00:46 2012 @@ -280,11 +280,11 @@ artifactIdmaven-install-plugin/artifactId executions execution +idinstall-plugin-pre-integration-test/id +phasepre-integration-test/phase goals goalinstall/goal /goals -idinstral-plugin/id -phasepre-integration-test/phase /execution /executions /plugin - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1367638 - /tomcat/maven-plugin/trunk/pom.xml
Author: olamy Date: Tue Jul 31 16:00:53 2012 New Revision: 1367638 URL: http://svn.apache.org/viewvc?rev=1367638view=rev Log: use last release plugin version Modified: tomcat/maven-plugin/trunk/pom.xml Modified: tomcat/maven-plugin/trunk/pom.xml URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/pom.xml?rev=1367638r1=1367637r2=1367638view=diff == --- tomcat/maven-plugin/trunk/pom.xml (original) +++ tomcat/maven-plugin/trunk/pom.xml Tue Jul 31 16:00:53 2012 @@ -603,7 +603,7 @@ plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-release-plugin/artifactId - version2.2.2/version + version2.3.2/version configuration preparationGoalsclean install/preparationGoals /configuration - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1367641 - in /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7: ./ deploy/ run/
Author: olamy Date: Tue Jul 31 16:01:40 2012 New Revision: 1367641 URL: http://svn.apache.org/viewvc?rev=1367641view=rev Log: [MTOMCAT-157] use new Maven Plugins annotations. done for tomcat7 mojos. Modified: tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/AbstractCatalinaMojo.java tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/AbstractTomcat7Mojo.java tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/AbstractWarCatalinaMojo.java tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/deploy/AbstractDeployMojo.java tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/deploy/AbstractDeployWarMojo.java tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/deploy/DeployMojo.java tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/deploy/DeployOnlyMojo.java tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunWarMojo.java tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/ExecWarMojo.java tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/ExecWarOnlyMojo.java tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/RunMojo.java tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/RunWarMojo.java tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/RunWarOnlyMojo.java tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/ShutdownMojo.java Modified: tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/AbstractCatalinaMojo.java URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/AbstractCatalinaMojo.java?rev=1367641r1=1367640r2=1367641view=diff == --- tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/AbstractCatalinaMojo.java (original) +++ tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/AbstractCatalinaMojo.java Tue Jul 31 16:01:40 2012 @@ -21,6 +21,8 @@ package org.apache.tomcat.maven.plugin.t import org.apache.maven.artifact.manager.WagonManager; import org.apache.maven.plugin.MojoExecutionException; +import org.apache.maven.plugins.annotations.Component; +import org.apache.maven.plugins.annotations.Parameter; import org.apache.maven.wagon.authentication.AuthenticationInfo; import org.apache.tomcat.maven.common.deployer.TomcatManager; import org.apache.tomcat.maven.common.deployer.TomcatManagerException; @@ -64,58 +66,46 @@ public abstract class AbstractCatalinaMo /** * The Maven Wagon manager to use when obtaining server authentication details. - * - * @component role=org.apache.maven.artifact.manager.WagonManager - * @required - * @readonly */ +@Component private WagonManager wagonManager; /** * The full URL of the Tomcat manager instance to use. - * - * @parameter expression=${maven.tomcat.url} default-value=http://localhost:8080/manager/html; - * @required */ +@Parameter( property = maven.tomcat.url, defaultValue = http://localhost:8080/manager/html;, required = true ) private URL url; /** * The server id in settings.xml to use when authenticating with Tomcat manager, or codenull/code to use * defaults of username codeadmin/code and no password. - * - * @parameter expression=${maven.tomcat.server} */ +@Parameter( property = maven.tomcat.server ) private String server; /** * The URL encoding charset to use when communicating with Tomcat manager. - * - * @parameter expression=${maven.tomcat.charset} default-value=ISO-8859-1 - * @required */ +@Parameter( property = maven.tomcat.charset, defaultValue = ISO-8859-1, required = true ) private String charset; /** * The tomcat username to use for deployment * - * @parameter expression=${tomcat.username} * @since 1.0-alpha-2
svn commit: r1367642 - /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java
Author: olamy Date: Tue Jul 31 16:01:54 2012 New Revision: 1367642 URL: http://svn.apache.org/viewvc?rev=1367642view=rev Log: add link to tomcat7 documentations for Host Name aliases Modified: tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java Modified: tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java?rev=1367642r1=1367641r2=1367642view=diff == --- tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java (original) +++ tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java Tue Jul 31 16:01:54 2012 @@ -35,6 +35,7 @@ import org.apache.commons.io.IOUtils; import org.apache.commons.lang.StringUtils; import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.factory.ArtifactFactory; +import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.resolver.ArtifactNotFoundException; import org.apache.maven.artifact.resolver.ArtifactResolutionException; import org.apache.maven.artifact.resolver.ArtifactResolver; @@ -113,7 +114,7 @@ public abstract class AbstractRunMojo * Location of the local repository. */ @Parameter( defaultValue = ${localRepository}, required = true, readonly = true ) -private org.apache.maven.artifact.repository.ArtifactRepository local; +private ArtifactRepository local; /** * Used to look up Artifacts in the remote repository. @@ -427,6 +428,7 @@ public abstract class AbstractRunMojo /** * configure aliases + * see a href=http://tomcat.apache.org/tomcat-7.0-doc/config/host.html#Host_Name_Aliases;Host Name aliases/a * * @since 2.0 */ - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[jira] [Closed] (MTOMCAT-157) use new Maven Plugins annotations
[ https://issues.apache.org/jira/browse/MTOMCAT-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Olivier Lamy (*$^¨%`£) closed MTOMCAT-157. -- Resolution: Fixed done. use new Maven Plugins annotations - Key: MTOMCAT-157 URL: https://issues.apache.org/jira/browse/MTOMCAT-157 Project: Apache Tomcat Maven Plugin Issue Type: Bug Reporter: Olivier Lamy (*$^¨%`£) Assignee: Olivier Lamy (*$^¨%`£) Fix For: 2.0 And as now annotations from parent classes even in external modules, study how to reuse mojo parameters instead of copy/paste ! -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[jira] [Commented] (MTOMCAT-157) use new Maven Plugins annotations
[ https://issues.apache.org/jira/browse/MTOMCAT-157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13425909#comment-13425909 ] Hudson commented on MTOMCAT-157: Integrated in TomcatMavenPlugin-mvn3.x #187 (See [https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x/187/]) [MTOMCAT-157] use new Maven Plugins annotations. done for tomcat7 mojos. (Revision 1367641) [MTOMCAT-157] use new Maven Plugins annotations. done for tomcat6 mojos. (Revision 1367640) Result = SUCCESS olamy : http://svn.apache.org/viewvc/?view=revrev=1367641 Files : * /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/AbstractCatalinaMojo.java * /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/AbstractTomcat7Mojo.java * /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/AbstractWarCatalinaMojo.java * /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/deploy/AbstractDeployMojo.java * /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/deploy/AbstractDeployWarMojo.java * /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/deploy/DeployMojo.java * /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/deploy/DeployOnlyMojo.java * /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java * /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java * /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunWarMojo.java * /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/ExecWarMojo.java * /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/ExecWarOnlyMojo.java * /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/RunMojo.java * /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/RunWarMojo.java * /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/RunWarOnlyMojo.java * /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/ShutdownMojo.java olamy : http://svn.apache.org/viewvc/?view=revrev=1367640 Files : * /tomcat/maven-plugin/trunk/pom.xml * /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/pom.xml * /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractCatalinaMojo.java * /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractDeployMojo.java * /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractDeployWarMojo.java * /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractI18NTomcat6Mojo.java * /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java * /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractRunWarMojo.java * /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractWarCatalinaMojo.java * /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/DeployMojo.java * /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/DeployOnlyMojo.java * /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/ExplodedMojo.java * /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/InplaceMojo.java * /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/ListMojo.java * /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/RedeployMojo.java * /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/ReloadMojo.java * /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/ResourcesMojo.java * /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/RolesMojo.java * /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/RunMojo.java *
[GUMP@vmgump]: Project tomcat-tc7.0.x-validate (in module tomcat-7.0.x) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project tomcat-tc7.0.x-validate has an issue affecting its community integration. This issue affects 1 projects. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - tomcat-tc7.0.x-validate : Tomcat 7.x, a web server implementing Java Servlet 3.0, ... Full details are available at: http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-validate/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on checkstyle exists, no need to add for property checkstyle.jar. -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-validate/gump_work/build_tomcat-7.0.x_tomcat-tc7.0.x-validate.html Work Name: build_tomcat-7.0.x_tomcat-tc7.0.x-validate (Type: Build) Work ended in a state of : Failed Elapsed: 1 sec Command Line: /usr/lib/jvm/java-6-openjdk/bin/java -Djava.awt.headless=true -Dbuild.sysclasspath=only org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Dcheckstyle.jar=/srv/gump/public/workspace/checkstyle/target/checkstyle-5.6-SNAPSHOT.jar -Dexecute.validate=true validate [Working Directory: /srv/gump/public/workspace/tomcat-7.0.x] CLASSPATH: /usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/checkstyle/target/checkstyle-5.6-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/beanutils/dist/commons-beanutils-31072012.jar:/srv/gump/public/workspace/apache-commons/cli/target/commons-cli-1.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/exec/target/commons-exec-1.1.1-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/validator/dist/commons-validator-31072012.jar:/srv/gump/public/workspace/junit/dist/junit-31072012.jar:/srv/gump /public/workspace/junit/dist/junit-dep-31072012.jar:/srv/gump/public/workspace/google-guava/guava/target/guava-*[0-9T].jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-31072012.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-31072012.jar:/srv/gump/public/workspace/commons-collections-3.x/target/commons-collections-3.3-SNAPSHOT.jar:/srv/gump/packages/antlr/antlr-3.1.3.jar:/srv/gump/public/workspace/jdom/build/jdom.jar:/srv/gump/public/workspace/velocity-engine/bin/velocity-31072012.jar:/srv/gump/public/workspace/velocity-engine/bin/velocity-31072012-dep.jar - download-validate: proxyflags: setproxy: testexist: [echo] Testing for /srv/gump/public/workspace/checkstyle/target/checkstyle-5.6-SNAPSHOT.jar downloadzip: validate: [mkdir] Created dir: /srv/gump/public/workspace/tomcat-7.0.x/output/res/checkstyle BUILD FAILED /srv/gump/public/workspace/tomcat-7.0.x/build.xml:450: Could not create type checkstyle due to java.lang.NoClassDefFoundError: com/google/common/collect/Lists at com.puppycrawl.tools.checkstyle.CheckStyleTask.init(CheckStyleTask.java:78) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at org.apache.tools.ant.AntTypeDefinition.innerCreateAndSet(AntTypeDefinition.java:328) at org.apache.tools.ant.AntTypeDefinition.createAndSet(AntTypeDefinition.java:274) at org.apache.tools.ant.AntTypeDefinition.icreate(AntTypeDefinition.java:219) at org.apache.tools.ant.AntTypeDefinition.create(AntTypeDefinition.java:206) at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:286) at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:264) at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:417) at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:163) at org.apache.tools.ant.Task.perform(Task.java:347) at
[Bug 53633] New: Scope of Realm expanded when using SSO
https://issues.apache.org/bugzilla/show_bug.cgi?id=53633 Priority: P2 Bug ID: 53633 Assignee: dev@tomcat.apache.org Summary: Scope of Realm expanded when using SSO Severity: normal Classification: Unclassified OS: Linux Reporter: dverb...@hotmail.com Hardware: PC Status: NEW Version: 6.0.33 Component: Catalina Product: Tomcat 6 A Realm defined within a Host should be shared with all webapps within that Host when using SSO, EXCEPT for webapps that define their own Realm. This kinda works, but the specific Realm defined within a nested Context seems to be shared also. (No new challenge for authentication is presented.) Example (server.xml): Host Realm className=...JDBCRealm / Valve className=org.apache.catalina.authenticator.SingleSignOn / Context path=/manager privileged=true Realm className=org.apache.catalina.realm.UserDatabaseRealm resourceName=UserDatabase/ /Context /Host In this scenario the webapps that use the shared JDBCRealm use FormAuthentication.The manager webapp uses BasicAuthentication of course. Now once a user has logged in with the manager webapp the user is also authenticated for all other webapps. The reverse scenario does seem to work somewhat better. Once a user has logged in with any other webapp than manager, accessing the manager webapp yields a http 403 status. As if there was no user database defined for the manager app. Are Principals cached in a central location perhaps? -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[GUMP@vmgump]: Project tomcat-trunk-validate-eoln (in module tomcat-trunk) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project tomcat-trunk-validate-eoln has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 37 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - tomcat-trunk-validate-eoln : Tomcat 8.x, a web server implementing Java Servlet 3.1, ... Full details are available at: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-validate-eoln/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-validate-eoln/gump_work/build_tomcat-trunk_tomcat-trunk-validate-eoln.html Work Name: build_tomcat-trunk_tomcat-trunk-validate-eoln (Type: Build) Work ended in a state of : Failed Elapsed: 1 sec Command Line: /usr/lib/jvm/java-6-openjdk/bin/java -Djava.awt.headless=true -Dbuild.sysclasspath=only org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml validate-eoln [Working Directory: /srv/gump/public/workspace/tomcat-trunk] CLASSPATH: /usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/tomcat-trunk/output/classes:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar - Buildfile: /srv/gump/public/workspace/tomcat-trunk/build.xml build-prepare: [mkdir] Created dir: /srv/gump/public/workspace/tomcat-trunk/output/classes [mkdir] Created dir: /srv/gump/public/workspace/tomcat-trunk/output/build [mkdir] Created dir: /srv/gump/public/workspace/tomcat-trunk/output/build/bin [mkdir] Created dir: /srv/gump/public/workspace/tomcat-trunk/output/build/conf [mkdir] Created dir: /srv/gump/public/workspace/tomcat-trunk/output/build/lib [mkdir] Created dir: /srv/gump/public/workspace/tomcat-trunk/output/build/logs [mkdir] Created dir: /srv/gump/public/workspace/tomcat-trunk/output/build/temp [mkdir] Created dir: /srv/gump/public/workspace/tomcat-trunk/output/build/webapps compile-prepare: [copy] Copying 1 file to /srv/gump/public/workspace/tomcat-trunk/java/org/apache/catalina/startup [copy] Copying 1 file to /srv/gump/public/workspace/tomcat-trunk/webapps/docs validate-eoln: [javac] Compiling 1 source file to /srv/gump/public/workspace/tomcat-trunk/output/classes [javac] javac: invalid target release: 1.7 [javac] Usage: javac options source files [javac] use -help for a list of possible options BUILD FAILED /srv/gump/public/workspace/tomcat-trunk/build.xml:523: Compile failed; see the compiler error output for details. Total time: 1 second - To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-validate-eoln/rss.xml - Atom: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-validate-eoln/atom.xml == Gump Tracking Only === Produced by Apache Gump(TM) version 2.3. Gump Run 1301082012, vmgump.apache.org:vmgump:1301082012 Gump E-mail Identifier (unique within run) #6. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[GUMP@vmgump]: Project tomcat-trunk-dbcp (in module tomcat-trunk) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project tomcat-trunk-dbcp has an issue affecting its community integration. This issue affects 3 projects. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - tomcat-trunk : Tomcat 8.x, a web server implementing Java Servlet 3.1, ... - tomcat-trunk-dbcp : Tomcat 8.x, a web server implementing Java Servlet 3.1, ... - tomcat-trunk-test : Tomcat 8.x, a web server implementing Java Servlet 3.1, ... Full details are available at: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-dbcp/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Made directory [/srv/gump/public/workspace/tomcat-trunk/tomcat-deps] -INFO- Failed with reason build failed -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-dbcp/gump_work/build_tomcat-trunk_tomcat-trunk-dbcp.html Work Name: build_tomcat-trunk_tomcat-trunk-dbcp (Type: Build) Work ended in a state of : Failed Elapsed: 3 secs Command Line: /usr/lib/jvm/java-6-openjdk/bin/java -Djava.awt.headless=true -Dbuild.sysclasspath=only org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Dcommons-pool.home=/srv/gump/public/workspace/commons-pool-1.x -Dcommons-dbcp.home=/srv/gump/public/workspace/commons-dbcp-1.x -Dtomcat-dbcp.jar=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps/tomcat-dbcp-01082012.jar -Dtomcat-dbcp.home=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps build-tomcat-dbcp [Working Directory: /srv/gump/public/workspace/tomcat-trunk] CLASSPATH: /usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/packages/jta-spec1_0_1/jta-spec1_0_1.jar - Buildfile: /srv/gump/public/workspace/tomcat-trunk/build.xml build-prepare: [delete] Deleting directory /srv/gump/public/workspace/tomcat-trunk/output/build/temp [mkdir] Created dir: /srv/gump/public/workspace/tomcat-trunk/output/build/temp build-manifests: [mkdir] Created dir: /srv/gump/public/workspace/tomcat-trunk/output/manifests [copy] Copying 12 files to /srv/gump/public/workspace/tomcat-trunk/output/manifests build-tomcat-dbcp: [copy] Copying 70 files to /srv/gump/public/workspace/tomcat-trunk/tomcat-deps [patch] patching file src/java/org/apache/commons/dbcp/DelegatingCallableStatement.java [patch] Hunk #1 succeeded at 661 (offset -113 lines). [patch] patching file src/java/org/apache/commons/dbcp/cpdsadapter/DriverAdapterCPDS.java [patch] patching file src/java/org/apache/commons/dbcp/DelegatingResultSet.java [patch] Hunk #1 succeeded at 1079 (offset -195 lines). [patch] patching file src/java/org/apache/commons/dbcp/PoolingDataSource.java [patch] Hunk #1 succeeded at 437 (offset -52 lines). [patch] patching file src/java/org/apache/commons/dbcp/DelegatingConnection.java [patch] Hunk #1 succeeded at 678 (offset -126 lines). [patch] patching file src/java/org/apache/commons/dbcp/PoolingDriver.java [patch] Hunk #1 succeeded at 497 (offset -4 lines). [patch] patching file src/java/org/apache/commons/dbcp/DelegatingStatement.java [patch] Hunk #1 succeeded at 484 (offset -45 lines). [patch] patching file src/java/org/apache/commons/dbcp/DelegatingDatabaseMetaData.java [patch] Hunk #1 succeeded at 1204 (offset -173 lines). [patch] patching file src/java/org/apache/commons/dbcp/BasicDataSource.java [patch] Hunk #1 succeeded at 28 with fuzz 1. [patch] Hunk #2 succeeded at 1782 (offset -19 lines). [patch] patching file src/java/org/apache/commons/dbcp/datasources/InstanceKeyDataSource.java [patch] Hunk #1 succeeded at 887 (offset -1 lines). [mkdir] Created dir: /srv/gump/public/workspace/tomcat-trunk/tomcat-deps/src/java/org/apache/tomcat/dbcp [move] Moving 75 files to /srv/gump/public/workspace/tomcat-trunk/tomcat-deps/src/java/org/apache/tomcat/dbcp [mkdir] Created dir: /srv/gump/public/workspace/tomcat-trunk/tomcat-deps/classes [javac] Compiling 66 source files to
[GUMP@vmgump]: Project tomcat-tc7.0.x-validate (in module tomcat-7.0.x) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project tomcat-tc7.0.x-validate has an issue affecting its community integration. This issue affects 1 projects. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - tomcat-tc7.0.x-validate : Tomcat 7.x, a web server implementing Java Servlet 3.0, ... Full details are available at: http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-validate/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on checkstyle exists, no need to add for property checkstyle.jar. -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-validate/gump_work/build_tomcat-7.0.x_tomcat-tc7.0.x-validate.html Work Name: build_tomcat-7.0.x_tomcat-tc7.0.x-validate (Type: Build) Work ended in a state of : Failed Elapsed: 2 secs Command Line: /usr/lib/jvm/java-6-openjdk/bin/java -Djava.awt.headless=true -Dbuild.sysclasspath=only org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Dcheckstyle.jar=/srv/gump/public/workspace/checkstyle/target/checkstyle-5.6-SNAPSHOT.jar -Dexecute.validate=true validate [Working Directory: /srv/gump/public/workspace/tomcat-7.0.x] CLASSPATH: /usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/checkstyle/target/checkstyle-5.6-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/beanutils/dist/commons-beanutils-01082012.jar:/srv/gump/public/workspace/apache-commons/cli/target/commons-cli-1.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/exec/target/commons-exec-1.1.1-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/validator/dist/commons-validator-01082012.jar:/srv/gump/public/workspace/junit/dist/junit-01082012.jar:/srv/gump /public/workspace/junit/dist/junit-dep-01082012.jar:/srv/gump/public/workspace/google-guava/guava/target/guava-*[0-9T].jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-01082012.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-01082012.jar:/srv/gump/public/workspace/commons-collections-3.x/target/commons-collections-3.3-SNAPSHOT.jar:/srv/gump/packages/antlr/antlr-3.1.3.jar:/srv/gump/public/workspace/jdom/build/jdom.jar:/srv/gump/public/workspace/velocity-engine/bin/velocity-01082012.jar:/srv/gump/public/workspace/velocity-engine/bin/velocity-01082012-dep.jar - download-validate: proxyflags: setproxy: testexist: [echo] Testing for /srv/gump/public/workspace/checkstyle/target/checkstyle-5.6-SNAPSHOT.jar downloadzip: validate: [mkdir] Created dir: /srv/gump/public/workspace/tomcat-7.0.x/output/res/checkstyle BUILD FAILED /srv/gump/public/workspace/tomcat-7.0.x/build.xml:450: Could not create type checkstyle due to java.lang.NoClassDefFoundError: com/google/common/collect/Lists at com.puppycrawl.tools.checkstyle.CheckStyleTask.init(CheckStyleTask.java:78) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at org.apache.tools.ant.AntTypeDefinition.innerCreateAndSet(AntTypeDefinition.java:328) at org.apache.tools.ant.AntTypeDefinition.createAndSet(AntTypeDefinition.java:274) at org.apache.tools.ant.AntTypeDefinition.icreate(AntTypeDefinition.java:219) at org.apache.tools.ant.AntTypeDefinition.create(AntTypeDefinition.java:206) at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:286) at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:264) at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:417) at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:163) at org.apache.tools.ant.Task.perform(Task.java:347) at
[GUMP@vmgump]: Project tomcat-trunk-validate (in module tomcat-trunk) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project tomcat-trunk-validate has an issue affecting its community integration. This issue affects 1 projects. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - tomcat-trunk-validate : Tomcat 8.x, a web server implementing Java Servlet 3.1, ... Full details are available at: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-validate/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on checkstyle exists, no need to add for property checkstyle.jar. -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-validate/gump_work/build_tomcat-trunk_tomcat-trunk-validate.html Work Name: build_tomcat-trunk_tomcat-trunk-validate (Type: Build) Work ended in a state of : Failed Elapsed: 2 secs Command Line: /usr/lib/jvm/java-6-openjdk/bin/java -Djava.awt.headless=true -Dbuild.sysclasspath=only org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Dcheckstyle.jar=/srv/gump/public/workspace/checkstyle/target/checkstyle-5.6-SNAPSHOT.jar -Dexecute.validate=true validate [Working Directory: /srv/gump/public/workspace/tomcat-trunk] CLASSPATH: /usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/checkstyle/target/checkstyle-5.6-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/beanutils/dist/commons-beanutils-01082012.jar:/srv/gump/public/workspace/apache-commons/cli/target/commons-cli-1.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/exec/target/commons-exec-1.1.1-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/validator/dist/commons-validator-01082012.jar:/srv/gump/public/workspace/junit/dist/junit-01082012.jar:/srv/gump /public/workspace/junit/dist/junit-dep-01082012.jar:/srv/gump/public/workspace/google-guava/guava/target/guava-*[0-9T].jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-01082012.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-01082012.jar:/srv/gump/public/workspace/commons-collections-3.x/target/commons-collections-3.3-SNAPSHOT.jar:/srv/gump/packages/antlr/antlr-3.1.3.jar:/srv/gump/public/workspace/jdom/build/jdom.jar:/srv/gump/public/workspace/velocity-engine/bin/velocity-01082012.jar:/srv/gump/public/workspace/velocity-engine/bin/velocity-01082012-dep.jar:/srv/gump/packages/javamail-1.4/mail.jar:/srv/gump/packages/javamail-1.4/lib/mailapi.jar:/srv/gump/packages/jaf-1.1ea/activation.jar - download-validate: proxyflags: setproxy: testexist: [echo] Testing for /srv/gump/public/workspace/checkstyle/target/checkstyle-5.6-SNAPSHOT.jar downloadzip: validate: [mkdir] Created dir: /srv/gump/public/workspace/tomcat-trunk/output/res/checkstyle BUILD FAILED /srv/gump/public/workspace/tomcat-trunk/build.xml:461: Could not create type checkstyle due to java.lang.NoClassDefFoundError: com/google/common/collect/Lists at com.puppycrawl.tools.checkstyle.CheckStyleTask.init(CheckStyleTask.java:78) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at org.apache.tools.ant.AntTypeDefinition.innerCreateAndSet(AntTypeDefinition.java:328) at org.apache.tools.ant.AntTypeDefinition.createAndSet(AntTypeDefinition.java:274) at org.apache.tools.ant.AntTypeDefinition.icreate(AntTypeDefinition.java:219) at org.apache.tools.ant.AntTypeDefinition.create(AntTypeDefinition.java:206) at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:286) at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:264) at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:417) at