Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] How to unpack from jar/zip subfolder?

Is this specific to m2e? For general maven questions, please use maven
user mailing list.

--
Regards,
Igor

On 11-12-05 10:27 AM, Sebastien Tardif wrote:
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
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users


Back to the top