maven2 dependency def. maybe wrong

  3 posts   Feedicon  
Replies: 2 - Last Post: December 01, 2009 04:19
by: hantsy
showing 1 - 3 of 3
 
Posted: November 29, 2009 10:38 by TakeChin
Thank you for your great works.
I tried click-nb-plugin on maven2 and found the error about dependency definition of click-mock.

1) make maven web artifact.
2) select Click as web-framewark .
3) got wrong dependency

I think the artifactId and version is wrong place like below.

<dependency>
<groupId>org.apache</groupId>
<artifactId>click</artifactId>
<version>click-mock</version>
</dependency>


Maybe the correct one is below.

<dependency>
<groupId>org.apache.click</groupId>
<artifactId>click</artifactId>
<version>2.1.0-RC1-incubating</version>
</dependency>


Please let me know if my operation is wrog.
 
Posted: December 01, 2009 03:22 by hantsy
Thanks,
I have found this problem.
I uncompressed the official maven bundle to local repository and in my plugin I copied the jar relative path from local sytem directly... this path is omit the version.
I will release a fixed version to target current problems.
 
Posted: December 01, 2009 04:19 by hantsy
You can file an issue on the JIRA about this.
If you find other problem in future, do not hesitate to submit it to JIRA.
Replies: 2 - Last Post: December 01, 2009 04:19
by: hantsy
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120127.ac94057)
 
 
Close
loading
Please Confirm
Close