in a bid for the longest running single user thread.... 1. CSS style properties work on parent and sub projects 2. Normal properties are not inherited.
How does property inheritance work? What is the best practice to share properties across projects? -Kevin Ross -----Original Message----- From: Kevin Ross [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 6:05 PM To: 'Maven Users List' Subject: RE:project/properties and multiproject inheritance broken? I've solved my own problem. When I stole some of the files from Bob McWhirter/drools, I overrode the css. Since I killed those stylesheets, the properties have effect on the default sylesheet now. BTW- Can anyone shed any light on how the <properties/> tag should be used. -Kevin -----Original Message----- From: Kevin Ross [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 4:57 PM To: '[EMAIL PROTECTED]' Subject: project/properties and multiproject inheritance broken? I'm not even sure if I'm properly using properties in the pom, but it seems to work at the top level, and I want these properties to be inherited by my subprojects. Can anyone tell me if the behavior I expect is the behavior intended? If so, I'll be glad to file a bug... -Kevin Ross <?xml version="1.0" encoding="UTF-8"?> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\tools\maven-1.0-beta-10\maven-project.xsd" > <!-- the version of maven's project object model --> <pomVersion>3</pomVersion> <!-- a unique name for this project --> <id>fargo-master</id> <properties> <maven> <ui> <banner> <background>white</background> </banner> <section> <background>#BBBBBB</background> <foreground>#990000</foreground> </section> <subsection> <background>#DDDDDD</background> <foreground>#990000</foreground> </subsection> </ui> </maven> </properties> </project> <?xml version="1.0" encoding="UTF-8"?> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\tools\maven-1.0-beta-10\maven-project.xsd" > <extend>../fargo-master/project.xml</extend> <!-- a unique name for this project --> <id>fargo-sub1</id> <!-- These properties should be inherited from the parent... <properties/> --> </project> --------------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
