You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Kevin Ross <KR...@totalemed.com> on 2003/07/31 23:57:25 UTC

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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org