Commons Exec.
A library to reliably execute external processes from within the JVM.
Here is the list of declaration for commons-exec. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-exec</artifactId> <version>1.1</version> </dependency>
If you think this Maven repository POM file listing for commons-exec is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Apache License.
The commons-exec-1.1 has 1 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
JUnit | junit 3.8.1 JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. | 1966 |
The following table lists the most popular artifacts which are depending on commons-exec-1.1. Their categories and depend by count are also listed.
Category | Artifact | Depended By Count |
---|---|---|
Network | operadriver 1.5 OperaDriver is a vendor-supported WebDriver implementation developed by Opera Software and volunteers that implements WebDriver's wire protocol. | 12 |
Network | operadriver 1.1 OperaDriver is a vendor-supported WebDriver implementation developed by Opera Software and volunteers that implements WebDriver's wire protocol. | 21 |
The following plugins are used in the commons-exec-1.1.jar
The following packages are defined in the commons-exec-1.1.jar
org.apache.commons.exec org.apache.commons.exec.environment org.apache.commons.exec.launcher org.apache.commons.exec.util
Here is the content of the POM file.
<?xml version="1.0"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You 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. --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <groupId>org.apache.commons</groupId> <artifactId>commons-parent</artifactId> <version>17</version> </parent> <modelVersion>4.0.0</modelVersion> <name>Commons Exec</name> <groupId>org.apache.commons</groupId> <artifactId>commons-exec</artifactId> <version>1.1</version> <description>A library to reliably execute external processes from within the JVM</description> <url>http://commons.apache.org/exec/</url> <issueManagement> <system>jira</system> <url>http://issues.apache.org/jira/browse/EXEC</url> </issueManagement> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <!-- Must agree with the version in build.xml --> <version>3.8.1</version> <scope>test</scope> </dependency> </dependencies> <contributors> <contributor> <name>Niklas Gustavsson</name> </contributor> <contributor> <name>Benjamin Bentmann</name> </contributor> <contributor> <name>Marco Ferrante</name> </contributor> <contributor> <name>Jerome Lacoste</name> </contributor> <contributor> <name>Milos Kleint</name> </contributor> <contributor> <name>Pablo Hoertner</name> </contributor> <contributor> <name>Niall Pemberton</name> </contributor> </contributors> <scm> <connection>scm:svn:http://svn.apache.org/repos/asf/commons/proper/exec/tags/COMMONS_EXEC_1_1_RC1</connection> <developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/exec/tags/COMMONS_EXEC_1_1_RC1</developerConnection> <url>http://svn.apache.org/viewvc/commons/proper/exec/tags/COMMONS_EXEC_1_1_RC1</url> </scm> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <excludes> <exclude>**/TestUtil.java</exclude> </excludes> </configuration> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <descriptors> <descriptor>src/assembly/bin.xml</descriptor> <descriptor>src/assembly/src.xml</descriptor> </descriptors> <tarLongFileMode>gnu</tarLongFileMode> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifest> <addDefaultImplementationEntries>true</addDefaultImplementationEntries> <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> </manifest> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.0</version> <configuration> <mavenExecutorId>forked-path</mavenExecutorId> </configuration> </plugin> </plugins> </build> <distributionManagement> <site> <id>website</id> <name>Apache Website</name> <url>${commons.deployment.protocol}://people.apache.org/www/commons.apache.org/exec/</url> </site> </distributionManagement> <reporting> <plugins> <!-- generate the changes report from changes.xml --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-changes-plugin</artifactId> <version>2.0</version> <configuration> <issueLinkTemplate>%URL%/%ISSUE%</issueLinkTemplate> </configuration> <reportSets> <reportSet> <reports> <report>changes-report</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>1.2</version> <configuration> <threshold>Normal</threshold> <effort>Default</effort> <excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile> </configuration> </plugin> </plugins> </reporting> <profiles> <!-- enable this profile if you like to create cobertura report not being part of the official website --> <profile> <id>coverage</id> <reporting> <plugins> <!-- Avoid broken Cobertura 2.1 plugin --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>2.0</version> </plugin> </plugins> </reporting> </profile> <profile> <id>rc</id> <distributionManagement> <!-- Cannot define in parent ATM, see COMMONSSITE-26 --> <site> <id>apache.website</id> <name>Apache Commons Release Candidate Staging Site</name> <url> ${commons.deployment.protocol}://people.apache.org/www/people.apache.org/builds/commons/${commons.componentid}/${commons.release.version}/${commons.rc.version}/site </url> </site> </distributionManagement> </profile> <profile> <!-- Create archives containing stand-alone test cases --> <!-- e.g. mvn assembly:assembly -Ptest-distribution [-DskipTests] --> <id>test-distribution</id> <build> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <descriptors> <descriptor>src/assembly/test-distribution.xml</descriptor> </descriptors> <tarLongFileMode>gnu</tarLongFileMode> </configuration> <executions> <execution> <phase>package</phase> <goals> <goal>assembly</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifest> <addDefaultImplementationEntries>true</addDefaultImplementationEntries> <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> </manifest> </archive> </configuration> <executions> <execution> <goals> <goal>jar</goal> <goal>test-jar</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <properties> <!-- Compiler source and target JVM (see parent pom). Must agree with versions in build.xml --> <maven.compile.source>1.3</maven.compile.source> <maven.compile.target>1.3</maven.compile.target> <test>*Test</test> <commons.componentid>exec</commons.componentid> <commons.jira.id>EXEC</commons.jira.id> <commons.jira.pid>12310814</commons.jira.pid> <commons.release.version>1.1</commons.release.version> <!-- The RC version used in the staging repository URL. --> <commons.rc.version>RC1</commons.rc.version> <!-- Tell M2 not to use platform specific encodings for copying resources --> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> </properties> </project>