On Wed, Jun 27, 2012 at 1:04 PM, Fernanda Araújo
<[email protected]> wrote:
> Hi,
>
>  I'm trying to build a new project using mvn archetype:generate
> -DarchetypeArtifactId=php5-zend-archetype -X
>
>  It gives me the following error
>
>  [DEBUG] Archetype org.apache.maven.archetypes:php5-zend-archetype:1.0
> doesn't exist
...
> Failure to find org.apache.maven.archetypes:php5-zend-archetype:jar:1.0 in
> http://repo1.php-maven.org/release

You would have better luck on a maven php mailing list than here as
this is specific to that php plugin.

The error message is telling you that this archetype does not exist.

I dont really use archetypes, but you can see that this one does not
exist in Maven Central.
http://search.maven.org/#search|ga|1|%3Aphp5-zend-archetype

A google finds this page, which I am assuming you are following:
http://www.php-maven.org/tags/2.0.0/php-zend-5min.html

Did you follow the Preparation Instructions
(http://www.php-maven.org/prepare.html) as requested?
This will configure maven with additional repos (like
http://repos.php-maven.org/releases) which are unfortunately not
browsable, if you try they redirect you the the underlying Nexus
repos.
You can see that the artifact is available here
http://nexus.bghosting.de/content/repositories/php-maven-plugin-releases/org/phpmaven/php5-zend-archetype/2.0.0/php5-zend-archetype-2.0.0.jar
Which is what 
http://repos.php-maven.org/releases/org/phpmaven/php5-zend-archetype/2.0.0/php5-zend-archetype-2.0.0.jar
will get you as well.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to