You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ukyo Virgden (Created) (JIRA)" <ji...@apache.org> on 2011/10/15 18:37:11 UTC

[jira] [Created] (SOLR-2835) Compilation problem with maven - package org.apache.solr.core does not exist

Compilation problem with maven - package org.apache.solr.core does not exist
----------------------------------------------------------------------------

                 Key: SOLR-2835
                 URL: https://issues.apache.org/jira/browse/SOLR-2835
             Project: Solr
          Issue Type: Bug
          Components: Build
    Affects Versions: 4.0
            Reporter: Ukyo Virgden


maven compilation fails.

Steps to reproduce are;
* svn update
* ant get-maven-poms
* mvn -N -Pbootstrap install
* mvn -DskipTests install


Build works until solrj test compilation Here's the start of the errors.

{code}
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ solr-solrj ---
[INFO] Compiling 157 source files to /users/ukyo//lucene-solr/solr/build/solr-solrj/classes/test
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/embedded/MergeIndexesEmbeddedTest.java:[24,27] package org.apache.solr.core does not exist
[ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/MergeIndexesExampleTestBase.java:[28,27] package org.apache.solr.core does not exist
[ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/MergeIndexesExampleTestBase.java:[29,27] package org.apache.solr.core does not exist
[ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/MergeIndexesExampleTestBase.java:[30,27] package org.apache.solr.util does not exist
[ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExampleTestBase.java:[21,27] package org.apache.solr.util does not exist
[ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExampleTestBase.java:[31,50] cannot find symbol
{code}

All following errors are the same package not found.

--
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-2835) Compilation problem with maven - package org.apache.solr.core does not exist

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

Steven Rowe resolved SOLR-2835.
-------------------------------

    Resolution: Incomplete
      Assignee: Steven Rowe
    
> Compilation problem with maven - package org.apache.solr.core does not exist
> ----------------------------------------------------------------------------
>
>                 Key: SOLR-2835
>                 URL: https://issues.apache.org/jira/browse/SOLR-2835
>             Project: Solr
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.0
>            Reporter: Ukyo Virgden
>            Assignee: Steven Rowe
>              Labels: maven, solrj
>
> maven compilation fails.
> Steps to reproduce are;
> * svn update
> * ant get-maven-poms
> * mvn -N -Pbootstrap install
> * mvn -DskipTests install
> Build works until solrj test compilation Here's the start of the errors.
> {code}
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ solr-solrj ---
> [INFO] Compiling 157 source files to /users/ukyo/lucene-solr/solr/build/solr-solrj/classes/test
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/embedded/MergeIndexesEmbeddedTest.java:[24,27] package org.apache.solr.core does not exist
> [ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/MergeIndexesExampleTestBase.java:[28,27] package org.apache.solr.core does not exist
> [ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/MergeIndexesExampleTestBase.java:[29,27] package org.apache.solr.core does not exist
> [ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/MergeIndexesExampleTestBase.java:[30,27] package org.apache.solr.util does not exist
> [ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExampleTestBase.java:[21,27] package org.apache.solr.util does not exist
> [ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExampleTestBase.java:[31,50] cannot find symbol
> {code}
> All following errors are the same package not found.

--
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-2835) Compilation problem with maven - package org.apache.solr.core does not exist

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

Ukyo Virgden updated SOLR-2835:
-------------------------------

    Description: 
maven compilation fails.

Steps to reproduce are;
* svn update
* ant get-maven-poms
* mvn -N -Pbootstrap install
* mvn -DskipTests install


Build works until solrj test compilation Here's the start of the errors.

{code}
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ solr-solrj ---
[INFO] Compiling 157 source files to /users/ukyo/lucene-solr/solr/build/solr-solrj/classes/test
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/embedded/MergeIndexesEmbeddedTest.java:[24,27] package org.apache.solr.core does not exist
[ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/MergeIndexesExampleTestBase.java:[28,27] package org.apache.solr.core does not exist
[ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/MergeIndexesExampleTestBase.java:[29,27] package org.apache.solr.core does not exist
[ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/MergeIndexesExampleTestBase.java:[30,27] package org.apache.solr.util does not exist
[ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExampleTestBase.java:[21,27] package org.apache.solr.util does not exist
[ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExampleTestBase.java:[31,50] cannot find symbol
{code}

All following errors are the same package not found.

  was:
maven compilation fails.

Steps to reproduce are;
* svn update
* ant get-maven-poms
* mvn -N -Pbootstrap install
* mvn -DskipTests install


Build works until solrj test compilation Here's the start of the errors.

{code}
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ solr-solrj ---
[INFO] Compiling 157 source files to /users/ukyo//lucene-solr/solr/build/solr-solrj/classes/test
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/embedded/MergeIndexesEmbeddedTest.java:[24,27] package org.apache.solr.core does not exist
[ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/MergeIndexesExampleTestBase.java:[28,27] package org.apache.solr.core does not exist
[ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/MergeIndexesExampleTestBase.java:[29,27] package org.apache.solr.core does not exist
[ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/MergeIndexesExampleTestBase.java:[30,27] package org.apache.solr.util does not exist
[ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExampleTestBase.java:[21,27] package org.apache.solr.util does not exist
[ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExampleTestBase.java:[31,50] cannot find symbol
{code}

All following errors are the same package not found.

    
> Compilation problem with maven - package org.apache.solr.core does not exist
> ----------------------------------------------------------------------------
>
>                 Key: SOLR-2835
>                 URL: https://issues.apache.org/jira/browse/SOLR-2835
>             Project: Solr
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.0
>            Reporter: Ukyo Virgden
>              Labels: maven, solrj
>
> maven compilation fails.
> Steps to reproduce are;
> * svn update
> * ant get-maven-poms
> * mvn -N -Pbootstrap install
> * mvn -DskipTests install
> Build works until solrj test compilation Here's the start of the errors.
> {code}
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ solr-solrj ---
> [INFO] Compiling 157 source files to /users/ukyo/lucene-solr/solr/build/solr-solrj/classes/test
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/embedded/MergeIndexesEmbeddedTest.java:[24,27] package org.apache.solr.core does not exist
> [ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/MergeIndexesExampleTestBase.java:[28,27] package org.apache.solr.core does not exist
> [ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/MergeIndexesExampleTestBase.java:[29,27] package org.apache.solr.core does not exist
> [ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/MergeIndexesExampleTestBase.java:[30,27] package org.apache.solr.util does not exist
> [ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExampleTestBase.java:[21,27] package org.apache.solr.util does not exist
> [ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExampleTestBase.java:[31,50] cannot find symbol
> {code}
> All following errors are the same package not found.

--
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-2835) Compilation problem with maven - package org.apache.solr.core does not exist

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

Steven Rowe commented on SOLR-2835:
-----------------------------------

Hi Ukyo,

I don't see the problems you report when I build trunk under Maven v2.2.1.  What version of Maven are you using?  Are you running {{mvn test}} in the {{solr/}} directory?

FYI, under maven, the solrj test sources don't get compiled or run as part of the solrj module.  Instead, they are compiled and run with the solr core module, because Maven's dependency system can't directly handle the unusual dependencies between solrj, solr core, and the solr test framework.  (solr core has a non-test dependency on solrj; solr test framework has a non-test dependency on solr core; and both solr core and solrj have a test dependency on the solr test framework.)

Another FYI: the maven build is run nightly under Jenkins - see [http://wiki.apache.org/solr/NightlyBuilds].

In the future, this kind of issue is best discussed on the solr-user mailing list before making a JIRA issue.
                
> Compilation problem with maven - package org.apache.solr.core does not exist
> ----------------------------------------------------------------------------
>
>                 Key: SOLR-2835
>                 URL: https://issues.apache.org/jira/browse/SOLR-2835
>             Project: Solr
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.0
>            Reporter: Ukyo Virgden
>              Labels: maven, solrj
>
> maven compilation fails.
> Steps to reproduce are;
> * svn update
> * ant get-maven-poms
> * mvn -N -Pbootstrap install
> * mvn -DskipTests install
> Build works until solrj test compilation Here's the start of the errors.
> {code}
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ solr-solrj ---
> [INFO] Compiling 157 source files to /users/ukyo/lucene-solr/solr/build/solr-solrj/classes/test
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/embedded/MergeIndexesEmbeddedTest.java:[24,27] package org.apache.solr.core does not exist
> [ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/MergeIndexesExampleTestBase.java:[28,27] package org.apache.solr.core does not exist
> [ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/MergeIndexesExampleTestBase.java:[29,27] package org.apache.solr.core does not exist
> [ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/MergeIndexesExampleTestBase.java:[30,27] package org.apache.solr.util does not exist
> [ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExampleTestBase.java:[21,27] package org.apache.solr.util does not exist
> [ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExampleTestBase.java:[31,50] cannot find symbol
> {code}
> All following errors are the same package not found.

--
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-2835) Compilation problem with maven - package org.apache.solr.core does not exist

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

Ukyo Virgden commented on SOLR-2835:
------------------------------------

Agreed.
                
> Compilation problem with maven - package org.apache.solr.core does not exist
> ----------------------------------------------------------------------------
>
>                 Key: SOLR-2835
>                 URL: https://issues.apache.org/jira/browse/SOLR-2835
>             Project: Solr
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.0
>            Reporter: Ukyo Virgden
>            Assignee: Steven Rowe
>              Labels: maven, solrj
>
> maven compilation fails.
> Steps to reproduce are;
> * svn update
> * ant get-maven-poms
> * mvn -N -Pbootstrap install
> * mvn -DskipTests install
> Build works until solrj test compilation Here's the start of the errors.
> {code}
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ solr-solrj ---
> [INFO] Compiling 157 source files to /users/ukyo/lucene-solr/solr/build/solr-solrj/classes/test
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/embedded/MergeIndexesEmbeddedTest.java:[24,27] package org.apache.solr.core does not exist
> [ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/MergeIndexesExampleTestBase.java:[28,27] package org.apache.solr.core does not exist
> [ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/MergeIndexesExampleTestBase.java:[29,27] package org.apache.solr.core does not exist
> [ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/MergeIndexesExampleTestBase.java:[30,27] package org.apache.solr.util does not exist
> [ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExampleTestBase.java:[21,27] package org.apache.solr.util does not exist
> [ERROR] /users/ukyo/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExampleTestBase.java:[31,50] cannot find symbol
> {code}
> All following errors are the same package not found.

--
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