Building liquibase RC2

Hi,

I’m trying (and failing) to build the liquibase RC2 from SVN. I’m getting the following maven error:

    [INFO] Scanning for projects…
    [ERROR] The build could not read 3 projects -> [Help 1]
    [ERROR]  The project org.liquibase:liquibase-ext-change:2.0-rc2-SNAPSHOT (C:\Workspace\liquibase\samples\liquibase-ext-change\pom.xml) has 1 error
    [ERROR]    Non-resolvable parent POM org.liquibase:samples:2.0-rc2-SNAPSHOT for org.liquibase:liquibase-ext-change:2.0-rc2-SNAPSHOT: Failed to resolve POM for
    org.liquibase:samples:2.0-rc2-SNAPSHOT due to Missing:

  1. org.liquibase:samples:pom:2.0-rc2-SNAPSHOT

1 required artifact is missing.

for artifact:
  org.liquibase:samples:pom:2.0-rc2-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
    -> [Help 2]
[ERROR]  The project org.liquibase:liquibase-ext-changewithnestedtags:2.0-rc2-SNAPSHOT (C:\Workspace\liquibase\samples\liquibase-ext-changewithnestedtags\pom.x
ml) has 1 error
[ERROR]    Non-resolvable parent POM org.liquibase:samples:2.0-rc2-SNAPSHOT for org.liquibase:liquibase-ext-changewithnestedtags:2.0-rc2-SNAPSHOT: Failed to re
solve POM for org.liquibase:samples:2.0-rc2-SNAPSHOT due to Missing:

  1. org.liquibase:samples:pom:2.0-rc2-SNAPSHOT

1 required artifact is missing.

for artifact:
  org.liquibase:samples:pom:2.0-rc2-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
    -> [Help 2]
[ERROR]  The project org.liquibase:liquibase-ext-sqlgenerator:2.0-rc2-SNAPSHOT (C:\Workspace\liquibase\samples\liquibase-ext-sqlgenerator\pom.xml) has 1 error
[ERROR]    Non-resolvable parent POM org.liquibase:samples:2.0-rc2-SNAPSHOT for org.liquibase:liquibase-ext-sqlgenerator:2.0-rc2-SNAPSHOT: Failed to resolve PO
M for org.liquibase:samples:2.0-rc2-SNAPSHOT due to Missing:

  1. org.liquibase:samples:pom:2.0-rc2-SNAPSHOT

1 required artifact is missing.

for artifact:
  org.liquibase:samples:pom:2.0-rc2-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
    -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

I’m sure this is basic stuff - presumably something to do with repository locations. How do I get maven to find this package?

Any ideas?

Ben

We’re working through some pom config changes.  I committed what should be a fix.  Let me know if you still can’t get it to build.

Nathan

Thanks Nathan - it’s building OK now. Just had the one core test failure:

    java.lang.AssertionError: ' --dataOutputDirectory=DIR                  Output data as CSV in the given directory' is longer than 80 chars at org.junit.Assert.fail(Assert.java:91) at liquibase.jvm.integration.commandline.MainTest.printHelp(MainTest.java:288)

I’ve just edited the help screen text for now for this to pass.

There were also a load of integration test failures which I’m sure you are aware of:

    Tests in error:   testUpdate(liquibase.maven.MavenIntegrationTest)   testRollbackTag(liquibase.maven.MavenIntegrationTest)   testRunChangeLog(liquibase.dbtest.derby.DerbyIntegrationTest)   runUpdateOnOldChangelogTableFormat(liquibase.dbtest.derby.DerbyIntegrationTest)   testUpdateTwice(liquibase.dbtest.derby.DerbyIntegrationTest)   testTag(liquibase.dbtest.derby.DerbyIntegrationTest)   testDiff(liquibase.dbtest.derby.DerbyIntegrationTest)   testRerunDiffChangeLog(liquibase.dbtest.derby.DerbyIntegrationTest)   testClearChecksums(liquibase.dbtest.derby.DerbyIntegrationTest)   testUnrunChangeSetsEmptyDatabase(liquibase.dbtest.derby.DerbyIntegrationTest)   testDbDoc(liquibase.dbtest.derby.DerbyIntegrationTest)   testRunChangeLog(liquibase.dbtest.hsqldb.HsqlIntegrationTest)   runUpdateOnOldChangelogTableFormat(liquibase.dbtest.hsqldb.HsqlIntegrationTest)   testUpdateTwice(liquibase.dbtest.hsqldb.HsqlIntegrationTest)   testTag(liquibase.dbtest.hsqldb.HsqlIntegrationTest)   testDiff(liquibase.dbtest.hsqldb.HsqlIntegrationTest)   testRerunDiffChangeLog(liquibase.dbtest.hsqldb.HsqlIntegrationTest)   testClearChecksums(liquibase.dbtest.hsqldb.HsqlIntegrationTest)   testUnrunChangeSetsEmptyDatabase(liquibase.dbtest.hsqldb.HsqlIntegrationTest)   testDbDoc(liquibase.dbtest.hsqldb.HsqlIntegrationTest)

Checked in a fix for this error.

Best,
Laird

Originally posted by: Laird
Checked in a fix for this error.

Best,
Laird

And, BTW, should mention that CORE/liquibase-core builds fine…?  No test failures of any kind…

L