reset password
Author Message
xytian
Posts: 70
Posted 19:38 Apr 18, 2013 |

Hi, I added the assembly plugin as directed by http://maven.apache.org/plugin-developers/cookbook/generate-assembly.html, but did not see where is the "package" command in the menu, anyone knows? Thanks.

xliu15
Posts: 24
Posted 20:00 Apr 18, 2013 |

eclips-->run-->run as-->maven build-> Goals: package, then click "run"

xytian
Posts: 70
Posted 20:39 Apr 18, 2013 |

Tons of thanks!

Last edited by xytian at 20:42 Apr 18, 2013.
xliu15
Posts: 24
Posted 20:42 Apr 18, 2013 |
megtian wrote:

Tons of thanks! I got the zip file, but it includes so many layers of directories, from C:/ to the project root directory

 

did you forget to fill the <directory> part in <fileset>

such as 

<directory>${project.basedir}/src</directory>

 

xytian
Posts: 70
Posted 20:45 Apr 18, 2013 |

yes, I deleted the ${project.basedir}, just leave "src" there, it turned out to be fine