Menu

How do you build unitils?

Users
Adam Cath
2014-11-24
2014-11-25
  • Adam Cath

    Adam Cath - 2014-11-24

    I couldn't find any docs on this. Here's what I did:

    $ svn checkout svn://svn.code.sf.net/p/unitils/code/trunk unitils-code
    $ cd unitils-code
    $ mvn test
    ...
    [ERROR] Failed to execute goal on project unitils-database: Could not resolve dependencies for project org.unitils:unitils-database:jar:4.0-SNAPSHOT: Failure to find org.dbmaintain:dbmaintain:jar:2.5-SNAPSHOT in https://oss.sonatype.org/content/repositories/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-nexus-snapshots has elapsed or updates are forced -> [Help 1]
    

    Would love some help.

     
  • Thomas De Rycke

    Thomas De Rycke - 2014-11-24

    Hi Adam,

    You should use the 3.4 branch svn checkout

    svn://svn.code.sf.net/p/unitils/code/branches/3.4/ unitils-code

     
  • Adam Cath

    Adam Cath - 2014-11-24

    Thanks Thomas! Now I get:

    $ mvn install -Dgpg.skip=true
    ...
    Tests in error:
      testMultipleDataSetsMultipleDatabases(org.unitils.dbunit.multidatabase.MultiDatabaseIntTest): Error inserting test data from DbUnit dataset for method public void org.unitils.dbunit.multidatabase.MultiDatabaseIntTest.testMultipleDataSetsMultipleDatabases() throws java.lang.Exception
      testMultipleExpectedDataSetsOnMultipleDatabases(org.unitils.dbunit.multidatabase.MultiDatabaseIntTest): Error while executing statement: INSERT INTO person (personid, personname) values ('8', 'Luc');
      testOneDataSetDatabase2(org.unitils.dbunit.multidatabase.MultiDatabaseIntTest): Error inserting test data from DbUnit dataset for method public void org.unitils.dbunit.multidatabase.MultiDatabaseIntTest.testOneDataSetDatabase2()
    

    Of course I can skip tests, but...should I?

     
  • Thomas De Rycke

    Thomas De Rycke - 2014-11-25

    I got the same error, but haven't debugged it yet
    @Willemijn, could you check?

     
  • Adam Cath

    Adam Cath - 2014-11-25

    Tim, the error wasn't about signing. I already worked around that in the fashion you suggest. This issue is failing unit tests.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB