php-maven2 first snapshot

192 Aufrufe
Direkt zur ersten ungelesenen Nachricht

mepeisen

ungelesen,
21.10.2011, 12:06:0921.10.11
an Maven for PHP
Hi.

We proudly present the first version 2 snapshot. However some code
review is still missing as well as testing. You will find the version
at the new nexus repository (read the other thread I will starting).
For those wanting to compile it themselves you will find a version in
github. See projects "php-maven-plugin" and "php-maven-parent". Both
will contain a branch called "maven3".

Watch our new tutorials section at the web site:
http://www.xworlds.org/php-maven/tutorials.html
Any help and suggestion is welcome. If you are able to create some of
the tutorials please contact us.

See the trac: http://trac.php-maven.org/
You will have to register and activate your account before reading. At
this weekend chris will do some rework on it.
Within trac you will find some feature requests the community already
addressed before the trac was available. We do not have any release
plan yet.


Changes during development.
- port to maven3, fully compatible
- It will use phar archives now instead of jars. This makes php-maven
be more php-like.
- Some minor bug fixes (mostly maven3 speific stuff and corrections
related to php-maven not behave like the docs said)

mepeisen

ungelesen,
23.10.2011, 09:03:4023.10.11
an Maven for PHP
Parallel to the already existing 5-minutes example I started a new
detailed tutorial section. Since maven itself will be new for most of
php developers it contains some useful explanations what is going on.
Please review the first chapters in snapshot:
http://www.xworlds.org/php-maven/tut-lifecycle.html
http://www.xworlds.org/php-maven/tut-lifecycle-creation.html
http://www.xworlds.org/php-maven/tut-lifecycle-developing.html

The archetypes are know available in xworlds repository. They are
using the phpmaven versioning (2.0.0-SNAPSHOT). Fully maven3
compatible. As we are not yet at beta level the archetypes may be
changed before release. But this should be only a small change (at
least the reference to the correct php-maven release version will
change).

mepeisen

ungelesen,
29.10.2011, 18:09:1429.10.11
an Maven for PHP
The snapshot know includes some bugfixes as well as more surefire-like
behaviour. This includes disabling tests as well as ignoring test
failures. The source folders are know set to the correct php folders
in order to support more plugins.
See http://trac.php-maven.org/ticket/16 and http://trac.php-maven.org/ticket/14

Results of automated testing can be viewed here:
http://www.xworlds.org/php-maven/surefire-report.html

mepeisen

ungelesen,
01.11.2011, 09:52:0701.11.11
an Maven for PHP
As of php-maven2 one requirement is a detailed tutorial section. We
will focus experienced php developers but that does not mean everyone
knows about maven. So we decided to have some detailed tutorial. This
does not mean to re-write the maven cookbook but that means to have
some additional help for all of you on top of the 5-minutes-examples.

Please review the first chapter of the tutorials section about the
maven lifecycle. You will find the current snapshot here:
http://www.xworlds.org/php-maven/tutorials.html

Do you feel anyone new to maven is able to understand this tutorials?
Are the examples working? Anything missing?
If you have suggestions or corrections please report it to the google
group within this thread.

Greetings and thanks for your help.

mepeisen

ungelesen,
04.11.2011, 16:49:1104.11.11
an Maven for PHP
There is a new snapshot version. It contains some smaller bugfixes,
even more testcases and one major feature:
PHPUnit Code coverage report of test cases.

Edit the maven-site plugin config (the position you already found
phpdocumentor)
<reports>
<report>phpdocumentor</report>
<report>phpunit-coverage</report>
</reports>

Notice: You need installed xdebug to use this report. PHPUnit will
complain if it does not find xdebug.

Bastian Schwarz

ungelesen,
09.11.2011, 15:31:2009.11.11
an Maven for PHP
Hey,

I was playing around with PHP Maven a few months back (until I thought
the project was dead - sometimes it's nice to be proven wrong ;) ).
The Tuts are much better now, although I had some problems finding the
archetype. Maybe you can put the new profiles in the tuts as well
(with a hint that they might change yet).

Right now, I still try to get the tests running. Even after installing
as adviced in http://trac.php-maven.org/ticket/34 Any suggestions?

Keep up the good work!

Greetings
Bastian

mepeisen

ungelesen,
09.11.2011, 15:59:3609.11.11
an Maven for PHP
The bug 34 is related to the php-maven plugin itself. However. Did you
get an exception or any other error from maven?
Maybe you could contact me via skype: nickname martin.eisengardt.

mepeisen

ungelesen,
11.11.2011, 09:36:0511.11.11
an Maven for PHP
A new version is available. It contains some major redesign and
bugfixes as well as a new goal: "exec". This goal can be used to
manually invoke php scripts upon build process. There will be
tutorials describing this soon.

This is the first snapshot release that contains full eclipse support.
See http://www.xworlds.org/php-maven/tut-usingeclipse.html for
details. The eclipse plugin comes with full phpunit support and with
inline coverage display.

There are new test cases. Test results are found here:
http://www.xworlds.org/php-maven/surefire-report.html

---- Major features still missing for Version 2.0

A) Basic pear support, http://trac.php-maven.org/ticket/9
B) Open Source repository: http://trac.php-maven.org/ticket/17
C) Include path and dependency management: http://trac.php-maven.org/ticket/27
D) Documentation (various trac tickets)
E) Brainstorming for testing, documentation and validation frameworks
(various trac tickets)

---- Bugs and smaller issues for Version 2.0

A) Phar packager problem (reported for linux) http://trac.php-maven.org/ticket/14
B) PHPUnit test execution with requires/includes: http://trac.php-maven.org/ticket/37
C) Dependencies of type system: http://trac.php-maven.org/ticket/35
D) maven-php-plugin reognization/ test execution of java plugin
itself: http://trac.php-maven.org/ticket/34


Please do still add your comments to the trac brainstorming:
testing frameworks: http://trac.php-maven.org/ticket/5
documentation frameworks: http://trac.php-maven.org/ticket/8
common open source php projects to be available in the repository:
http://trac.php-maven.org/ticket/22
validation/ compile phase: http://trac.php-maven.org/ticket/33


Thanks
Martin

Marco Schulz

ungelesen,
15.11.2011, 16:50:3615.11.11
an maven-...@googlegroups.com
Siehe anhang
site.zip

Marc CHAKIACHVILI

ungelesen,
29.11.2011, 08:31:2029.11.11
an Maven for PHP
Hi all, I juste tried many times with many different eclipse installed
version. but I always experienced the same error message when trying
to install PHPMaven plugin :
Cannot complete the install because some dependencies are not
satisfiable
org.phpmaven.eclipse.feature.feature.group [2.0.0.201111111508]
cannot be installed in this environment because its filter is not
applicable.

Do you have an idea of what I am doing wrong ? My eclipse version is
indigo 3.7.1 and I installed maven plugin m2eclipse as well.

thnxs for your help :-)

On 11 Nov., 15:36, mepeisen <martin.eisenga...@googlemail.com> wrote:
> A new version is available. It contains some major redesign and
> bugfixes as well as a new goal: "exec". This goal can be used to
> manually invoke php scripts upon build process. There will be
> tutorials describing this soon.
>
> This is the first snapshot release that contains full eclipse support.
> Seehttp://www.xworlds.org/php-maven/tut-usingeclipse.htmlfor
> details. The eclipse plugin comes with full phpunit support and with
> inline coverage display.
>
> There are new test cases. Test results are found here:http://www.xworlds.org/php-maven/surefire-report.html
>
> ---- Major features still missing for Version 2.0
>

> A) Basic pear support,http://trac.php-maven.org/ticket/9


> B) Open Source repository:http://trac.php-maven.org/ticket/17
> C) Include path and dependency management:http://trac.php-maven.org/ticket/27
> D) Documentation (various trac tickets)
> E) Brainstorming for testing, documentation and validation frameworks
> (various trac tickets)
>
> ---- Bugs and smaller issues for Version 2.0
>

> A) Phar packager problem (reported for linux)http://trac.php-maven.org/ticket/14

martin.eisengardt

ungelesen,
30.11.2011, 04:30:2830.11.11
an maven-...@googlegroups.com
Is there any further information?
 
Please open the error log (Window->Show view-> error log). Retry and have a look at the errors that are being reported.
 
As it says the filters are not applicable. Which jdk are you using to start eclipse? which os? I did not mean to filter any environment but maybe I forgot to remove some checkbox :-)
 
Greetings
Martin


--
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.


Marc CHAKIACHVILI

ungelesen,
01.12.2011, 17:58:4501.12.11
an Maven for PHP
Hi, I am running Ubuntu 11.10, eclipse indigo java (eclipse-java-
indigo-SR1-linux-gtk.tar.gz)
Just made a new fresh install, just addes m2eclipse plugin from
eclipse.org -maven embended version is 3.0.2)
PDT 3.0, juste install following these steps
http://wiki.eclipse.org/PDT/Installation#Eclipse_3.7_.2F_Indigo_.2F_PDT_3.0.

Nothing more installed, may I forgot something ?

Still got same message, no more info in erro_log than error message.
sorry.

May be it's cause of a 'stand-alone' eclipse version ?.

thxs for your help.

here is my install details :
** Features:
org.eclipse.cvs (1.3.100.v20110520-0800-7B78FHk8sF7BB7VAH5AYC5)
"Eclipse CVS Client"
org.eclipse.dltk.core (3.0.0.v20101211-0331-7l-2ED-z0UkhYdtV3_LBO)
"Eclipse Dynamic Languages Toolkit"
org.eclipse.dltk.core.index (3.0.0.v20101026-0553-79--9oA5885GAJ)
"Eclipse Dynamic Languages Toolkit Index"
org.eclipse.egit (1.1.0.201109151100-r) "Git Team Provider"
org.eclipse.egit.mylyn (1.1.0.201109151100-r) "Git Team Provider"
org.eclipse.emf.ecore (2.7.1.v20110912-0920) "EMF Ecore"
org.eclipse.epp.mpc (1.1.1.I20110907-0947) "Marketplace Client"
org.eclipse.epp.package.java.feature (1.4.1.20110909-1818) "EPP Java
Package"
org.eclipse.help (1.3.0.v20110327-7i7uFFkFFp7gNobOpNgKo0) "Help System
Base"
org.eclipse.jdt
(3.7.1.r371_v20110810-0800-7z8gFcoFMLfTabvKsR5Qm9rBGEBK) "Eclipse Java
Development Tools"
org.eclipse.jgit (1.1.0.201109151100-r) "JGit Core"
org.eclipse.m2e.feature (1.0.100.20110804-1717) "Maven Integration for
Eclipse"
org.eclipse.m2e.logback.feature (1.0.100.20110804-1717) "m2e logback
configuration"
org.eclipse.mylyn_feature (3.6.2.v20110908-0706) "Mylyn"
org.eclipse.mylyn.bugzilla_feature (3.6.2.v20110908-0706) "Mylyn"
org.eclipse.mylyn.context_feature (3.6.2.v20110908-0706) "Mylyn"
org.eclipse.mylyn.ide_feature (3.6.2.v20110908-0706) "Mylyn"
org.eclipse.mylyn.java_feature (3.6.2.v20110908-0706) "Mylyn"
org.eclipse.mylyn.team_feature (3.6.2.v20110908-0706) "Mylyn"
org.eclipse.mylyn.wikitext_feature (1.5.2.v20110908-0706) "Mylyn"
org.eclipse.php (3.0.0.v20110516-1100-7V--F8NcJTTK4UE9TTJJ) "PDT Plug-
in"
org.eclipse.platform
(3.7.1.r37x_v20110729-9gF7UHOxFtniV7mI3T556iZN9AU8bEZ1lHMcVK) "Eclipse
Platform"
org.eclipse.rcp (3.7.1.r37x_v20110729-9DB5FmNFnFLSFCtLxnRfMqt15A4A)
"Eclipse RCP"
org.eclipse.wb.core.feature (1.1.0.r37x201109091012) "WindowBuilder
Core"
org.eclipse.wb.core.ui.feature (1.1.0.r37x201109091028) "WindowBuilder
Core UI"
org.eclipse.wb.layout.group.feature (1.1.0.r37x201109091112)
"WindowBuilder GroupLayout Support"
org.eclipse.wb.swing.feature (1.1.0.r37x201109091143) "Swing Designer"
org.eclipse.wst.jsdt.feature (1.3.1.v201108102009-7F78FXRFBBoPbXRPcHfz-
uy) "Eclipse JavaScript Development Tools"
org.eclipse.wst.xml_ui.feature
(3.3.1.v201108102009-7H7EFZ3DxumTlaI6nheRdHo2p1KaDIL1Uz-S3PL) "Eclipse
XML Editors and Tools"

On 30 Nov., 10:30, "martin.eisengardt"
<martin.eisenga...@googlemail.com> wrote:
> Is there any further information?)


>
> Please open the error log (Window->Show view-> error log). Retry and have a
> look at the errors that are being reported.
>
> As it says the filters are not applicable. Which jdk are you using to start
> eclipse? which os? I did not mean to filter any environment but maybe I
> forgot to remove some checkbox :-)
>
> Greetings
> Martin
>

Mael Champalaune

ungelesen,
21.12.2011, 08:58:5021.12.11
an Maven for PHP
Hi,

I have the same problem (Eclipse 3.7.1) but tested with many Eclipse
version.

Error log :
!SESSION 2011-12-21 14:40:41.310
-----------------------------------------------
eclipse.buildId=M20110909-1335
java.version=1.6.0_29
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.ecf.provider.filetransfer 4 0 2011-12-21
14:41:17.088
!MESSAGE
org.eclipse.core.runtime.Status[plugin=org.eclipse.ecf.provider.filetransfer;code=4;message=hardClose;severity4;exception=java.io.IOException:
Stream closed;children=[]]
!STACK 0
java.io.IOException: Stream closed
at java.io.BufferedInputStream.getBufIfOpen(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at
org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLengthInputStream.java:
170)
at
org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLengthInputStream.java:
184)
at
org.apache.commons.httpclient.ChunkedInputStream.exhaustInputStream(ChunkedInputStream.java:
369)
at
org.apache.commons.httpclient.ContentLengthInputStream.close(ContentLengthInputStream.java:
118)
at java.io.FilterInputStream.close(Unknown Source)
at
org.apache.commons.httpclient.AutoCloseInputStream.notifyWatcher(AutoCloseInputStream.java:
194)
at
org.apache.commons.httpclient.AutoCloseInputStream.close(AutoCloseInputStream.java:
158)
at
org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.hardClose(AbstractRetrieveFileTransfer.java:
331)
at
org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer.hardClose(HttpClientRetrieveFileTransfer.java:
396)
at
org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer.cancel(HttpClientRetrieveFileTransfer.java:
382)
at
org.eclipse.equinox.internal.p2.transport.ecf.FileReader.handleTransferEvent(FileReader.java:
173)
at
org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.fireTransferReceiveDataEvent(AbstractRetrieveFileTransfer.java:
388)
at
org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer.fireTransferReceiveDataEvent(HttpClientRetrieveFileTransfer.java:
1163)
at
org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.handleReceivedData(AbstractRetrieveFileTransfer.java:
288)
at
org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer
$1.performFileTransfer(AbstractRetrieveFileTransfer.java:173)
at
org.eclipse.ecf.filetransfer.FileTransferJob.run(FileTransferJob.java:
73)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
!SESSION 2011-12-21 14:42:11.052
-----------------------------------------------
eclipse.buildId=M20110909-1335
java.version=1.6.0_29
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.equinox.p2.operations 4 0 2011-12-21 14:42:43.520
!MESSAGE Operation details
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 1 2011-12-21
14:42:43.520
!MESSAGE Cannot complete the install because some dependencies are not
satisfiable
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2011-12-21
14:42:43.520
!MESSAGE org.phpmaven.eclipse.feature.feature.group
[2.0.0.201111111508] cannot be installed in this environment because
its filter is not applicable.

!ENTRY org.eclipse.equinox.p2.operations 4 0 2011-12-21 14:42:43.525
!MESSAGE Operation details
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 1 2011-12-21
14:42:43.525
!MESSAGE Cannot complete the install because some dependencies are not
satisfiable
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2011-12-21
14:42:43.525
!MESSAGE org.phpmaven.eclipse.feature.feature.group
[2.0.0.201111111508] cannot be installed in this environment because
its filter is not applicable.


Thanks for your help !



On 30 nov, 10:30, "martin.eisengardt"
<martin.eisenga...@googlemail.com> wrote:
> Is there any further information?
>
> Please open the error log (Window->Show view-> error log). Retry and have a
> look at the errors that are being reported.
>
> As it says the filters are not applicable. Which jdk are you using to start
> eclipse? which os? I did not mean to filter any environment but maybe I
> forgot to remove some checkbox :-)
>
> Greetings
> Martin
>
> On Tue, Nov 29, 2011 at 2:31 PM, Marc CHAKIACHVILI <m...@telecharger.com>wrote:> Hi all, I juste tried many times with many different eclipse installed

tocsa

ungelesen,
16.01.2012, 10:37:2516.01.12
an Maven for PHP
Same here on win7 64bit system, eclipse indigo 3.7.1.
Anyone has a solution for this problem?

eclipse.buildId=M20110909-1335
java.version=1.6.0_22
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product
org.eclipse.epp.package.jee.product

On 2011 dec. 1, 23:58, Marc CHAKIACHVILI <m...@telecharger.com> wrote:
> Hi, I am running Ubuntu 11.10, eclipse indigo java (eclipse-java-
> indigo-SR1-linux-gtk.tar.gz)
> Just made a new fresh install, just addes m2eclipse plugin from
> eclipse.org -maven embended version is 3.0.2)
> PDT 3.0, juste install following these stepshttp://wiki.eclipse.org/PDT/Installation#Eclipse_3.7_.2F_Indigo_.2F_P....

martin.eisengardt

ungelesen,
05.02.2012, 19:25:1405.02.12
an maven-...@googlegroups.com
I will reinvestigate on this soon. Sry for inactivity, guys.
However there are filters in the last build. I do not know why but I will remove them as we do not have any dependencies as long as the operating system (or more cleanly maven itself) can execute the php binary.

Allen antworten
Antwort an Autor
Weiterleiten
0 neue Nachrichten