Hi Job:
To add a plug-in to Che, you need to have the plugin & then add it to the Che assembly.
Get the PHP Plugin
There are two ways to get this:
1. Build it directly, or:
2. Reference from Codenvy's central nexus
To build directly:
2. mvn clean install.
3. This will build the JARs of all plugins and install them into your local maven repo.
Add Plugin to Che
You have to update a couple descriptor files and then tell Che to repackage itself. This is documented here.
1. Add plugin as dependency: Navigate to /che/assembly-sdk-war/ and open pom.xml. You will need to add your plug-in as a dependency.
<dependency>
<groupId>org.eclipse.che.plugin</groupId>
<artifactId>che-plugin-php-ext-php</artifactId>
<version>${che.plugins.version}</version>
</dependency>
2. Add plugin as IDE dependency: Navigate to /che/assembly-sdk-war/src/main/resources/com/codenvy/ide and open IDE.gwt.xml.
<inherits name="org.eclipse.che.ide.ext.php.PHP"/>
3. Rebuild Che. assembly-sdk/target/tomcat-ide/extInstall. This command will rebuild Che with the new dependencies.
4. Start Che. Start Che normally.
Let us know how it goes.