How To resulve this problem
i have update my
java version to java6u23 but it will still create problem so what should i do
i dont know much more about
maven
[INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.icijapan.onit:common:jar:1.0.M3-SNAPSHOT [WARNING] 'version' contains an expression but should be a constant. @ com.icijapan.onit:common:${parent.version}, C:\WorkSpace\ONiT\common\pom.xml [WARNING] The expression ${parent.version} is deprecated. Please use ${project.parent.version} instead. @ com.icijapan.onit:common:${parent.version}, C:\WorkSpace\ONiT\common\pom.xml [WARNING] [WARNING] Some problems were encountered while building the effective model for com.icijapan.onit:mediaPlayer:jar:1.0.M3-SNAPSHOT [WARNING] 'version' contains an expression but should be a constant. @ com.icijapan.onit:mediaPlayer:${parent.version}, C:\WorkSpace\ONiT\mediaPlayer\pom.xml [WARNING] The expression ${parent.version} is deprecated. Please use ${project.parent.version} instead. @ com.icijapan.onit:mediaPlayer:${parent.version}, C:\WorkSpace\ONiT\mediaPlayer\pom.xml [WARNING] [WARNING] Some problems were encountered while building the effective model for com.icijapan.onit:client:jar:1.0.M3-SNAPSHOT [WARNING] 'version' contains an expression but should be a constant. @ com.icijapan.onit:client:${parent.version}, C:\WorkSpace\ONiT\client\pom.xml [WARNING] The expression ${parent.version} is deprecated. Please use ${project.parent.version} instead. @ com.icijapan.onit:client:${parent.version}, C:\WorkSpace\ONiT\client\pom.xml [WARNING] The expression ${parent.version} is deprecated. Please use ${project.parent.version} instead. @ com.icijapan.onit:client:1.0.M3-SNAPSHOT, C:\WorkSpace\ONiT\client\pom.xml [WARNING] 'reporting.plugins.plugin.version' is missing for org.apache.maven.plugins:maven-checkstyle-plugin @ com.icijapan.onit:client:1.0.M3-SNAPSHOT, C:\WorkSpace\ONiT\client\pom.xml [WARNING] [WARNING] Some problems were encountered while building the effective model for com.icijapan.onit:
servlet:war:1.0.M3-SNAPSHOT [WARNING] 'version' contains an expression but should be a constant. @ com.icijapan.onit:servlet:${parent.version}, C:\WorkSpace\ONiT\servlet\pom.xml [WARNING] The expression ${parent.version} is deprecated. Please use ${project.parent.version} instead. @ com.icijapan.onit:servlet:${parent.version}, C:\WorkSpace\ONiT\servlet\pom.xml [WARNING] The expression ${parent.version} is deprecated. Please use ${project.parent.version} instead. @ com.icijapan.onit:servlet:1.0.M3-SNAPSHOT, C:\WorkSpace\ONiT\servlet\pom.xml [WARNING] The expression ${parent.version} is deprecated. Please use ${project.parent.version} instead. @ com.icijapan.onit:servlet:1.0.M3-SNAPSHOT, C:\WorkSpace\ONiT\servlet\pom.xml [WARNING] The expression ${parent.version} is deprecated. Please use ${project.parent.version} instead. @ com.icijapan.onit:servlet:1.0.M3-SNAPSHOT, C:\WorkSpace\ONiT\servlet\pom.xml [WARNING] The expression ${parent.version} is deprecated. Please use ${project.parent.version} instead. @ com.icijapan.onit:servlet:1.0.M3-SNAPSHOT, C:\WorkSpace\ONiT\servlet\pom.xml [WARNING] The expression ${parent.version} is deprecated. Please use ${project.parent.version} instead. @ com.icijapan.onit:servlet:1.0.M3-SNAPSHOT, C:\WorkSpace\ONiT\servlet\pom.xml [WARNING] 'build.plugins.plugin.version' is missing for org.codehaus.mojo:tomcat-maven-plugin @ com.icijapan.onit:servlet:1.0.M3-SNAPSHOT, C:\WorkSpace\ONiT\servlet\pom.xml [WARNING] 'build.plugins.plugin.version' is missing for org.codehaus.mojo.webstart:webstart-maven-plugin @ com.icijapan.onit:servlet:1.0.M3-SNAPSHOT, C:\WorkSpace\ONiT\servlet\pom.xml [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] ONiT [INFO] ONiT Commons [INFO] ONiT Media Player [INFO] ONiT App Client [INFO] ONiT Servlets [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building ONiT 1.0.M3-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building ONiT Commons 1.0.M3-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-resources-plugin:2.2:resources (default-resources) @ common --- [INFO] Using encoding: 'UTF-8' to copy filtered resources. [INFO] [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ common --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.2:testResources (default-testResources) @ common --- [INFO] Using encoding: 'UTF-8' to copy filtered resources. [INFO] [INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ common --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-surefire-plugin:2.4.3:
test (default-test) @ common --- [INFO] Surefire report directory: C:\WorkSpace\ONiT\common\target\surefire-reports
T E S T S
Running com.icijapan.onit.dao.DaoContextTest getPersistedClassList com.icijapan.onit.entity.Company com.icijapan.onit.entity.EvaluationStandard com.icijapan.onit.entity.Subscriber com.icijapan.onit.entity.CompanyType com.icijapan.onit.entity.ExamPackage com.icijapan.onit.entity.SubscriberRole com.icijapan.onit.entity.ExamPackageItem com.icijapan.onit.entity.ExamAnswer com.icijapan.onit.entity.ExamAnswerItem com.icijapan.onit.entity.SubscriberOrganizationRel com.icijapan.onit.entity.SubscriberSubscriberRoleRel com.icijapan.onit.entity.testmodule.TestPC com.icijapan.onit.entity.Organization com.icijapan.onit.entity.ExamRule com.icijapan.onit.entity.GradeCategory com.icijapan.onit.entity.ExamItem com.icijapan.onit.entity.SubscriberPermission com.icijapan.onit.entity.SearchCondition com.icijapan.onit.entity.testmodule.ReportedException com.icijapan.onit.entity.ExamAnswerItemScore com.icijapan.onit.entity.Department com.icijapan.onit.entity.ItemGenre Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.391 sec Running com.icijapan.entitytests.EntityFormTest Jan 20, 2011 11:26:12 AM com.icijapan.entitytests.EntityFormTest find INFO: Found: file:/C:/WorkSpace/ONiT/common/target/classes/com/icijapan/onit/entity Jan 20, 2011 11:26:12 AM com.icijapan.entitytests.EntityFormTest testEntities INFO: Tested 22 entity classes with 4 tests Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.406 sec
Results :
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building ONiT Media Player 1.0.M3-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] Missing POM for net.mc_cubed:QTCubed:jar:0.0.17-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] ONiT .............................................. SUCCESS [0.063s] [INFO] ONiT Commons ...................................... SUCCESS [6.547s] [INFO] ONiT Media Player ................................. FAILURE [0.250s] [INFO] ONiT App Client ................................... SKIPPED [INFO] ONiT Servlets ..................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.688s [INFO] Finished at: Thu Jan 20 11:26:13 IST 2011 [INFO] Final Memory: 3M/15M [INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project mediaPlayer: Missing:
1) net.java.dev.jna:jna:jar:3.2.4
Try downloading the file manually from the project website.
Then, install it using the command: mvn install:install-file -DgroupId=net.java.dev.jna -DartifactId=jna -Dversion=3.2.4 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=net.java.dev.jna -DartifactId=jna -Dversion=3.2.4 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency: 1) com.icijapan.onit:mediaPlayer:pom:pom:1.0.M3-SNAPSHOT 2) net.java.dev.jna:jna:jar:3.2.4
1 required artifact is missing.
for artifact: com.icijapan.onit:mediaPlayer:pom:1.0.M3-SNAPSHOT
from the specified remote repositories: SpringSource Releases (
http://repository.springsource.com/maven/bundles/release, releases=true, snapshots=true), SpringSource Milestone (
http://s3.amazonaws.com/maven.springframework.org/milestone, releases=true, snapshots=true), SpringSource Snapshot (
http://s3.amazonaws.com/maven.springframework.org/snapshot, releases=true, snapshots=true), Java.net Maven 2 (
http://download.java.net/maven/2, releases=true, snapshots=true),
JBoss Maven2 Repo (
http://repository.jboss.org/maven2/, releases=true, snapshots=true), Opensprout Spring Release (
http://www.opensprout.org/nexus/content/repositories/spring-bundles-release/, releases=true, snapshots=true), Opensprout Public (
http://www.opensprout.org/nexus/content/repositories/public/, releases=true, snapshots=true), SpringFramework Milestones (
http://maven.springframework.org/milestone, releases=true, snapshots=true), prime-repo (
http://repository.prime.com.tr, releases=true, snapshots=true), Local Repository (file:C:\WorkSpace\ONiT\mediaPlayer/../lib, releases=true, snapshots=true), central (
http://repo1.maven.org/maven2, releases=true, snapshots=false) -> [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/MultipleArtifactsNotFoundException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :mediaPlayer