I tried wagon :

<plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>wagon-maven-plugin</artifactId>
                                <version>1.0-beta-3</version>
                                <executions>
                                        <execution>
                                                <id>copy-jar-to-felix</id>
                                                <phase>package</phase>
                                                <goals>
                                                        <goal>copy</goal>
                                                </goals>
                                                <configuration>
                                                        
<source>file://target/assembly-module-2.0-SNAPSHOT-assembly</source>
                                                        <includes>*</includes>
                                                        <target>.</target>
                                                </configuration>
                                        </execution>
                                </executions>
                        </plugin>

Got a "No such file or directory" exception without any precision (even with -e 
option) when executing.
Are the source and target path relative ? to the project home ? the target 
directory ?

Le 27 août 2010 à 10:35, Antonio Petrelli a écrit :

> 2010/8/27 Thiébault Benoît <[email protected]>:
>> But now, I have all my jar files in the 
>> $PROJECT_HOME/Modules/assembly-module/target/assembly-module-1.0-SNAPSHOT-assembly/
>>  directory... which is not what I expect. How can I move them to my Felix 
>> directory (which is not in the $PROJECT_HOME directory) ? Am I using the 
>> right plugin or is it better to use the deploy plugin in this case ?
> 
> I think that, to move files around, Ant (doh!) or Wagon plugin are the best.
> I suggest you to use Wagon since the destination might be remote.
> 
> Antonio
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 


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

Reply via email to