maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dário Luís Coneglian Oliveros <olive...@cpqd.com.br>
Subject RES: release:perform failing due to missing project artifact
Date Wed, 17 Oct 2007 17:26:31 GMT
Try to add the following argument to 'mvn release:prepare' command: -DpreparationGoals="clean
install"
The default is "clean verify".

Hope it helps.
Dário

-----Mensagem original-----
De: Reuben Firmin [mailto:ReubenF@Benetech.org] 
Enviada em: quarta-feira, 17 de outubro de 2007 15:19
Para: users@maven.apache.org
Assunto: release:perform failing due to missing project artifact



Hello,

I'm confused by a release:perform failure. I ran mvn deploy ; mvn release:prepare ; mvn release:peform.
The perform failed with the error:

    [INFO] Failed to resolve artifact.
   
    Missing:
    ----------
    1) benetech:benetech-core:jar:1.1.1

benetech-core is a sub-module; from my super pom:

        <modules>
                <module>benetech-core</module>
                <module>bookshare-core</module>
                <module>bookshare-core-web</module>
                <module>bookshare-web</module>
        </modules>

When I ran the deploy, the project was on version 1.1.1-SNAPSHOT , and that version is fully
built out in both my local repository and my org-local repository:

-rw-r--r-- 1 reuben reuben 225423 2007-10-17 07:29 benetech-core-1.1.1-20071017.142840-1.jar
... [many files]
-rw-r--r-- 1 reuben reuben    309 2007-10-17 09:00 maven-metadata-local.xml

However, my local repository only contains a pom.xml for version 1.1.1 (created, presumably,
by the release:prepare step), and the org-local repository doesn't contain 1.1.1 at all (as
would be expected, because, as above, the version when the deploy was run was 1.1.1-SNAPSHOT).

So, am I missing a step in the deploy / release process?

Thanks
Reuben

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message