I am using nexus pro version 2.6.4 There is nexus-custom-metadata-plugin.jar file.
I have downloaded and added in nexus third party jar. Now after doing all this stuff...I am getting compilation error INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project nexus-metadata-plugin: Compilation failure: Compilation failure: [ERROR] /home/suchisub/work/git/nexus-metadata-plugin/src/main/java/de/mb/NexusMetadataBuilder.java:[141,45] error: cannot find symbol [ERROR] variable metadataRes of type CustomMetadataResponse [ERROR] /home/suchisub/work/git/nexus-metadata-plugin/src/main/java/de/mb/NexusMetadataBuilder.java:[144,23] error: cannot find symbol [ERROR] variable customMetadata of type CustomMetadata [ERROR] /home/suchisub/work/git/nexus-metadata-plugin/src/main/java/de/mb/NexusMetadataBuilder.java:[145,17] error: cannot find symbol [ERROR] variable customRequest of type CustomMetadataRequest [ERROR] /home/suchisub/work/git/nexus-metadata-plugin/src/main/java/de/mb/NexusMetadataBuilder.java:[186,6] error: cannot find symbol [ERROR] variable item of type CustomMetadata [ERROR] /home/suchisub/work/git/nexus-metadata-plugin/src/main/java/de/mb/NexusMetadataBuilder.java:[187,6] error: cannot find symbol [ERROR] variable item of type CustomMetadata [ERROR] /home/suchisub/work/git/nexus-metadata-plugin/src/main/java/de/mb/NexusMetadataBuilder.java:[188,6] error: cannot find symbol [ERROR] variable item of type CustomMetadata [ERROR] /home/suchisub/work/git/nexus-metadata-plugin/src/main/java/de/mb/NexusMetadataBuilder.java:[189,6] error: cannot find symbol [ERROR] variable item of type CustomMetadata [ERROR] /home/suchisub/work/git/nexus-metadata-plugin/src/main/java/de/mb/NexusMetadataBuilder.java:[191,9] error: cannot find symbol [ERROR] -> [Help 1] then I downloaded your jar file and follow the same step.. Still having the same issue. Is it related to version I am using or some stupid stuff I am doing Thanks for your help in advance. ~S On Wednesday, May 22, 2013 9:40:32 AM UTC-7, Marcel Birkner wrote: > > Hi Izet, > > It seems that Sonatype removed the client jar from the Nexus Zip file. I > was using Version 2.0.6 when I was writing the article. Please find the JAR > file attached to this message. > > *nexus-professional-**trial-2.0.6\nexus\WEB-INF\* > *optional-plugins\nexus-custom-**metadata-plugin-2.0.6\nexus-* > *custom-metadata-plugin-2.0.6* > > Greetings, > Marcel > > > > Am Montag, 20. Mai 2013 23:31:55 UTC+2 schrieb Izet Salihbegovic: >> >> Hi Marcel >> >> Great work on your explanations but I hit the snag. Cant find one >> dependency anwhere. >> Using Professional Edition, Version: 2.4.0-09 >> Here is what I dont have >> <dependency> >> <groupId>org.sonatype.nexus</groupId> >> <artifactId>*nexus-custom-metadata-plugin-client*</artifactId> >> <version>1.0</version> >> </dependency> >> >> On Monday, August 6, 2012 5:43:00 AM UTC-7, Marcel Birkner wrote: >>> >>> Hi, >>> >>> I was looking for a way to add some metadata to build artifacts after >>> they are deployed to Nexus / Artifactory. Since both tools offer a >>> metadata-plugin for the Pro Editions I decided to write my own Jenkins >>> Plugin that calls the Nexus REST API to add some metadata to the deployed >>> artifact. Turns out, writing Jenkins plugins is not that hard thanks to >>> some great documentation and the Maven hpi plugin that creates the project >>> skeleton. >>> >>> I wrote up my experience when developing the plugin and posted the >>> project on github. >>> >>> >>> - Jenkins - Nexus >>> Tutorial<http://blog.codecentric.de/en/2012/08/tutorial-create-a-jenkins-plugin-to-integrate-jenkins-and-nexus-repository/> >>> - Sourcecode on >>> Github<https://github.com/marcelbirkner/nexus-metadata-plugin/> >>> >>> >>> I hope you find the article helpful in creating your own Jenkins plugins >>> in the future. >>> >>> Greetings, >>> Marcel >>> >>> >>> -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
