You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Igor Bljahhin <Ig...@microlink.ee> on 2005/11/03 11:28:49 UTC
[m2] release:perform does not work
Hello!
I have a multimodule project with "flat" directory structure:
./
translators/ -- parent project
translators-commons/ -- the project with business layer components
translators-web/ -- the project with web layer components
The "child" projects are described in the parent project's pom.xml as
<modules>
<module>../translators-commons</module>
<module>../translators-web</module>
</modules>
When I run "mvn release:perform" command, I get the following error:
[INFO] [release:perform]
[INFO] Checking out the project to perform the release ...
THE m2 COMMMAND IS DEPRECATED - PLEASE RUN mvn INSTEAD
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
----
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
----
[INFO] Error building POM (may not be this project's POM).
Project ID: unknown
Reason: Could not find the model file
'C:\projects\translators\target\checkout\..\translators-commons\pom.xml'
.
What can I do?
Sincerelly yours,
Igor
Re: [m2] release:perform does not work
Posted by Brett Porter <br...@gmail.com>.
release:perform doesn't know to checkout projects at a higher level,
it currently needs to be run from a common source root.
- Brett
On 11/3/05, Igor Bljahhin <Ig...@microlink.ee> wrote:
> Hello!
>
> I have a multimodule project with "flat" directory structure:
>
> ./
> translators/ -- parent project
> translators-commons/ -- the project with business layer components
> translators-web/ -- the project with web layer components
>
> The "child" projects are described in the parent project's pom.xml as
>
> <modules>
> <module>../translators-commons</module>
> <module>../translators-web</module>
> </modules>
>
> When I run "mvn release:perform" command, I get the following error:
>
> [INFO] [release:perform]
> [INFO] Checking out the project to perform the release ...
>
> THE m2 COMMMAND IS DEPRECATED - PLEASE RUN mvn INSTEAD
>
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> ----
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> ----
> [INFO] Error building POM (may not be this project's POM).
>
> Project ID: unknown
>
> Reason: Could not find the model file
> 'C:\projects\translators\target\checkout\..\translators-commons\pom.xml'
> .
>
> What can I do?
>
> Sincerelly yours,
> Igor
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org