I plan on looking at the release plugin eventually, but I can only
handle so much new info at once. :)  I want to keep the POM's in sync
when working on a snapshot too, so I just want to have to manually
change less properties when I start work on the next version, and when
it comes time to release too...

I had:

<project xmlns="http://maven.apache.org/POM/4.0.0";>
        <parent>
                <groupId>mil.jfcom.cie.portal</groupId>
                <artifactId>cdcie-project-portletframework</artifactId>
                <version>1.2</version>
        </parent>
        <modelVersion>4.0.0</modelVersion>
        <artifactId>cdcie-portlet-portletframeworksample</artifactId>
        <packaging>war</packaging>
        <name>Portlet Framework Sample</name>
        <version>${project.parent.version}</version>

        ....
</project>

Then I get the following error:

[INFO] 
----------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
----------------------------------------------------------------------------
[INFO] Reason: Error building project from
'c:\workspace\PortletFramework\sample\pom.xml':
mil.jfcom.cie.portal:cdcie-po
rtlet-portletframeworksample:war:${project.parent.version}

So, is this a bug?

-Stephen

On 10/5/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> You can, but it is what you give in the <parent> element, you can't omit
> that.
>
> If you need a tool to keep versions in sync in a multiproject, check the
> release plugin.
>
> - Brett
>
> Stephen Duncan wrote:
>
> >But you can't do this?:
> >
> ><version>${project.parent.version}</version>
> >
> >Sure would be nice to be able to keep my versions in sync more easily
> >if I don't want to bother independently versioning
> >modules/sub-projects.
> >
> >-Stephen
> >
> >
> >
>
> ---------------------------------------------------------------------
> 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]

Reply via email to