Split this into two projects. One that produces the jar and one that produces the rpm.
Maven golden rule: One project -> one artifact. On Fri, May 11, 2012 at 2:26 PM, Dominik Lehnen <dominik.leh...@gameduell.de> wrote: > Hi, > > i made my first steps with the rpm-maven-plugin and have the problem, > that the jar of my project, as well as the rpm i want to create, end up > in the same folder "target". > the build is not possible, because "the destination directory cannot > include itself". Makes sense ... > > My idea was to use a wildcard within the location-paragraph so only the > jar-file will be taken for the build and everything else will be excluded. > But wildcards like "target/*.jar" don't work. > > Can somebody help me to solve this problem? > > Thanks in advance ... > > Dominik > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email