File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MAVEN Skipp Project

 
nayan rami
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello friends

i dont know much more things about maven

but i will get problem like

[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] Reactor Summary:
[INFO]
[INFO] ONiT .............................................. SKIPPED
[INFO] ONiT Commons ...................................... SKIPPED
[INFO] ONiT Media Player ................................. SKIPPED
[INFO] ONiT App Client ................................... SKIPPED
[INFO] ONiT Servlets ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.781s
[INFO] Finished at: Wed Jan 19 18:56:07 IST 2011
[INFO] Final Memory: 1M/4M
[INFO] ------------------------------------------------------------------------


so how to reslolve it and run this Project
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In your poms, references to ${parent.version} should be replaced by ${project.parent.version}
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic