Hello,

I've three projects:
main
   project1
   project2
   project3

in project1 is something like this:
...
       <dependency>
            <groupId>${groupId}</groupId>
            <artifactId>project3</artifactId>
            <version>1.0</version>
        </dependency>
...
           <plugin>
                <artifactId>maven-jar-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                        <configuration>
                            <classifier>blabla</classifier>
                            <includes>
                                <include>**/blabla/*</include>
                            </includes>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

in project2:

<dependency>
            <groupId>${groupId}</groupId>
            <artifactId>project1</artifactId>
            <version>1.0</version>
            <classifier>blabla</classifier>
            <exclusions>
                <exclusion>
                    <groupId>${groupId}</groupId>
                    <artifactId>project3</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

and the problem is that <exclusion> doesn't work. If I delete <classifier>
everything is ok.
-- 
View this message in context: 
http://www.nabble.com/classifier-%2B-exclusion-tp15757147s177p15757147.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to