On Wed, Nov 23, 2011 at 7:16 AM, Paolo Castagna
<[email protected]> wrote:
>
>
> Barrie Treloar wrote:
>> On Wed, Nov 23, 2011 at 3:49 AM, Paolo Castagna
>> <[email protected]> wrote:
>>
>> There are 5 dimensions to this field
>> groupId, artifactId, type, version, classifier
>>
>> You have
>>>  <include>org.apache.jena:jena-*:*:*:sources</include>
>> 1) org.apache.jena:jena-*:
>> 2) *:
>> 3) *:
>> 4) sources
>
> 1) org.apache.jena:
> 2) jena-*:
> 3) *:
> 4) *:
> 5) sources
>
> Sources should be = classifier
>
> Why you put org.apache.jena:jena-* together?

because it was 6am in the morning :)

Have you tried -X to see whether there is some knowledge buried in
there about why its failing.
Without someone more knowledgeable about what's going on and how to
configure this, your next step is to download the assembly source code
and have a look.

The documentation
http://maven.apache.org/plugins/maven-assembly-plugin/advanced-descriptor-topics.html
has
Example: Exclude all source-jar dependencies.

In this example, we're dealing with the fact that project sources are
often distributed using jar files, in addition to normal binaries. We
want to filter out any source-jar files (they'll be marked with a
sources classifier) from the binary jars.

<assembly 
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2
http://maven.apache.org/xsd/assembly-1.1.2.xsd";>
  [...]
  <dependencySets>
    <dependencySet>
      <includes>
        <include>*:jar:*</include>
      </includes>
      <excludes>
        <exclude>*:sources</exclude>
      </excludes>
    </dependencySet>
  </dependencySets>
  [...]
</assembly>

So you should be able to do what you are trying to do.

Sorry can't be more helpful.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to