Hi colleagues,
I have a big problem with maven-dependency-plugin related to path separator
on linux.
I want to unpack test.jar with following hierarchy:

test.jar
|
-----com
       |
       -----bsuir
              |
              test.lib

I configured my pom as:

<plugin>
        <artifactId>maven-dependency-plugin</artifactId>
        <executions>
                <execution>
                        <id>unpack</id>
                                <phase>clean</phase>
                                <goals>
                                        <goal>unpack</goal>
                                </goals>

                                <configuration>
                                <artifactItems>
                                        <artifactItem>
                                                  <groupId>*****</groupId>
                                                  <artifactId>****</artifactId>
                                                  <includes>**\/*.lib</includes>
                                                  <outputDirectory>
                                                                                
${project.build.directory}/${project.build.finalName}/WEB-INF/classes
                                                 </outputDirectory>     
                                        </artifactItem>
                                </artifactItems>
                        </configuration>
                </execution>
        </executions>
</plugin>

And plugin unpack jar not correctly on linux (on windows everything is
allright).
Plugin put into /WEB-INF/classes not a package with name com and so on, it
put com\bsuir\test.lib

Question:
How can I change separator to / for linux.

I also tried to use mvn clean install -DfileSeparator=/ -DpathSeparator=:
... not helped. 

Thanks.
-- 
View this message in context: 
http://old.nabble.com/File-separator-in-dependency%3Aunpack-plagin-tp26877350p26877350.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to