Hi jetspeed-user
I have problem building jetspeed 1.5
When I do $maven war or $maven clean I get the following "error"
Tag library requested that is not present: 'maven' in plugin: 'null'
When I do clean the build succeed when I do war it fails.
I want to use MYSQL instead of Hypersonic. I believe that I have
configured all the files necessary,
project.properties
project = jetspeed
# -------------------------------------------------------------------
#
# T A R G E T D A T A B A S E
#
# -------------------------------------------------------------------
# db2
# hypersonic
# mysql
# oracle
# postgresql
# mssql
# sybase
# -------------------------------------------------------------------
database = mysql
#targetPackage = org.apache.jetspeed.om.torque
torque.retrievableInterface = org.apache.fulcrum.intake.Retrievable
torque.database.url = jdbc:mysql://localhost:3306/jetspeed15
torque.database.driver = org.gjt.mysql.Driver
torque.database.user = jetspeed15
torque.database.password = detault
and
webapp/WEB-INF/conf/Torque.properties
torque.database.default=default
###torque.database.default.adapter=hypersonic
torque.database.default.adapter=mysql
### torque.database.default.adapter=oracle
### torque.database.default.adapter=mssql
##
## Using torque's old pool
##
torque.dsfactory.default.connection.driver = org.hsqldb.jdbcDriver
torque.dsfactory.default.connection.url =
jdbc:hsqldb:${webappRoot}/WEB-INF/db/jetspeed
torque.dsfactory.default.connection.user = sa
torque.dsfactory.default.connection.password =
torque.dsfactory.default.factory=org.apache.torque.dsfactory.TorqueDataSourceFactory
# The number of database connections to cache per ConnectionPool
instance (specified per database)
torque.dsfactory.default.pool.defaultMaxConnections=10
torque.dsfactory.default.pool.maxExpiryTime=3600
torque.dsfactory.default.pool.connectionWaitTimeout=10
### MySQL
torque.dsfactory.default.connection.driver = org.gjt.mm.mysql.Driver
torque.dsfactory.default.connection.url =
jdbc:mysql://localhost:3306/jetspeed15
torque.dsfactory.default.connection.user = jetsqeep15
torque.dsfactory.default.connection.password = default
### Oracle
### torque.dsfactory.default.connection.driver = oracle.jdbc.driver
This is the output from the build.
[junit] INFO - loading component: name=fulcrum
class=org.apache.fulcrum.Fulcrum
config=webapp/WEB-INF/conf/Fulcrum.properties
[junit] INFO - Finished initializing all services!
[junit] Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 3.571
sec
[junit] [ERROR] TEST
org.apache.jetspeed.services.security.TestUserManagement FAILED
[junit] Running org.apache.jetspeed.util.rewriter.TestFrameRewriter
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.28 sec
[junit] Running org.apache.jetspeed.util.TestOverwriteProperties
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.002
sec
[junit] Running org.apache.jetspeed.util.TestValidation
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 1.009
sec
[junit] Running
org.apache.jetspeed.util.TestValidationParameterParser
[junit] INFO - loading component: name=torque
class=org.apache.torque.Torque
config=webapp/WEB-INF/conf/Torque.properties
[junit] INFO - loading component: name=fulcrum
class=org.apache.fulcrum.Fulcrum
config=webapp/WEB-INF/conf/Fulcrum.properties
[junit] INFO - Finished initializing all services!
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 6.281
sec
[junit] Running
org.apache.jetspeed.util.template.TestJetspeedLinkFactory
[junit] INFO - loading component: name=torque
class=org.apache.torque.Torque
config=webapp/WEB-INF/conf/Torque.properties
[junit] INFO - loading component: name=fulcrum
class=org.apache.fulcrum.Fulcrum
config=webapp/WEB-INF/conf/Fulcrum.properties
[junit] INFO - Finished initializing all services!
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.055
sec
BUILD FAILED
File......
file:/home/max/.maven/plugins/maven-test-plugin-1.5/plugin.jelly
Element... fail
Line...... 148
Column.... 54
There were test failures.
Total time: 8 minutes 37 seconds
Finished at: Sat Jun 12 11:51:23 CEST 2004
I tried to look at the documentation for jelly, it didn't help.
Can someone give me some hints.
Jestspeed builds if I disable testing
I appreciate any help I can get.
Sincerely
Max Sj�gren