I have a jar like:

myArchive.jar:

rootFolder

   myFile.txt

   otherFolder

    moreFile.txt

    

 

It seems impossible to specify that I just want everything under rootFolder
but not the folder "rootFolder" itself.

 

<includes>rootFolder/**/*</includes> doesn't work.

 

So what I'm looking of is specifying a base folder/directory where to start
unpack from.

 

<plugins>

<plugin>

                                <groupId>org.apache.maven.plugins</groupId>

 
<artifactId>maven-dependency-plugin</artifactId>

                                <version>2.3</version>

                                <executions>

                                                <execution>

 
<id>unpack</id>

 
<phase>package</phase>

                                                                <goals>

 
<goal>unpack</goal>

                                                                </goals>

 
<configuration>

 
<artifactItems>

 
<artifactItem>

 
<groupId>myArchive </groupId>

 
<artifactId myArchive </artifactId>

 
<version>1</version>

_______________________________________________
m2e-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to