Message:

   The following issue has been closed.

   Resolver: David Eric Pugh
       Date: Wed, 20 Oct 2004 2:21 PM

Discussion on mailing list resolved my last concern.
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPECLIPSE-48

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPECLIPSE-48
    Summary: handling source attachments (patch)
       Type: Improvement

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-eclipse-plugin
   Fix Fors:
             1.9
   Versions:
             1.9

   Assignee: David Eric Pugh
   Reporter: fabrizio giustina

    Created: Tue, 12 Oct 2004 4:36 PM
    Updated: Wed, 20 Oct 2004 2:21 PM

Description:
Actually maven repository doesn't contain source artifacts, however it would be nice 
if eclipse users could have a way to handle source for jars and have them added to 
eclipse .classpath (needed for debug and javadocs).

The attached path let users store sources in the local maven repository in the same 
way other artifacts are managed. Through the modification of the jar path the plugin 
will look for the sources file and, if existing, it will add them to the .classpath 
file.

The position of src files is controlled by 2 plugin properties: maven.eclipse.src.dir 
(directory for source artifact type) and maven.eclipse.src.extension (extension for 
files). These are temporarely managed as eclipse plugin properties till there is a 
standard maven default for them.

As an example, using the default values for these properties:
MAVEN_REPO/eclipse/jars/eclipse-ui-3.0.0.jar
will be mapped to
MAVEN_REPO/eclipse/src/eclipse-ui-3.0.0.zip

If the source zip is not available, it will not be added to the classpath file, so it 
will not cause any problem to users who don't have sources in their local repository.




---------------------------------------------------------------------
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]

Reply via email to