NEWS: PEAR imports and Incompatible change of PHPUnit dependency

56 views
Skip to first unread message

mepeisen

unread,
Feb 10, 2012, 6:48:50 PM2/10/12
to Maven for PHP
Hi everyone.

At this weekend we will import a huge set of modules from various PEAR
channels into the official repository.

This will do an incompatible change to the PHPUNIT dependency.
Currently you refer it as:
groupId: org.phpunit
artifactId: phpunit5

As the pear channel is called: pear.phpunit.de we will know referr to
it as:
groupId: de.phpunit
artifactId: PHPUnit (notice the case of the artifactId).

Other modules will be available, for example
groupId: org.phpunit
artifactId: PHP_CodeCoverage

As you see we use the original PEAR project name as artifactId.
Although this is not the common maven style. The maven guys would
prefer the project as lowercased and with minus sign instead of
underscore: php-codecoverage.


However for compatibility you can still use org.phpunit:phpunit5 at
version 3.6.10 as said in the other topic. But notice that this module
is deprecated and might be removed within some weeks. We are planning
to use the official domains from know to not confuse anyone.



Channels that will be covered:
http://pear.phpunit.de (becomes groupid de.phpunit)
http://pear.symfony-project.com (becomes groupid com.symfony-project)
http://pear.php.net (becomes groupid net.php)
http://pear.doctrine-project.org (becomes groupid org.doctrine-
project)
http://components.ez.no (becomes groupid no.ez.components)
http://pear.firephp.org (http://www.firephp.org and becomes groupid
org.firephp)
http://pear.apache.org (becomes groupid org.apache)
http://pear.pearplex.net/ (becomes groupid net.pearplex)
http://pear.pdepend.org/ (becomes groupid org.pdepend)
http://pear.php-tools.net (becomes groupid net.php-tools)
http://pear.phpmd.org/ (becomes groupid org.phpmd)
http://pear.phpundercontrol.org/ (becomes org.phpundercontrol)
http://pear.swiftmailer.org/ (becomes org.switfmailer)
http://pear.twig-project.org (becomes org.twig-project; only php
packages)



Additional non-pear imports:
http://framework.zend.com (becomes com.zend.framework:framework)
http://www.smarty.net (becomes net.smarty:smarty)
http://simpletest.org/ (becomes org.simpletest:simpletest)
https://github.com/Seldaek/monolog (becomes
com.github.seldaek:monolog)
http://symfony.com/download (symfony 2)


Looking forward for additional suggestions of open source projects
that should be imported to the repository.
I will publish news about the repositories within this thread.
Currently the rss feed of the repository is not yet working.

martin.eisengardt

unread,
Feb 12, 2012, 7:18:09 PM2/12/12
to Maven for PHP
Hi everyone.
 
A status update:
symfony: finished
apache: finished
firephp: finished
pearplex: finished
swiftmailer: finished
twig-project: finished
ez-components: finished
 
pear.php.net: in work; it needs some manual fixtures, I had to removeblock some of the projects at the moment. It will be finished tomorrow
php-tools: almost finished; stopped because of dependencies to some pear.php.net projects
doctrine-project: almost finished; stopped because of dependencies to some pear.php.net projects
pdepend.org: almost finished; stopped because of dependencies to some pear.php.net projects
phpmd: almost finished; stopped because of dependencies to some pear.php.net projects
phpunit: almost finished; stopped because of dependencies to some pear.php.net projects
phpundercontrol: almost finished; stopped because of dependencies to some phpunit projects
 
Zend-Framework: finished
Smarty: finished
 
You will find the releases at http://repos.php-maven.org/releases/
Please report any non-working package. I did only test a valid and meaningful import. I did not test if every package works as expected.
 
Some ezComponents packages did not have the original dependencies. They reported a dependency to beta packages that were not imported. However I choosed the release version to use instead. It should be OK. If anything does not work please report.

martin.eisengardt

unread,
Feb 14, 2012, 3:35:13 AM2/14/12
to Maven for PHP
upgrade: The first plan was to focus importing the php5 projects. About 200 projects are already imported but not yet uploaded. Bacause of massive dependencies to the whole world I am currently importing many other pear projects. even old ones. It is not the best choice but remember: we will one day have something called "featured" project. A featured project will be of clean code, clean documentation and it will be php5.
So the importing pear task is still under work.

Ryan RAJKOMAR

unread,
Feb 14, 2012, 10:28:06 AM2/14/12
to Maven for PHP
Could you also import the propel project ( existing on pear, currently
with dependencies to Phing and Log).
Here's the install documentation : http://www.propelorm.org/documentation/01-installation.html

If a support for JAXB marshalling-like annotations could be found that
be awesome. I've searched this issue for a while.
There are currently two promising projects :
https://github.com/lampjunkie/xml-hitch
http://www.pibx.de/

Each covers a part of the ideal solution. If they could be combined we
would have a complete solution functionning in the same manner as in
java.

Thanks

On 14 fév, 09:35, "martin.eisengardt"

martin.eisengardt

unread,
Feb 14, 2012, 10:38:40 AM2/14/12
to maven-...@googlegroups.com
Pixb seems to be active. Last commit 7 days before.
Last commit to xml-hitch was 5 months before.
 
Maybe you could invite them to the php-maven community. I would help them getting started.
 
I personally will only publish/mirror projects, not develop them. It's because managing all the php-maven stuff is really enough work at the moment :-)
 
The other wishes are noticed. I will send you an update on these soon.

 
--
You received this message because you are subscribed to the Google Groups "Maven for PHP" group.
To post to this group, send email to maven-...@googlegroups.com.
To unsubscribe from this group, send email to maven-for-ph...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/maven-for-php?hl=en.


martin.eisengardt

unread,
Feb 14, 2012, 6:22:13 PM2/14/12
to maven-...@googlegroups.com
Imported about 1250 artifacts from pear.php.net (more will come the following weekend or as someone requests them). The pear imported is know very robust :-) And some artifacts are really bad (or more clearly they have dead or wrong dependencies). I had to correct some of them manually.
And there is an issue on version naming. For example there seems to be a convention on PEAR to name projects similar to: "1.0.0a2". This means "1.0.0-alpha-2" in maven and I had to map these version names. This is caused by the fact that in maven the version "1.0.0a2" is illegal. And maven contains a logic for version ordering. meaning that is treats the suffix "SNAPSHOT", "alpha" and "beta" in a very special way. PEAR itself does not have any special treatment about snapshots. From pears point of view those development versions do not exist.
 
The 1250 maven artifacts will know be uploaded to the nexus during this night.
 
I will know start with the other projects and expect that
- PHPUnit
- Symfony
- PHP-Tools
- PDepend
- PHPMd
- PHPUnderControll
will be uploaded this night.

martin.eisengardt

unread,
Feb 15, 2012, 7:12:14 PM2/15/12
to maven-...@googlegroups.com
- PHPUnit finished
- Symfony2 finished
- PHP-Tools finished
- PDepend finished
- PHPMD finished
 
open projects:
- PHPUnderControl
- Some additional pear projects
- maybe sencha/jquery (but maybe already as jar elsewhere)

mepeisen

unread,
Feb 18, 2012, 8:07:32 PM2/18/12
to Maven for PHP
Imported into trac:

XML to JAXB binding-request: http://trac.php-maven.org/ticket/43

Targeted for 2.0.0 release

domenec.s...@gmail.com

unread,
Jun 7, 2012, 6:37:56 AM6/7/12
to maven-...@googlegroups.com
On Thursday, 16 February 2012 01:12:14 UTC+1, mepeisen wrote:
- Symfony2 finished

Newbie question: Does it mean that Symfony2 projects can be created and dependencies managed with PHP for Maven?
 

martin.eisengardt

unread,
Jun 7, 2012, 6:44:41 AM6/7/12
to maven-...@googlegroups.com
Yes, this should work. If anything goes wrong or if dependencies are mssing please report them to this group :)

kernel...@gmail.com

unread,
Jun 22, 2012, 2:43:43 AM6/22/12
to maven-...@googlegroups.com
I actually already built one :)

It currently covers about 80% of the schema spec, and some time in the next month, I'm hoping to have coverage over it using the W3C schema test docs.  Unfortunately, it was done for a client and as such, they have not committed to allowing it to be open sourced.  I'm lobbying hard for that, but as it stands right now, it's not on their priority list.

Chad
Reply all
Reply to author
Forward
0 new messages