Thanks, Philip, your settings.xml file was really helpful, I got finally the
minimum portal application up!!!
Might it be that the <!-- Drivers path configured database profile --> that
was commented in tutorial recources settings.xml just needed to be
uncommented? In any case, I attach my settings.xml that helped me further to
this e-mail, maybe it's useful for somebody in the future:-)
Evi
-----Original Message-----
From: Philip Mark Donaghy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 06, 2007 4:32 PM
To: Jetspeed Users List
Subject: Re: BUILD ERROR: Error getting POM for 'mockrunner:mockrunner' from
the repository
I'm running maven 2 like this.
mvn -o -X -e -P tomcat
I get a warning about the pom but the build does not fail. I can't reproduce
your error.
Note that on http://wiki.apache.org/portals/Jetspeed2/Maven2BuildSupport
it says "The -o offline option can be specified with the commands documented
here to force Maven2 to use only the local repository. This can be
invaluable in the event the main Maven2 repositories are down and the build
insists upon validating a missing or troublesome POM."
If I omit the -o the build is still successful.
I can only assume that you are running without tests. There seems to be some
tests failing.
I uploaded a my repository and my m2 settings.xml to
http://people.apache.org/~pmd/
I switch back and forth from mysql to derby embedded to test j2 on multiple
platforms. No problems here.
Philip
--
Philip Donaghy
donaghy.blogspot.com del.icio.us/donaghy/philip
Skype: philipmarkdonaghy
Office: +33 5 56 60 88 02
Mobile: +33 6 20 83 22 62
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright 2006 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
$Id:$
-->
<!--
The Maven 2 profile is one place to set user or project specific settings.
This settings file is useful for building the Apache Portals Jetspeed from the
subversion codebase. It is also useful for choosing a custom database to use
with Jetspeed. The default database is Apache DB Derby database.
You will need to provide your own value anywhere you see the text SET*.
This file is placed in ~/.m2 by convention. User defined profiles must be
defined or extended with these settings to perform a complete J2 build and
deployment.
-->
<settings xmlns="http://maven.apache.org/POM/4.0.0">
<localRepository>c:/JetspeedTraining/maven/repository/</localRepository>
<!-- Jetspeed-2 Profiles
-->
<profiles>
<!-- Jetspeed Settings Profile
-->
<profile>
<id>settings</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<!-- Jetspeed-2 deployment properties
-->
<org.apache.jetspeed.server.home>c:/JetspeedTraining/tomcat-express</org.apache.jetspeed.server.home>
<org.apache.jetspeed.catalina.version.major>5.5</org.apache.jetspeed.catalina.version.major>
<org.apache.jetspeed.services.autodeployment.server>localhost</org.apache.jetspeed.services.autodeployment.server>
<org.apache.jetspeed.services.autodeployment.port>8080</org.apache.jetspeed.services.autodeployment.port>
<org.apache.jetspeed.services.autodeployment.user>j2deployer</org.apache.jetspeed.services.autodeployment.user>
<org.apache.jetspeed.services.autodeployment.password>j2deployer</org.apache.jetspeed.services.autodeployment.password>
<!--
The appropriate database profile may already be defined here. Verify the following settings before asking
questions on the mailing lists. Each database platform defines two schema. One for testing and one for
production. You will need to copy your driver jar(s) to the ${org.apache.jetspeed.server.home}/shared/lib
directory and define the name, url, driver, username, and password for testing and production.
-->
<!-- Jetspeed Derby Embedded Profile
-->
<!-- Derby embedded database properties
-->
<org.apache.jetspeed.test.jdbc.drivers.path>${org.apache.jetspeed.server.home}/shared/lib/derby-10.1.1.0.jar</org.apache.jetspeed.test.jdbc.drivers.path>
<org.apache.jetspeed.test.database.default.name>derby</org.apache.jetspeed.test.database.default.name>
<org.apache.jetspeed.test.database.url>jdbc:derby:/JetspeedTraining/database/jetexpressT;create=true</org.apache.jetspeed.test.database.url>
<org.apache.jetspeed.test.database.driver>org.apache.derby.jdbc.EmbeddedDriver</org.apache.jetspeed.test.database.driver>
<org.apache.jetspeed.test.database.user></org.apache.jetspeed.test.database.user>
<org.apache.jetspeed.test.database.password></org.apache.jetspeed.test.database.password>
<org.apache.jetspeed.production.jdbc.drivers.path>${org.apache.jetspeed.server.home}/shared/lib/derby-10.1.1.0.jar</org.apache.jetspeed.production.jdbc.drivers.path>
<org.apache.jetspeed.production.database.default.name>derby</org.apache.jetspeed.production.database.default.name>
<org.apache.jetspeed.production.database.url>jdbc:derby:/JetspeedTraining/database/jetexpress;create=true</org.apache.jetspeed.production.database.url>
<org.apache.jetspeed.production.database.driver>org.apache.derby.jdbc.EmbeddedDriver</org.apache.jetspeed.production.database.driver>
<org.apache.jetspeed.production.database.user></org.apache.jetspeed.production.database.user>
<org.apache.jetspeed.production.database.password></org.apache.jetspeed.production.database.password>
</properties>
</profile>
</profiles>
<activeProfiles>
<!-- Apache DB Derby Embedded is the default Jetspeed database
-->
<activeProfile>jetspeed-derby-embedded</activeProfile>
<activeProfile>jetspeed-db-embedded-derby</activeProfile>
<!-- Apache DB Derby Network database
-->
<!--
Uncomment this if you are using the Apache DB Derby Network Server
database with the ClientDriver.
<activeProfile>jetspeed-derby-network</activeProfile>
-->
<!-- MSSQL database
-->
<!--
Uncomment this if you are using the MSSQL database
<activeProfile>jetspeed-mssql</activeProfile>
-->
<!-- MySQL database
-->
<!--
Uncomment this if you are using the MySQL database
<activeProfile>jetspeed-mysql</activeProfile>
-->
<!-- HSQLDB embedded database
-->
<!--
Uncomment if you are using the hsqldb.org database
<activeProfile>jetspeed-hsql-embedded</activeProfile>
<activeProfile>jetspeed-db-embedded-hsql</activeProfile>
-->
<!-- Drivers path configured database profile
-->
<activeProfile>jetspeed-db-drivers-path</activeProfile>
</activeProfiles>
</settings>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]