aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes MAVEN Skipp Project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "MAVEN Skipp Project" Watch "MAVEN Skipp Project" New topic
Author

MAVEN Skipp Project

nayan rami
Ranch Hand

Joined: Dec 28, 2010
Posts: 30
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

Joined: Jun 24, 2003
Posts: 3274
    
    5

In your poms, references to ${parent.version} should be replaced by ${project.parent.version}


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
 
 
subject: MAVEN Skipp Project