Hi Uli
I've tried with the patternsets false and no resources specification.
I still have a jar with following structure :
Resources/
Resources/Main.wo/
Resources/Resources/
Resources/Resources/Main.wo/
Resources/Info.plist
Resources/Main.api
Resources/Main.wo/Main.html
Resources/Main.wo/Main.wod
Resources/Main.wo/Main.woo
Resources/Resources/Info.plist
Resources/Resources/Main.api
Resources/Resources/Main.wo/Main.html
Resources/Resources/Main.wo/Main.wod
Resources/Resources/Main.wo/Main.woo
org/
org/josef/
org/josef/test/
org/josef/test/App.class
Now, as you see, I obtain a Resources/Resources subtree....
Josef
-- Open WebMail Project (http://openwebmail.org)---------- Original Message ----------- From: Ulrich Köster <ulric..bjectstyle.org> To: woproject-de..bjectstyle.org Sent: Thu, 9 Nov 2006 11:39:40 +0100 Subject: Re: Resources problem with woframework packaging
> I've updated the information under http://www.objectstyle.org/ > confluence/display/WOL/maven-wolifecycle-plugin > > Could try again with the latest wolifecycle plugin. You existing pom > should worlk with it. > > Uli > Am 09.11.2006 um 10:56 schrieb Josef Vanek: > > > Hi all > > > > I have a very simple project for testing a woproject build. It has > > one java > > class in ${basedir}/src/main/java and one Main.wo component in > > Resources > > folder in ${basedir}. > > > > My build section in the POM is : > > > > ... > > <packaging>woframework</packaging> > > <build> > > <sourceDirectory>src/main/java</sourceDirectory> > > <testSourceDirectory>src/test/java</testSourceDirectory> > > <plugins> > > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-compiler-plugin</artifactId> > > <configuration> > > <source>1.5</source> > > <target>1.5</target> > > </configuration> > > </plugin> > > <plugin> > > <groupId>org.objectstyle.woproject.maven2</groupId> > > <artifactId>maven-wolifecycle-plugin</artifactId> > > <version>2.0-SNAPSHOT</version> > > <extensions>true</extensions> > > </plugin> > > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-surefire-plugin</artifactId> > > <configuration> > > <skip>true</skip> > > </configuration> > > </plugin> > > </plugins> > > </build> > > ... > > > > When I invoke the mvn package goal, it produces no error, it > > produces a nice > > ${artifactId}-${version}.jar in the target directory, but when I > > look into the > > jar, it contains the Main.wo AND Resources/Main.wo. > > > > How could I get rid of the Main.wo component at the root of the jar > > please ? > > Said by another mean, how can I control which resources are > > included in the > > jar and which are not ? > > > > Josef > > > > -- > > Open WebMail Project (http://openwebmail.org) > > ------- End of Original Message -------
This archive was generated by hypermail 2.0.0 : Thu Nov 09 2006 - 06:37:05 EST