The following issue has been SUBMITTED. ====================================================================== https://sourceforge.net/apps/mantisbt/mvn-infix/view.php?id=10 ====================================================================== Reported By: Bindul Assigned To: Bindul ====================================================================== Project: JSmooth Plug-in Issue ID: 10 Category: plug-in Reproducibility: always Severity: major Priority: normal Status: new Target Version: 0.3.0 ====================================================================== Date Submitted: 2010-11-20 07:14 UTC Last Modified: 2010-11-20 07:14 UTC ====================================================================== Summary: [Tracker 2803181] Duplicate artifact error when configuring two executions Description: 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 ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2010-11-20 07:14 Bindul New Issue 2010-11-20 07:14 Bindul Assigned To => Bindul 2010-11-20 07:14 Bindul File Added: project-bug.zip ====================================================================== ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ mvn-Infix-devel mailing list mvn-Infix-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mvn-infix-devel