When building an executable project, by default it is not executable from target
--------------------------------------------------------------------------------

                 Key: NPANDAY-375
                 URL: https://issues.apache.org/jira/browse/NPANDAY-375
             Project: NPanday
          Issue Type: Improvement
          Components: Maven Plugins
    Affects Versions: 1.3-incubating
            Reporter: Joe Ocaba
             Fix For: 2.0


Since the dependencies are not in the target directory the exe file will not 
run successfully. As proposed solution by Lars in the devlist would be to use 
the maven-dependency-plugin. We could automate the adding of the plugin on 
executable project types.

<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>


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to