Return-Path: Delivered-To: apmail-portals-jetspeed-dev-archive@www.apache.org Received: (qmail 28102 invoked from network); 18 Dec 2009 04:51:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Dec 2009 04:51:48 -0000 Received: (qmail 71171 invoked by uid 500); 18 Dec 2009 04:51:48 -0000 Delivered-To: apmail-portals-jetspeed-dev-archive@portals.apache.org Received: (qmail 71064 invoked by uid 500); 18 Dec 2009 04:51:48 -0000 Mailing-List: contact jetspeed-dev-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Developers List" Delivered-To: mailing list jetspeed-dev@portals.apache.org Received: (qmail 71054 invoked by uid 99); 18 Dec 2009 04:51:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Dec 2009 04:51:47 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [98.136.44.62] (HELO smtp107.prem.mail.sp1.yahoo.com) (98.136.44.62) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 18 Dec 2009 04:51:39 +0000 Received: (qmail 75157 invoked from network); 18 Dec 2009 04:51:17 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Message-Id:From:To:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:X-Mailer; b=0BcABWAk8BReFqoIb6cAIbk7JD6IL4dGBvYPsJz8qEHiona3zKzF/PXpOpfCD81AFlOfGApQWCZMchzK+4fswV8uljgPSzQwNcDi1MzOpwEzXPUql8n6NM9soCUoUpd3NY+F8Ap2eABPcBLoF/0I9HpIm0Y6OIcTXK9VzXNOfa8= ; Received: from 076-076-148-215.pdx.net (david_jencks@76.76.148.215 with plain) by smtp107.prem.mail.sp1.yahoo.com with SMTP; 17 Dec 2009 20:51:16 -0800 PST X-Yahoo-SMTP: .9oIUzyswBANsYgUm_5uPui0skTnzGJXJQ-- X-YMail-OSG: DO94EW0VM1l0n_ZztPLJWJRN7w6AHHUiFsM0lbiT5KfbNlTiMpQrhVYWTMld0p1Dz1Bxs29dEW9EzEJR2W.OpRf.gqW.gS1Is5Hz_obVS.sgoisD8S5YPnurfxYjpzBmuFIJmNNm9bXr7rzkVlPohKAokKj1MeuE9ryMQ2N3mm.jIMfhTZsNOp0IyyZPHFRofN6Lu55cerKidAzaNin3QwyyEO74s9DP2aFpj8qAEC11HwVYxMQLgAN41wem.4U88NpsIr9RN_KjFGJOB4UhHKNXivSh.6vwyKhObnNujcZyv3w5KcEE3iP_sAUKwhAqMjqgdACeQnG90XJXmL6tl.bUe5qiD3k8cvsJIDIkLlhEXGvA0UCf9Ngyb2PC0Z.qDY3KVxsWzvklQOKeQUP.xNgrEefF7f9CBC8- X-Yahoo-Newman-Property: ymail-3 Message-Id: <6F16C41A-576C-4087-9DCA-490F47AC27E3@yahoo.com> From: David Jencks To: "Jetspeed Developers List" In-Reply-To: <4B2935C4.7010301@wispertel.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: Building js2 with tests? Date: Thu, 17 Dec 2009 20:51:15 -0800 References: <4B2935C4.7010301@wispertel.net> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org On Dec 16, 2009, at 11:32 AM, Randy Watler wrote: > David, > > Here is the sequence I use: > > > mvn clean install > > mvn jetspeed:mvn -Dtarget=testdb I'm mystified. When I try this step the build fails trying to find a non-existent plugin: (running with -X, tail end of build): [INFO] Searching repository for plugin with prefix: 'jetspeed'. [DEBUG] Loading plugin prefixes from group: org.apache.maven.plugins [DEBUG] Loading plugin prefixes from group: org.codehaus.mojo [DEBUG] maven-jetspeed-plugin: using locally installed snapshot [DEBUG] Artifact not found - using stub model: Unable to determine the latest version org.apache.maven.plugins:maven-jetspeed-plugin:pom:LATEST [DEBUG] Using defaults for missing POM org.apache.maven.plugins:maven- jetspeed-plugin:pom:LATEST [DEBUG] maven-jetspeed-plugin: using locally installed snapshot [DEBUG] Artifact not found - using stub model: Unable to determine the release version org.apache.maven.plugins:maven-jetspeed-plugin:pom:RELEASE [DEBUG] Using defaults for missing POM org.apache.maven.plugins:maven- jetspeed-plugin:pom:RELEASE [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] The plugin 'org.apache.maven.plugins:maven-jetspeed-plugin' does not exist or no valid version could be found [INFO] ------------------------------------------------------------------------ [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.maven.plugins:maven-jetspeed-plugin' does not exist or no valid version could be found at org .apache .maven .lifecycle .DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java: 1569) at org .apache .maven .lifecycle .DefaultLifecycleExecutor .getMojoDescriptor(DefaultLifecycleExecutor.java:1851) at org .apache .maven .lifecycle .DefaultLifecycleExecutor .segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:462) at org .apache .maven .lifecycle .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:175) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun .reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun .reflect .DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java: 430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: The plugin 'org.apache.maven.plugins:maven-jetspeed-plugin' does not exist or no valid version could be found at org .apache .maven .plugin .version .DefaultPluginVersionManager .resolvePluginVersion(DefaultPluginVersionManager.java:229) at org .apache .maven .plugin .version .DefaultPluginVersionManager .resolvePluginVersion(DefaultPluginVersionManager.java:91) at org .apache .maven .plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:179) at org .apache .maven .plugin .DefaultPluginManager.loadPluginDescriptor(DefaultPluginManager.java: 1642) at org .apache .maven .lifecycle .DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java: 1540) ... 15 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4 seconds [INFO] Finished at: Thu Dec 17 20:46:38 PST 2009 [INFO] Final Memory: 17M/527M [INFO] ------------------------------------------------------------------------ I normally use maven 2.2.1 but tried also with 2.0.9. Has anyone else seen anything like this? Any clues? thanks david jencks > > mvn -P test test > > There is also a target to combine the last two steps in the jetspeed > plugin, but I don't use that, (due to general pluginphobia). > > HTH, > > Randy > > David Jencks wrote: >> I'm trying to figure out just how much the pluto DI changes I'm >> working on will break js2... so far >> >> mvn clean install >> >> seems to work, much to my surprise, but if I enable tests I get >> stuck on some db tests. I looked around briefly but didn't find >> any instructions. >> >> What's the secret? >> >> So far I've added this to the root pom properties: >> >> >> < >> org >> .apache >> .jetspeed >> .test.database.driver>org.apache.derby.jdbc.EmbeddedDriver> org.apache.jetspeed.test.database.driver> >> jdbc:derby:${pom.basedir}/ >> target/testdb;create=true >> > org.apache.jetspeed.test.database.user> >> > org.apache.jetspeed.test.database.password> >> >> >> and get errors like this: >> >> ... >> Caused by: ERROR 42X05: Table/View 'CAPABILITY' does not exist. >> at >> org.apache.derby.iapi.error.StandardException.newException(Unknown >> Source) >> at >> org >> .apache >> .derby.impl.sql.compile.FromBaseTable.bindTableDescriptor(Unknown >> Source) >> at >> org >> .apache >> .derby.impl.sql.compile.FromBaseTable.bindNonVTITables(Unknown >> Source) >> at >> org.apache.derby.impl.sql.compile.FromList.bindTables(Unknown Source) >> at >> org >> .apache.derby.impl.sql.compile.SelectNode.bindNonVTITables(Unknown >> Source) >> at >> org >> .apache.derby.impl.sql.compile.DMLStatementNode.bindTables(Unknown >> Source) >> at >> org.apache.derby.impl.sql.compile.DMLStatementNode.bind(Unknown >> Source) >> at >> org.apache.derby.impl.sql.compile.CursorNode.bindStatement(Unknown >> Source) >> at >> org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source) >> at >> org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source) >> at >> org >> .apache >> .derby >> .impl >> .sql >> .conn >> .GenericLanguageConnectionContext.prepareInternalStatement(Unknown >> Source) >> ... 98 more >> Tests run: 8, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: >> 8.81 sec <<< FAILURE! >> >> Results : >> >> Tests in error: >> firstTestSetup(org.apache.jetspeed.capabilities.TestCapability) >> testCapability(org.apache.jetspeed.capabilities.TestCapability) >> testNewMimeType(org.apache.jetspeed.capabilities.TestCapability) >> testNewCapability(org.apache.jetspeed.capabilities.TestCapability) >> testNewMediaType(org.apache.jetspeed.capabilities.TestCapability) >> testNewClient(org.apache.jetspeed.capabilities.TestCapability) >> >> testCapabilityRepeat(org.apache.jetspeed.capabilities.TestCapability) >> lastTestTeardown(org.apache.jetspeed.capabilities.TestCapability) >> >> Tests run: 8, Failures: 0, Errors: 8, Skipped: 0 >> >> thanks >> david jencks >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org >> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org > For additional commands, e-mail: jetspeed-dev-help@portals.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org For additional commands, e-mail: jetspeed-dev-help@portals.apache.org