Maven composer plugin

Composer Maven dependency management plugin

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

uk.co.codezen
ArtifactId

ArtifactId

composer-maven-plugin
Last Version

Last Version

1.1
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

Maven composer plugin
Composer Maven dependency management plugin
Source Code Management

Source Code Management

https://github.com/spaulg/composer-maven-plugin

Download composer-maven-plugin

How to add to project

<plugin>
    <groupId>uk.co.codezen</groupId>
    <artifactId>composer-maven-plugin</artifactId>
    <version>1.1</version>
</plugin>

Dependencies

compile (3)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 3.2.3
org.apache.maven : maven-compat jar 3.2.3
org.apache.httpcomponents : httpclient jar 4.3.6

provided (1)

Group / Artifact Type Version
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.3

test (3)

Group / Artifact Type Version
junit : junit jar 4.11
org.apache.maven.plugin-testing : maven-plugin-testing-harness jar 3.2.0
org.slf4j : slf4j-simple jar 1.7.7

Project Modules

There are no modules declared in this project.

composer-maven-plugin

PHP Composer maven plugin for running composer.phar install or update actions for a PHP composer project.

Add this plugin as a plugin dependency to your Maven projects to install composer dependencies found in a composer.json file

Usage

Add the plugin to the section within your pom.xml file.

<plugins>
    <plugin>
        <groupId>uk.co.codezen</groupId>
        <artifactId>composer-maven-plugin</artifactId>
        <version>1.0</version>

        <configuration>
            <phpPath>/usr/bin/php</phpPath>
            <composerPharPath>src/main/php/composer.phar</composerPharPath>
            <composerJsonPath>src/main/php/composer.json</composerJsonPath>
            <withDev>false</withDev>
            <withOptimisedAutoloader>true</withOptimisedAutoloader>
        </configuration>

        <executions>
            <execution>
                <phase>process-resources</phase>
                <goals>
                    <goal>install</goal>
                </goals>
            </execution>
        </executions>
    </plugin>
</plugins>

License

Copyright 2014 Simon Paulger [email protected]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Versions

Version
1.1
1.0