Re: Problem with maven for php

2012-06-27 Thread martin.eisengardt
You would have better luck on a maven php mailing list than here as this is specific to that php plugin. And that google group is located at https://groups.google.com/forum/?fromgroups#!forum/maven-for-php Berrie already says: The zend archetype is available with version 2.0.0

Re: Maven with JDK 7

2012-06-27 Thread martin.eisengardt
O_o I reported a bug at bugzilla related to m2e: https://bugs.eclipse.org/bugs/show_bug.cgi?id=362418 As I see this mail I am wondering if this is the same cause. Maybe my command line uses another jdk (1.6) and thus it works perfect. I know that my eclipse is using a 1.7 jdk. I will give it a

Re: compile plugin

2012-06-25 Thread martin.eisengardt
I found another way: http://maven.apache.org/guides/mini/guide-using-toolchains.html It seems to be pretty nice. However it still requires to change your pom.xml and add the toolchain plugin (f.e. in a parent-pom). The configuration is located in your toolchain.xml locally on the workstation

Re: Usage of self written plugin - Maven wants to download JAR of the parent

2012-06-14 Thread martin.eisengardt
Have you added this parent pom as a dependency? Parent-poms ahould onlybe specified with tag parent and not via dependency.

Re: Plugin execution not covered by lifecycle configuration

2012-06-14 Thread martin.eisengardt
You should provide a small eclipse plugin that tells m2e what to do (for example simply execute the mojo). Everyone that wants to use your mojo should install this small plugin. The reason is simple: Some mojos are not executed by m2e. For example the java-compiler mojo is ignored and the

Re: [mojo-user] [ANN] JSZip Maven Plugin 0.1-alpha-1 released

2012-06-02 Thread martin.eisengardt
Hi. I would like to help too. Especially with Extjs :) Greetings Martin

Re: Maven using eclipse

2012-05-22 Thread martin.eisengardt
Another option is a multiproject layout. Guess you have the following layout in svn/git: -- project a - dependency a -- dependency a-2 - dependency b -- project b depdendency c If you checkout project a you receive the dependencies and can right click on it and import

Re: Re: apache httpd plugin

2012-05-22 Thread martin.eisengardt
Of course I can use the maven-exec-plugin. This will cause the build file to have two different configurations, one for windows, one for *ix. I will need to have a configuration file (going through filtering because of document-root setting to target/classes for example). That's possible. Let me

apache httpd plugin

2012-05-21 Thread martin.eisengardt
Hi. I looked around for some apache plugin (apache httpd) and did not find any. So my first question is: Does anyone know of a project? Google seems not to find any and in official repository there seems to be no match. The main reason I need it is because some non-java web applications will

Re: apache httpd plugin

2012-05-21 Thread martin.eisengardt
Yes, Starting/stopping Deploying to an instance (whatever that means) The most important thing I was thinking of is testing. That means testing a web application with apache httpd and selenium. Testing a web app that requires mod_rewrite won't work at the moment because tomcat and jetty are not

[ANN] Php Maven Plugin 2.0 released.

2012-04-24 Thread martin.eisengardt
Hi, The Maven for PHP team proudly announces the release of Version 2.0.0 of the PHP Maven plugin set (depending on maven 3). Details about the release notes can be found in our google groups: https://groups.google.com/forum/?fromgroups#!topic/maven-for-php/Z9sZ4xoWUoQ The php plugins enables

Re: Maven 3.0.3 hanging / having timeouts often?

2012-04-23 Thread martin.eisengardt
I got some similar problems. https://bugs.eclipse.org/bugs/show_bug.cgi?id=362418 Seems that java itself or maven or any other thing is not liking my aviara firewall or my network device. There are some other java apps that sometime have the same connection problems resulting in timeouts. Are

Re: unavailable repos - what to do?

2012-04-20 Thread martin.eisengardt
This one should be available in official maven repository (maven central): http://mvnrepository.com/artifact/commons-httpclient/commons-httpclient Generally spoken: If a maven repository is not available you cannot do anything. As long as you do not host a mirror or have downloaded it on any

Re: unavailable repos - what to do?

2012-04-20 Thread martin.eisengardt
Check the group id in the install-file command. It should be the standard commons-httpclient so the group should be called commons-httpclient too. 2012/4/20 Agata Chrobak mima...@gmail.com W dniu 20 kwietnia 2012 09:26 użytkownik martin.eisengardt martin.eisenga...@googlemail.com napisał

Re: unavailable repos - what to do?

2012-04-20 Thread martin.eisengardt
Is the repository part of your pom.xml or your settings? Then try to comment it as long as it does not work. 2012/4/20 Agata Chrobak mima...@gmail.com i changed it, butstill does not work W dniu 20 kwietnia 2012 10:49 użytkownik martin.eisengardt martin.eisenga...@googlemail.com napisał

Re: Maven 2 to 3 migration problem

2012-04-19 Thread martin.eisengardt
I see. You are using the java dependencies for build plugins? Otherwise this won't make any sense. Dependencies for build plugins should be defined alongside the build plugin itself and not at the regular dependencies. The top level dependencies tag is used for the project dependencies. See

Re: The Maven Way

2012-04-19 Thread martin.eisengardt
Just my two cents. I did not fully ready every post on this topic but the most of them. If anyone mentioned it before please forgive me :) Please do think of the target audience before planning this type of documentation section. And do think of the way they are usually learning things. The maven

Re: Maven for both java and zend

2012-04-18 Thread martin.eisengardt
Hi. First of all: You can of course use the same repository for multiple artifacts, packagings and project types. And yes, you can use the same settings.xml file for both. However that depends on the question what is inside the settings.xml. If there is anything inside it that is incompatible

Re: Maven for both java and zend

2012-04-18 Thread martin.eisengardt
If it is not part of the java servlet and thus not part of the war file you should devide php code from java code. For example you have the following scenario: web browser connects to web server (apache) and php files. php file connects to tomcat/java servlet via SoapClient In this scenario you

Re: Maven for both java and zend

2012-04-18 Thread martin.eisengardt
As far as I understood your scenario the one and only call between your php code and java code is some kind of request (maybe via soap?). So the php code does not become part of the java servlet and the java servlet does not know anything of the php code. You can use ear for the java artifact. The

Re: Maven for both java and zend

2012-04-18 Thread martin.eisengardt
There is no book available yet. I am writing on a German book (related to maven for php) that will cover some scenarios. Maybe someone wants to translate it ;-) I do not think that anyone covered your scenario via maven. I did not find any scenarios related to apache httpd (which would the

Re: Maven 2 to 3 migration problem

2012-04-18 Thread martin.eisengardt
Yes, this will solve some of the warnings. But maybe there is an issue with php-maven too. I am wondering why php-maven complains to understand apache-httpclient dependency. Is one of your dependencies a java project? Maybe this is an issue with php-maven too that it behaves wrong with some types

Re: configuration plugin

2012-04-03 Thread martin.eisengardt
Profiles appear to be magic but it is black magic. Nice wording ;-) I already use profiles to manage our hudson build of the maven plugin. And yes: You are able to brake your projects if you do not know what to do. My lvl85 gnome mage is able to create a greater-flux-compensation-knife that will

Re: configuration plugin

2012-04-03 Thread martin.eisengardt
Hmmm. I did not mean to get a php solution. I am trying to find a solution for maven (if it exists). Hoping that in java or any other language anyone did have a similar problem. Or let me say a similar vision. Ok, there are three solutions: assembly, shade, creating productional artifact

configuration plugin

2012-04-02 Thread martin.eisengardt
Hi. I am looking for a configuration plugin or (if it does not exist) some brainstorming related to the maven-way of configuration. First let me say that the configuration task is relevant for our php-maven projects where we do not have clear conventions you may know from java/jar or java/war

configuration plugin

2012-04-02 Thread martin.eisengardt
Hi. I am looking for a configuration plugin or (if it does not exist) some brainstorming related to the maven-way of configuration. First let me say that the configuration task is relevant for our php-maven projects where we do not have clear conventions sou may know from java/jar or java/war