Permalink
Browse files

2.0.0 release

changed pear channel to zip
  • Loading branch information...
mepeisen committed Apr 24, 2012
1 parent d129b72 commit c63e4b0f93e4f632586947281df555600aff7986
Showing 69,330 changed files with 140,630 additions and 6,924,889 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
@@ -217,7 +217,7 @@ public void extractPharTo(File pharPackage, File targetDirectory, Log log)
final IPhpExecutable executable = execConfig.getPhpExecutable(log);
final String pharFileName = pharPackage.getAbsolutePath().replace("\\", "\\\\");
- final String files = executable.executeCode("-d suhosin.executor.include.whitelist=\"phar\"",
+ final String files = executable.executeCode("",
"$iter = new RecursiveIteratorIterator(new RecursiveDirectoryIterator(" +
"'phar://" + pharFileName + "'));\n" +
"foreach ($iter as $file) {\n" +
@@ -57,7 +57,7 @@
/**
* The service name.
*/
- @Configuration(name = "phpdocService", value = "PHP_EXE")
+ @Configuration(name = "phpdocService", value = "PEAR")
private String phpdocService;
/**
@@ -31,6 +31,7 @@
import org.phpmaven.pear.IPearChannel;
import org.phpmaven.pear.IPearConfiguration;
import org.phpmaven.pear.IPearUtility;
+import org.phpmaven.plugin.build.FileHelper;
import org.phpmaven.test.AbstractTestCase;
/**
@@ -466,6 +467,11 @@ private IPearChannel getChannel(final boolean install)
private MavenSession getSession() throws Exception {
// create the execution config
final MavenSession session = this.createSimpleSession("pear/empty-pom");
+ final File pearZip = new File(
+ session.getCurrentProject().getBasedir(),
+ "pear.php.net.zip");
+ final DefaultLog logger = new DefaultLog(new ConsoleLogger());
+ FileHelper.unzip(logger, pearZip, session.getCurrentProject().getBasedir());
return session;
}
@@ -14,6 +14,15 @@
<artifactId>maven-php-plugin</artifactId>
<version>2.0-SNAPSHOT</version>
<extensions>true</extensions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.phpmaven</groupId>
+ <artifactId>maven-php-phpdoc</artifactId>
+ <version>2.0.0</version>
+ <configuration>
+ <phpdocService>PHP_EXE</phpdocService>
+ </configuration>
</plugin>
<plugin>
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<channel version="1.0" xmlns="http://pear.php.net/channel-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/channel-1.0 http://pear.php.net/dtd/channel-1.0.xsd">
- <name>pear.php.net</name>
- <suggestedalias>pear</suggestedalias>
- <summary>PHP Extension and Application Repository</summary>
- <servers>
- <primary>
- <rest>
- <baseurl type="REST1.0">rest/</baseurl>
- <baseurl type="REST1.1">rest/</baseurl>
- <baseurl type="REST1.2">rest/</baseurl>
- <baseurl type="REST1.3">rest/</baseurl>
- </rest>
- </primary>
- <mirror host="us.pear.php.net">
- <rest>
- <baseurl type="REST1.0">http://us.pear.php.net/rest/</baseurl>
- <baseurl type="REST1.1">http://us.pear.php.net/rest/</baseurl>
- <baseurl type="REST1.2">http://us.pear.php.net/rest/</baseurl>
- <baseurl type="REST1.3">http://us.pear.php.net/rest/</baseurl>
- </rest>
- </mirror>
- <mirror host="de.pear.php.net" ssl="yes">
- <rest>
- <baseurl type="REST1.0">https://de.pear.php.net/rest/</baseurl>
- <baseurl type="REST1.1">https://de.pear.php.net/rest/</baseurl>
- <baseurl type="REST1.2">https://de.pear.php.net/rest/</baseurl>
- <baseurl type="REST1.3">https://de.pear.php.net/rest/</baseurl>
- </rest>
- </mirror>
- </servers>
-</channel>
@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<a xmlns="http://pear.php.net/dtd/rest.allcategories"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xsi:schemaLocation="http://pear.php.net/dtd/rest.allcategories
- http://pear.php.net/dtd/rest.allcategories.xsd">
-<ch>pear.php.net</ch>
- <c xlink:href="/rest/c/Audio/info.xml">Audio</c>
- <c xlink:href="/rest/c/Authentication/info.xml">Authentication</c>
- <c xlink:href="/rest/c/Benchmarking/info.xml">Benchmarking</c>
- <c xlink:href="/rest/c/Caching/info.xml">Caching</c>
- <c xlink:href="/rest/c/Configuration/info.xml">Configuration</c>
- <c xlink:href="/rest/c/Console/info.xml">Console</c>
- <c xlink:href="/rest/c/Database/info.xml">Database</c>
- <c xlink:href="/rest/c/Date%2Band%2BTime/info.xml">Date and Time</c>
- <c xlink:href="/rest/c/Encryption/info.xml">Encryption</c>
- <c xlink:href="/rest/c/Event/info.xml">Event</c>
- <c xlink:href="/rest/c/File%2BFormats/info.xml">File Formats</c>
- <c xlink:href="/rest/c/File%2BSystem/info.xml">File System</c>
- <c xlink:href="/rest/c/Gtk%2BComponents/info.xml">Gtk Components</c>
- <c xlink:href="/rest/c/Gtk2%2BComponents/info.xml">Gtk2 Components</c>
- <c xlink:href="/rest/c/GUI/info.xml">GUI</c>
- <c xlink:href="/rest/c/HTML/info.xml">HTML</c>
- <c xlink:href="/rest/c/HTTP/info.xml">HTTP</c>
- <c xlink:href="/rest/c/Images/info.xml">Images</c>
- <c xlink:href="/rest/c/Internationalization/info.xml">Internationalization</c>
- <c xlink:href="/rest/c/Logging/info.xml">Logging</c>
- <c xlink:href="/rest/c/Mail/info.xml">Mail</c>
- <c xlink:href="/rest/c/Math/info.xml">Math</c>
- <c xlink:href="/rest/c/Multimedia/info.xml">Multimedia</c>
- <c xlink:href="/rest/c/Networking/info.xml">Networking</c>
- <c xlink:href="/rest/c/Numbers/info.xml">Numbers</c>
- <c xlink:href="/rest/c/Payment/info.xml">Payment</c>
- <c xlink:href="/rest/c/PEAR/info.xml">PEAR</c>
- <c xlink:href="/rest/c/PEAR%2BWebsite/info.xml">PEAR Website</c>
- <c xlink:href="/rest/c/PHP/info.xml">PHP</c>
- <c xlink:href="/rest/c/Processing/info.xml">Processing</c>
- <c xlink:href="/rest/c/QA%2BTools/info.xml">QA Tools</c>
- <c xlink:href="/rest/c/Scheduling/info.xml">Scheduling</c>
- <c xlink:href="/rest/c/Science/info.xml">Science</c>
- <c xlink:href="/rest/c/Search%2BEngine/info.xml">Search Engine</c>
- <c xlink:href="/rest/c/Security/info.xml">Security</c>
- <c xlink:href="/rest/c/Semantic%2BWeb/info.xml">Semantic Web</c>
- <c xlink:href="/rest/c/Streams/info.xml">Streams</c>
- <c xlink:href="/rest/c/Structures/info.xml">Structures</c>
- <c xlink:href="/rest/c/System/info.xml">System</c>
- <c xlink:href="/rest/c/Testing/info.xml">Testing</c>
- <c xlink:href="/rest/c/Text/info.xml">Text</c>
- <c xlink:href="/rest/c/Tools%2Band%2BUtilities/info.xml">Tools and Utilities</c>
- <c xlink:href="/rest/c/Validate/info.xml">Validate</c>
- <c xlink:href="/rest/c/Version%2BControl/info.xml">Version Control</c>
- <c xlink:href="/rest/c/Web%2BServices/info.xml">Web Services</c>
- <c xlink:href="/rest/c/XML/info.xml">XML</c>
-</a>
Oops, something went wrong.

0 comments on commit c63e4b0

Please sign in to comment.