You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steven Rowe (Created) (JIRA)" <ji...@apache.org> on 2012/03/21 19:49:40 UTC

[jira] [Created] (SOLR-3263) Stop including more than one servlet-api jar version in the test classpath in the Maven build

Stop including more than one servlet-api jar version in the test classpath in the Maven build
---------------------------------------------------------------------------------------------

                 Key: SOLR-3263
                 URL: https://issues.apache.org/jira/browse/SOLR-3263
             Project: Solr
          Issue Type: Bug
          Components: Build
    Affects Versions: 4.0
            Reporter: Steven Rowe
            Assignee: Steven Rowe


[Today's nightly Jenkins Maven trunk build|https://builds.apache.org/job/Lucene-Solr-Maven-trunk/431/testReport/] has several test failures with the error message:

{noformat}
class "javax.servlet.FilterRegistration"'s signer information does not match signer information of other classes in the same package
{noformat}

On SOLR-3260, [Ryan McKinley mentioned|https://issues.apache.org/jira/browse/SOLR-3260?focusedCommentId=13234472&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13234472] that these errors can be caused by mixing servlet-api jar versions.

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (SOLR-3263) Stop including more than one servlet-api jar version in the test classpath in the Maven build

Posted by "Steven Rowe (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Rowe updated SOLR-3263:
------------------------------

    Attachment: SOLR-3263.patch

Patch switching the solr-core module's servlet-api dependency from "compile" to "provided" scope.  This causes it to not be placed on the runtime classpath.

Because this change makes most Solr contrib modules' tests fail because of missing classes contained in the servlet-api jar.  For those modules with failing tests, I added a servlet-api test dependency.

All trunk Solr tests pass for me locally under Maven.

Committing shortly.
                
> Stop including more than one servlet-api jar version in the test classpath in the Maven build
> ---------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3263
>                 URL: https://issues.apache.org/jira/browse/SOLR-3263
>             Project: Solr
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.0
>            Reporter: Steven Rowe
>            Assignee: Steven Rowe
>         Attachments: SOLR-3263.patch
>
>
> [Today's nightly Jenkins Maven trunk build|https://builds.apache.org/job/Lucene-Solr-Maven-trunk/431/testReport/] has several test failures with the error message:
> {noformat}
> class "javax.servlet.FilterRegistration"'s signer information does not match signer information of other classes in the same package
> {noformat}
> On SOLR-3260, [Ryan McKinley mentioned|https://issues.apache.org/jira/browse/SOLR-3260?focusedCommentId=13234472&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13234472] that these errors can be caused by mixing servlet-api jar versions.

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Resolved] (SOLR-3263) Stop including more than one servlet-api jar version in the test classpath in the Maven build

Posted by "Steven Rowe (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Rowe resolved SOLR-3263.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0

The errors are no longer occurring on the trunk Jenkins Maven job.
                
> Stop including more than one servlet-api jar version in the test classpath in the Maven build
> ---------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3263
>                 URL: https://issues.apache.org/jira/browse/SOLR-3263
>             Project: Solr
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.0
>            Reporter: Steven Rowe
>            Assignee: Steven Rowe
>             Fix For: 4.0
>
>         Attachments: SOLR-3263.patch
>
>
> [Today's nightly Jenkins Maven trunk build|https://builds.apache.org/job/Lucene-Solr-Maven-trunk/431/testReport/] has several test failures with the error message:
> {noformat}
> class "javax.servlet.FilterRegistration"'s signer information does not match signer information of other classes in the same package
> {noformat}
> On SOLR-3260, [Ryan McKinley mentioned|https://issues.apache.org/jira/browse/SOLR-3260?focusedCommentId=13234472&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13234472] that these errors can be caused by mixing servlet-api jar versions.

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (SOLR-3263) Stop including more than one servlet-api jar version in the test classpath in the Maven build

Posted by "Steven Rowe (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13234910#comment-13234910 ] 

Steven Rowe commented on SOLR-3263:
-----------------------------------

I committed to trunk.

I'll go kick off a trunk Maven build on Jenkins now.
                
> Stop including more than one servlet-api jar version in the test classpath in the Maven build
> ---------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3263
>                 URL: https://issues.apache.org/jira/browse/SOLR-3263
>             Project: Solr
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.0
>            Reporter: Steven Rowe
>            Assignee: Steven Rowe
>         Attachments: SOLR-3263.patch
>
>
> [Today's nightly Jenkins Maven trunk build|https://builds.apache.org/job/Lucene-Solr-Maven-trunk/431/testReport/] has several test failures with the error message:
> {noformat}
> class "javax.servlet.FilterRegistration"'s signer information does not match signer information of other classes in the same package
> {noformat}
> On SOLR-3260, [Ryan McKinley mentioned|https://issues.apache.org/jira/browse/SOLR-3260?focusedCommentId=13234472&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13234472] that these errors can be caused by mixing servlet-api jar versions.

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (SOLR-3263) Stop including more than one servlet-api jar version in the test classpath in the Maven build

Posted by "Ryan McKinley (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235045#comment-13235045 ] 

Ryan McKinley commented on SOLR-3263:
-------------------------------------

thanks Steven!
                
> Stop including more than one servlet-api jar version in the test classpath in the Maven build
> ---------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3263
>                 URL: https://issues.apache.org/jira/browse/SOLR-3263
>             Project: Solr
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.0
>            Reporter: Steven Rowe
>            Assignee: Steven Rowe
>             Fix For: 4.0
>
>         Attachments: SOLR-3263.patch
>
>
> [Today's nightly Jenkins Maven trunk build|https://builds.apache.org/job/Lucene-Solr-Maven-trunk/431/testReport/] has several test failures with the error message:
> {noformat}
> class "javax.servlet.FilterRegistration"'s signer information does not match signer information of other classes in the same package
> {noformat}
> On SOLR-3260, [Ryan McKinley mentioned|https://issues.apache.org/jira/browse/SOLR-3260?focusedCommentId=13234472&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13234472] that these errors can be caused by mixing servlet-api jar versions.

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Issue Comment Edited] (SOLR-3263) Stop including more than one servlet-api jar version in the test classpath in the Maven build

Posted by "Steven Rowe (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13234889#comment-13234889 ] 

Steven Rowe edited comment on SOLR-3263 at 3/21/12 7:10 PM:
------------------------------------------------------------

Patch switching the solr-core module's servlet-api dependency from "compile" to "provided" scope.  This causes it to not be placed on the runtime classpath.

This change makes most Solr contrib modules' tests fail because of missing classes contained in the servlet-api jar.  For those modules with failing tests, I added a servlet-api test dependency.

All trunk Solr tests pass for me locally under Maven.

Committing shortly.
                
      was (Author: steve_rowe):
    Patch switching the solr-core module's servlet-api dependency from "compile" to "provided" scope.  This causes it to not be placed on the runtime classpath.

Because this change makes most Solr contrib modules' tests fail because of missing classes contained in the servlet-api jar.  For those modules with failing tests, I added a servlet-api test dependency.

All trunk Solr tests pass for me locally under Maven.

Committing shortly.
                  
> Stop including more than one servlet-api jar version in the test classpath in the Maven build
> ---------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3263
>                 URL: https://issues.apache.org/jira/browse/SOLR-3263
>             Project: Solr
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.0
>            Reporter: Steven Rowe
>            Assignee: Steven Rowe
>         Attachments: SOLR-3263.patch
>
>
> [Today's nightly Jenkins Maven trunk build|https://builds.apache.org/job/Lucene-Solr-Maven-trunk/431/testReport/] has several test failures with the error message:
> {noformat}
> class "javax.servlet.FilterRegistration"'s signer information does not match signer information of other classes in the same package
> {noformat}
> On SOLR-3260, [Ryan McKinley mentioned|https://issues.apache.org/jira/browse/SOLR-3260?focusedCommentId=13234472&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13234472] that these errors can be caused by mixing servlet-api jar versions.

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org