简体   繁体   中英

Adding dependency using Maven to eclipse-pdt in pom.xml

I am trying to import the parser from Eclipse PDT in a project using Maven, however, I cannot find how to do it.

I added the following in pom.xml :

<dependency>
    <groupId>org.eclipse.php</groupId>
    <artifactId>org.eclipse.php.core</artifactId>
    <version>5.2.0-SNAPSHOT</version>
</dependency>
<dependency>
    <groupId>org.eclipse.php</groupId>
    <artifactId>org.eclipse.php.core.parser</artifactId>
    <version>5.2.0-SNAPSHOT</version>
</dependency>

However, these packages are not located on https://repo.maven.apache.org/maven2 , like for example Eclipse JDT ( org.eclipse.jdt )

Is there a maven repository from where these packages (org.eclipse.php.core, org.eclipse.php.core.parser) can be downloaded using Maven, together with all their dependencies?

Since newer versions are not available in public Maven repositories, the following two ways to get the Eclipse PDT PHP parser JAR via Maven remain:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM