Bugs item #2803181, was opened at 2009-06-08 18:42 Message generated for change (Comment added) made by brunojcm You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1020092&aid=2803181&group_id=212019
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: maven-jsmooth-plugin Group: maven-jsmooth-plugin-0.2.0 Status: Open Resolution: None Priority: 6 Private: No Submitted By: brunojcm (brunojcm) Assigned to: Nobody/Anonymous (nobody) Summary: Duplicate artifact error when configuring two executions Initial Comment: I have an application with two Main classes and I need to generate two exe files from the same jar, one for each main class. So i set up two executions of the maven-jsmooth-plugin, each one with a different main class and exe name. The two exe's are created successfully when i run 'package' phase. Unfortunately, the plugin don`t use the name set in the '.jsmooth' file to attach the '.exe' artifact to the main flow, so after the second execution of the maven-jsmooth-plugin, an error is thrown as follows: ----------------------------------------------------------------------------- [WARNING] Duplicate artifact attachment detected. (project: test:jsmooth:jar:0.0.1-SNAPSHOT; illegal attachment: test:jsmooth:exe:0.0.1- SNAPSHOT) [ERROR] Your build attempted to attach multiple artifacts with the same classifier to the main project. Mojo responsible for second attachment attempt:com.mindtree.techworks.insight.releng:maven-jsmooth-plugin:0.2.0:jsmoothcompile Reported for project: Group-Id: test Artifact-Id: jsmooth Version: 0.0.1-SNAPSHOT >From file: C:\Users\Bruno Medeiros\projetos\workspace\jsmooth\pom.xml Artifact attachment: Group-Id: test Artifact-Id: jsmooth Version: 0.0.1-SNAPSHOT Type: exe Scope: null ------------------------------------------------------------------------------------- I created a example project and attached here to help reproduce this issue. If any other information is needed to solve that or any other help is needed, please post here. ---------------------------------------------------------------------- Comment By: brunojcm (brunojcm) Date: 2009-06-09 14:06 Message: There would be a pleasure for me to provide a patch that fix this issue, but I'm not a expert in MOJO programming and this report is the only thing i can do by now.. If a have a free time these days i will try to take a look at the MOJO code and understand better this problem.. Thanks for the quick answer! If you need some help, post here! BrunoJCM ---------------------------------------------------------------------- Comment By: Bindul Bhowmik (bindul) Date: 2009-06-09 01:12 Message: Hello, Thank you for your defect report. The development team has accepted this as a valid defect and will work on a resolution for this. Updates for any fix will be updated in this defect report. If you would like a patch for the fix would be most welcome. Thanks, Insight Development Team ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1020092&aid=2803181&group_id=212019 ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ mindtreeinsight-devel mailing list mindtreeinsight-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mindtreeinsight-devel