There's already a patch in jira for this: http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-474
Regards, Tim > -----Original Message----- > From: Konstantin Priblouda [mailto:[EMAIL PROTECTED] > Sent: Monday, 16 June 2003 7:46 PM > To: Maven Developers List > Subject: SOLVED : Strange behavior of war plugin [EMAIL PROTECTED] > > > Well, I fould where problem was. > > I said in my project.properties: > > --%<------ > maven.war.classes.includes=**/*.properties , > **/*.class > ---%<--------- > > and this just lead to omission of everything from this > directory. > > I see from plugin.jelly that this results in: > ---%<---------- > <j:if test="${sourcesPresent == 'true'}"> > <classes dir="${maven.build.dest}"> > <include > name="${maven.war.classes.includes}" /> > <exclude > name="${maven.war.classes.excludes}" /> > </classes> > </j:if> > ---%<------------ > > and from ant documentation this shall be OK. > But digging into sources of ant produced that > <includes> would be more preferable option to setting > several patterns. > > After I changed above snippet to be: > ---%<---------- > <j:if test="${sourcesPresent == 'true'}"> > <classes dir="${maven.build.dest}"> > <includes > name="${maven.war.classes.includes}" /> > <excludes > name="${maven.war.classes.excludes}" /> > </classes> > </j:if> > ---%<------------ > > everything works just fine. > > Need a patch? > > regards, > > ===== > ----[ Konstantin Pribluda ( ko5tik ) ]---------------- > Zu Verstdrkung meines Teams suche ich ab Sofort einen > Softwareentwickler[In] f|r die Festanstellung. > Arbeitsort: Mainz > Skills: Programieren, Kentnisse in OpenSource-Bereich > ----[ http://www.pribluda.de ]------------------------ > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
