missing dependency phpunit

79 views
Skip to first unread message

Edu Rodríguez

unread,
Feb 3, 2012, 12:35:47 AM2/3/12
to Maven for PHP
Hi friends,

I, recently installed Maven for PHP. I configured my .m2/settings.xml
and then created a web project using archetype with no problem.

When I execute the goal "mvn test" I'm getting this error:

[ERROR] Failed to execute goal on project testphp: Could not resolve
dependencies for project com.sourcerebels:testphp:php:y: Failure to
find org.phpunit:phpunit5:jar:3.3.9 in http://repos.xworlds.org/releases
was cached in the local repository, resolution will not be reattempted
until the update interval of release-repo1.php-maven.org has elapsed
or updates are forced -> [Help 1]

When I browse http://repos.xworlds.org/release it is empty and there
is no snapshot for phpunit.

Where I can find this dependency?
There is a mirror?

Thanks in advance

mepeisen

unread,
Feb 5, 2012, 7:17:21 PM2/5/12
to Maven for PHP
It is not yet released in the repository, sry. Please have a look at
the following page: http://www.php-maven.org/tut-add3partylibs.html
This will explain a way to install the phpunit dependency manually in
your local repository

Daniel Schilling

unread,
Feb 8, 2012, 10:29:35 AM2/8/12
to Maven for PHP
Hi there,

same here ... any updates on this?

Greetings,
Daniel

On 3 Feb., 06:35, Edu Rodríguez <dirtyaffa...@gmail.com> wrote:
> Hi friends,
>
> I, recently installed Maven for PHP. I configured my .m2/settings.xml
> and then created a web project using archetype with no problem.
>
> When I execute the goal "mvn test" I'm getting this error:
>
> [ERROR] Failed to execute goal on project testphp: Could not resolve
> dependencies for project com.sourcerebels:testphp:php:y: Failure to
> find org.phpunit:phpunit5:jar:3.3.9 inhttp://repos.xworlds.org/releases
> was cached in the local repository, resolution will not be reattempted
> until the update interval of release-repo1.php-maven.org has elapsed
> or updates are forced -> [Help 1]
>
> When I browsehttp://repos.xworlds.org/releaseit is empty and there

mepeisen

unread,
Feb 9, 2012, 7:39:04 PM2/9/12
to Maven for PHP
PHPUnit 3.6.10 now is available in repository. Not yet tested since I
will no have to go to bed. Please report any problems with this
dependency here. Other versions and projects will be available soon
this weekend.

The phar was built with the new PEAR packaging.
Reply all
Reply to author
Forward
0 new messages