Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://jira.codehaus.org/browse/MPECLIPSE-57 Here is an overview of the issue: --------------------------------------------------------------------- Key: MPECLIPSE-57 Summary: Make sourcepath more flexible Type: Improvement Status: Unassigned Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: maven-eclipse-plugin Versions: 1.9 Assignee: Reporter: Henri Tremblay Created: Sat, 13 Nov 2004 5:43 PM Updated: Sat, 13 Nov 2004 5:43 PM Description: At job we are using the following configuration for source zips. MAVEN_REPO/myproject/zips/myproject-src-1.0.zip Currently the eclipse plugin only support MAVEN_REPO/myproject/src/myproject-1.0.zip So I modified it a little to put two variables: maven.eclipse.src.path maven.eclipse.src.suffix By default they keep the plugin behavior. If they are defined like that: maven.eclipse.src.path=zips maven.eclipse.src.suffix=-src They work perfectly in my environment. I though you might be interested in it. So here's the cvs diff from head: ? diff.txt Index: plugin.jelly =================================================================== RCS file: /home/cvspublic/maven-plugins/eclipse/plugin.jelly,v retrieving revision 1.30 diff -r1.30 plugin.jelly 41c41 < <j:set var="mappedsrc" value="${groupId}/src/${artifactId}-${version}.${maven.eclipse.src.extension}"/> --- > <j:set var="mappedsrc" > value="${groupId}/${maven.eclipse.src.path}/${artifactId}${maven.eclipse.src.suffix}-${version}.${maven.eclipse.src.extension}"/> Index: plugin.properties =================================================================== RCS file: /home/cvspublic/maven-plugins/eclipse/plugin.properties,v retrieving revision 1.9 diff -r1.9 plugin.properties 29a30 > maven.eclipse.src.path=src --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
