> mvn clean > still fails with the message: I can reproduce this and I can see why that happens (it requires a plugin that is built as a part of install). This works though, as it installs a plugin before cleaning the failing module:
mvn clean install > mvn clean install -Passembly,generic Just committed a fix. Should be working now. Also noticed a nasty thing with our CI, which predates the current refactoring. E.g. here is a Derby build from Nov 3: https://builds.apache.org/job/Cayenne-trunk/956/cayenneTestConnection=derby,jdk=JDK%201.6%20%28latest%29,label=Ubuntu/consoleFull INFO: Invalid connection key 'derby', trying default: internal_embedded_datasource Nov 3, 2013 5:48:28 PM org.apache.cayenne.unit.di.server.ServerCaseDataSourceInfoProvider get INFO: loaded connection info: [org.apache.cayenne.conn.DataSourceInfo: user name: sa password: ********** driver: org.hsqldb.jdbcDriver db adapter class: org.apache.cayenne.dba.hsqldb.HSQLDBAdapter url: jdbc:hsqldb:mem:aname As you see, Derby (and H2) profiles were all running against HSQLDB, so were were not testing those DBs. I committed a fix (r1542759) to use hardcoded connection info for these in-memory databases, when it is missing in connection info. But there’s plenty of tests that fail. Something to work on next. Andrus On Nov 17, 2013, at 4:12 PM, Adrian A. <a.adrian.t...@googlemail.com> wrote: >>> Using: >>> mvn clean install -Dmaven.test.skip=true >> >> Just "mvn clean install” should do. Tests should pass. > Thanks. > "mvn install" seems to work now with the latest trunk. > > However: > mvn clean > still fails with the message: > ---------------- > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 1.164s > [INFO] Finished at: Sun Nov 17 13:56:01 CET 2013 > [INFO] Final Memory: 11M/302M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Plugin org.apache.cayenne.plugins:maven-cayenne-plugin:3.2M2-SNAPSHOT > or one of its dependencies could not be r > solved: Could not find artifact > org.apache.cayenne.plugins:maven-cayenne-plugin:jar:3.2M2-SNAPSHOT -> > [Help 1] > [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/PluginResolutionException > ---------------- > > > Adrian. > > P.S. How to build the binary distribution? e.g. the generic one? > Trying: > mvn clean install -Passembly,generic > I'm getting: > ------------------------------------- > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 47.336s > [INFO] Finished at: Sun Nov 17 14:03:57 CET 2013 > [INFO] Final Memory: 47M/565M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.5:test (default-test) > on project cayenne > -server: There are test failures. > [ERROR] > [ERROR] Please refer to > C:\work\apache_org\cayenne_trunk\cayenne-server\target\surefire-reports > for the individual test > results. > [ERROR] -> [Help 1] > [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/MojoFailureException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :cayenne-server > ------------------------------------- >