Assembly descriptor seems to ignore <include> tags inside <repository> tags
---------------------------------------------------------------------------

                 Key: MASSEMBLY-503
                 URL: http://jira.codehaus.org/browse/MASSEMBLY-503
             Project: Maven 2.x Assembly Plugin
          Issue Type: Bug
    Affects Versions: 2.2-beta-5
         Environment: Ubuntu Linux 10 (Lucid), kernel 2.6.35-5-generic-pae.  
            Reporter: Michael Cramer
         Attachments: pom.xml, repository.xml

I would like to create an archive of a local repository containing the 
artifacts that I'm developing.  Since I don't have access to the central 
repository, what I'd like to do is distribute this archive to my customers to 
allow them to unpack it with my company's software.  Since my company already 
bundles a tomcat server with our software, the repository setup is a simple 
matter of unpacking this archive in the correct location.  Then all clients 
that want to access my artifacts can set up a internal repository via the 
system or user settings.xml.  I've tested this and it works.  Now, the problem 
is I only want the archive to contain my artifacts, not the dependencies.  I 
thought that creating an assembly descriptor for my archive that utilizes the 
<repository> tags would be key, but it seems to be an all or nothing thing.  I 
can construct a repository with everything (which I don't want) but if I add 
<include> tags inside the <repository> tags, it either has no effect or it 
filters out everything except for the current project's artifact (and even then 
it doesn't include the jar, but I don't think it's supposed to).  I could be 
doing this incorrectly, but I've spent enough time on it now that think it's a 
bug.  I've attached my pom and descriptor, if that helps.  Please let me know 
if you need anything else.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to