reset password
Author Message
kaancalstatela
Posts: 52
Posted 19:52 Jan 23, 2015 |

I'm having trouble trying to find Maven package on run settings. I've messed around with run configurations but the best i could do was build the project with maven package as a .war. Any help would be appreciated.

 

kaancalstatela
Posts: 52
Posted 20:23 Jan 23, 2015 |

I've made some progress. Now I'm getting an error "Error creating assembly archive bin: You must set at least one file."

Not sure where to set files, still looking for some help.

kaancalstatela
Posts: 52
Posted 20:41 Jan 23, 2015 |

Success:

 

[INFO] Building tar : C:\Users\Kaan\workspace\gefp\target\gefp-bin.tar.gz
[INFO] Building tar : C:\Users\Kaan\workspace\gefp\target\gefp-bin.tar.bz2
[INFO] Building zip: C:\Users\Kaan\workspace\gefp\target\gefp-bin.zip

 

However as you can see, my file comes out as gefp-bin, even though I did ------

Last edited by kaancalstatela at 21:00 Jan 23, 2015.
kaancalstatela
Posts: 52
Posted 21:01 Jan 23, 2015 |

Here we are:

 

[INFO] Building tar : C:\Users\Kaan\workspace\gefp\target\gefp-src.tar.gz
[INFO] Building tar : C:\Users\Kaan\workspace\gefp\target\gefp-src.tar.bz2
[INFO] Building zip: C:\Users\Kaan\workspace\gefp\target\gefp-src.zip

 

I'm gonna leave the posts here so that if anyone is confused about packaging in maven they can see my thought process for creating and editing the assembly director file.