Hi

I am getting build failure.
Please guide.

Much Thanks.

Regards
Animesh



---------- Forwarded message ----------
From: <[email protected]>
Date: Tue, May 24, 2011 at 9:32 PM
Subject: Facing issues while building Mifos
To: [email protected]


You are not allowed to post to this mailing list, and your message has
been automatically rejected.  If you think that your messages are
being rejected in error, contact the mailing list owner at
[email protected].



---------- Forwarded message ----------
From: animesh Shrivastav <[email protected]>
To: [email protected]
Date: Tue, 24 May 2011 17:02:13 +0100
Subject: Facing issues while building Mifos
Hi,

This is the build failure i am getting, please suggest what i am missing.

C:\Users\smita\head>mvn install -DskipTests;
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Mifos - Parent
[INFO] Mifos - Common
[INFO] Mifos - DB Management
[INFO] Mifos - Domain Data Transfer Objects
[INFO] Mifos - Test Framework
[INFO] Mifos - Service Interfaces
[INFO] Mifos - User Interface
[INFO] Mifos - Accounting Integration
[INFO] Mifos - Questionnaire
[INFO] Mifos - Cashflow
[INFO] Mifos - Abstract Domain
[INFO] Mifos - Organization
[INFO] Mifos - Application Domain
[INFO] Mifos - Reporting Libs (BIRT JARs)
[INFO] Mifos - Reporting
[INFO] Mifos - Application
[INFO] Mifos - WAR
[INFO] Mifos - Acceptance Tests
[INFO] Mifos - Base Server (Jetty)
[INFO] Mifos - Workspace Server
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Mifos - Parent 1.10-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @
mifos-parent -
--
[INFO] Installing C:\Users\smita\head\pom.xml to
C:\Users\smita\.m2\repository\o
rg\mifos\mifos-parent\1.10-SNAPSHOT\mifos-parent-1.10-SNAPSHOT.pom
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Mifos - Common 1.10-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
mifos-comm
on ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
C:\Users\smita\head\common\do-not-inh
erit-from-parent
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
mifos-common
---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources)
@ mi
fos-common ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
mifos
-common ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.4.3:test (default-test) @ mifos-common
---
Downloading:
http://maven.mifos.org/nexus/content/groups/public/org/apache/maven
/surefire/surefire-junit4/2.4.3/surefire-junit4-2.4.3.pom
Downloaded:
http://maven.mifos.org/nexus/content/groups/public/org/apache/maven/
surefire/surefire-junit4/2.4.3/surefire-junit4-2.4.3.pom (2 KB at 1.5
KB/sec)
Downloading:
http://maven.mifos.org/nexus/content/groups/public/org/apache/maven
/surefire/surefire-providers/2.4.3/surefire-providers-2.4.3.pom
Downloaded:
http://maven.mifos.org/nexus/content/groups/public/org/apache/maven/
surefire/surefire-providers/2.4.3/surefire-providers-2.4.3.pom (2 KB at 2.3
KB/s
ec)
Downloading:
http://maven.mifos.org/nexus/content/groups/public/junit/junit/4.0/
junit-4.0.pom
Downloaded:
http://maven.mifos.org/nexus/content/groups/public/junit/junit/4.0/j
unit-4.0.pom (210 B at 0.2 KB/sec)
Downloading:
http://maven.mifos.org/nexus/content/groups/public/junit/junit/4.0/
junit-4.0.jar
Downloading:
http://maven.mifos.org/nexus/content/groups/public/org/apache/maven
/surefire/surefire-junit4/2.4.3/surefire-junit4-2.4.3.jar
Downloaded:
http://maven.mifos.org/nexus/content/groups/public/org/apache/maven/
surefire/surefire-junit4/2.4.3/surefire-junit4-2.4.3.jar (12 KB at 10.4
KB/sec)
Downloaded:
http://maven.mifos.org/nexus/content/groups/public/junit/junit/4.0/j
unit-4.0.jar (104 KB at 24.2 KB/sec)
[INFO] Surefire report directory:
C:\Users\smita\head\common\target\surefire-rep
orts\unit

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.mifos.platform.util.CollectionUtilsTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.224 sec
Running org.mifos.framework.util.ConfigurationLocatorTest
log4j:WARN No appenders could be found for logger
(org.mifos.framework.util.Conf
igurationLocator).
log4j:WARN Please initialize the log4j system properly.
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.119 sec
Running org.mifos.framework.util.DateTimeServiceTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.594 sec
Running org.mifos.core.MifosResourceUtilTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 sec
Running org.mifos.framework.util.UnicodeUtilTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec

Results :

Tests run: 20, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ mifos-common ---
[INFO]
[INFO] >>> findbugs-maven-plugin:2.3.2-SNAPSHOT:check (default) @
mifos-common >
>>
[INFO]
[INFO] --- findbugs-maven-plugin:2.3.2-SNAPSHOT:findbugs (findbugs) @
mifos-comm
on ---
[INFO] ****** FindBugsMojo execute *******
[INFO] Inside canGenerateReport..... false
[INFO] Inside canGenerateReport..... skip false,
classFilesDirectory.exists() tr
ue
[INFO] canGenerate is true
[INFO] ****** FindBugsMojo executeReport *******
[INFO] Temp File is C:\Users\smita\head\common\target\findbugsTemp.xml
[INFO] Fork Value is true
     [java] The following classes needed for analysis were missing:
     [java]   org.hibernate.validator.resourceloading.ResourceBundleLocator
     [java]
org.hibernate.validator.messageinterpolation.ResourceBundleMessage
Interpolator
     [java] Missing classes: 1
[INFO]
[INFO] <<< findbugs-maven-plugin:2.3.2-SNAPSHOT:check (default) @
mifos-common <
<<
[INFO]
[INFO] --- findbugs-maven-plugin:2.3.2-SNAPSHOT:check (default) @
mifos-common -
--
[INFO] BugInstance size is 0
[INFO] Error size is 0
[INFO]
[INFO] >>> maven-pmd-plugin:2.4:check (default) @ mifos-common >>>
[INFO]
[INFO] --- maven-pmd-plugin:2.4:pmd (pmd) @ mifos-common ---
[INFO]
[INFO] <<< maven-pmd-plugin:2.4:check (default) @ mifos-common <<<
[INFO]
[INFO] --- maven-pmd-plugin:2.4:check (default) @ mifos-common ---
[INFO]
[INFO]
[INFO] >>> maven-pmd-plugin:2.4:cpd-check (default) @ mifos-common >>>
[INFO]
[INFO] --- maven-pmd-plugin:2.4:cpd (cpd) @ mifos-common ---
[INFO]
[INFO] <<< maven-pmd-plugin:2.4:cpd-check (default) @ mifos-common <<<
[INFO]
[INFO] --- maven-pmd-plugin:2.4:cpd-check (default) @ mifos-common ---
[INFO]
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @
mifos-common -
--
[INFO] Installing
C:\Users\smita\head\common\target\mifos-common-1.10-SNAPSHOT.j
ar to
C:\Users\smita\.m2\repository\org\mifos\mifos-common\1.10-SNAPSHOT\mifos-c
ommon-1.10-SNAPSHOT.jar
[INFO] Installing C:\Users\smita\head\common\pom.xml to
C:\Users\smita\.m2\repos
itory\org\mifos\mifos-common\1.10-SNAPSHOT\mifos-common-1.10-SNAPSHOT.pom
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Mifos - DB Management 1.10-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- properties-maven-plugin:1.0-alpha-1:read-project-properties
(default)
 @ mifos-db ---
[WARNING] Ignoring missing properties file:
C:\Users\smita\.mifos\local.properti
es
[WARNING] Ignoring missing properties file:
C:\Users\smita\head\db\${env.MIFOS_C
ONF}\local.properties
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
mifos-db -
--
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 11 resources
[INFO]
[INFO] --- maven-resources-plugin:2.5:copy-resources (copy-properties) @
mifos-d
b ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-resources-plugin:2.5:copy-resources (copy-changesets) @
mifos-d
b ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO]
[INFO] --- maven-resources-plugin:2.5:copy-resources (copy-bin) @ mifos-db
---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 14 resources
[INFO]
[INFO] --- maven-resources-plugin:2.5:copy-resources (copy-sql) @ mifos-db
---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-resources-plugin:2.5:copy-resources (copy-dependencies) @
mifos
-db ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ mifos-db
---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources)
@ mi
fos-db ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
mifos
-db ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.4.3:test (default-test) @ mifos-db ---
[INFO] Surefire report directory:
C:\Users\smita\head\db\target\surefire-reports
\unit

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.mifos.db.upgrade.DatabaseUpgradeSupportTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.887 sec

Results :

Tests run: 5, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ mifos-db ---
[INFO] Building jar:
C:\Users\smita\head\db\target\mifos-db-1.10-SNAPSHOT.jar
[INFO]
[INFO] --- sql-maven-plugin:1.2:execute (drop_db) @ mifos-db ---
[INFO] Executing commands
[ERROR] Failed to execute:  DROP DATABASE IF EXISTS test
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Mifos - Parent .................................... SUCCESS [0.425s]
[INFO] Mifos - Common .................................... SUCCESS [27.817s]
[INFO] Mifos - DB Management ............................. FAILURE [3.375s]
[INFO] Mifos - Domain Data Transfer Objects .............. SKIPPED
[INFO] Mifos - Test Framework ............................ SKIPPED
[INFO] Mifos - Service Interfaces ........................ SKIPPED
[INFO] Mifos - User Interface ............................ SKIPPED
[INFO] Mifos - Accounting Integration .................... SKIPPED
[INFO] Mifos - Questionnaire ............................. SKIPPED
[INFO] Mifos - Cashflow .................................. SKIPPED
[INFO] Mifos - Abstract Domain ........................... SKIPPED
[INFO] Mifos - Organization .............................. SKIPPED
[INFO] Mifos - Application Domain ........................ SKIPPED
[INFO] Mifos - Reporting Libs (BIRT JARs) ................ SKIPPED
[INFO] Mifos - Reporting ................................. SKIPPED
[INFO] Mifos - Application ............................... SKIPPED
[INFO] Mifos - WAR ....................................... SKIPPED
[INFO] Mifos - Acceptance Tests .......................... SKIPPED
[INFO] Mifos - Base Server (Jetty) ....................... SKIPPED
[INFO] Mifos - Workspace Server .......................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 32.281s
[INFO] Finished at: Tue May 24 16:30:54 BST 2011
[INFO] Final Memory: 16M/38M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.codehaus.mojo:sql-maven-plugin:1.2:execute (d
rop_db) on project mifos-db: Access denied for user 'mifos'@'localhost' to
datab
ase 'test' -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
swit
ch.
[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
rea
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command

[ERROR]   mvn <goals> -rf :mifos-db




*I hope maven is installed correctly.*



C:\Users\smita\head>mvn --version
Apache Maven 3.0.3 (r1075438; 2011-02-28 17:31:09+0000)
Maven home: C:\Trial\apache-maven-3.0.3\bin\..
Java version: 1.6.0_18, vendor: Sun Microsystems Inc.
Java home: C:\Program Files\Java\jdk1.6.0_18\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
C:\Users\smita\head>


Thanks.
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Mifos-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-users

Reply via email to