I can’t run simlpe program.
cd C:\Users\Rexx\Documents\NetBeansProjects\mavenproject1\mavenproject1-demo; “JAVA_HOME=C:\Program Files\Java\jdk1.8.0_25” cmd /c “""C:\Program Files\NetBeans 8.0.2\java\maven\bin\mvn.bat" -Dnetbeans.deploy=true -Dmaven.ext.class.path="C:\Program Files\NetBeans 8.0.2\java\maven-nblib\netbeans-eventspy.jar" -Dfile.encoding=UTF-8 package"”
Scanning for projects…
Some problems were encountered while building the effective model for com.mycompany:mavenproject1-demo:war:1.0-SNAPSHOT
The expression ${version} is deprecated. Please use ${project.version} instead.
It is highly recommended to fix these problems because they threaten the stability of your build.
For this reason, future Maven versions might no longer support building such malformed projects.
Building mavenproject1 - MyComponent Add-on Demo 1.0-SNAPSHOT
The POM for com.mycompany:mavenproject1:jar:1.0-SNAPSHOT is missing, no dependency information available
BUILD FAILURE
Total time: 1.975s
Finished at: Sun Dec 28 16:57:28 CET 2014
Final Memory: 10M/109M
Failed to execute goal on project mavenproject1-demo: Could not resolve dependencies for project com.mycompany:mavenproject1-demo:war:1.0-SNAPSHOT: Failure to find com.mycompany:mavenproject1:jar:1.0-SNAPSHOT in http://maven.vaadin.com/vaadin-addons was cached in the local repository, resolution will not be reattempted until the update interval of vaadin-addons has elapsed or updates are forced → [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles:
[Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException