----- "Lars Corneliussen" <[email protected]> wrote:

> Hi again,
> 
> I'm in a rush as you see. Writing a tutorial for a geman magazine...
> But "sadly", tomorrow I'm with my customer again - not yet using
> npanday.
> 
> When building a executable, by default it is not executable from
> target. 
> Maybe we should copy the dependencies?
> 
> In the tutorial im doing this, now:
> 
> <plugin>
> 
> <groupId>org.apache.maven.plugins</groupId>
> 
> <artifactId>maven-dependency-plugin</artifactId>
> 
> <version>2.2</version>
> 
> <executions>
> 
> <execution>
> 
> <id>copy-dependencies</id>
> 
> <phase>package</phase>
> 
> <goals>
> 
> <goal>copy-dependencies</goal>
> 
> </goals>
> 
> <configuration>
> 
> <outputDirectory>${project.build.directory}</outputDirectory>
> 
> <stripVersion>true</stripVersion>
> 
> </configuration>
> 
> </execution>
> 
> </executions>
> 
> </plugin>
> 
> 
> What do you think?
> 

+1 on this Lars, I also encountered this on a demo run on one of our 
conventions here, it was a while back. I'll create an issue for this and 
schedule it for 2.0
 
> - Lars

Reply via email to