Skip to content

Commit

Permalink
#40 Maven build example (Node.js bundles & Chromdevtools are not
Browse files Browse the repository at this point in the history
included)
  • Loading branch information
Paul Verest 伟保罗 committed Aug 19, 2013
1 parent fed8a59 commit 9ea7380
Show file tree
Hide file tree
Showing 8 changed files with 165 additions and 0 deletions.
18 changes: 18 additions & 0 deletions chromedevtools/plugins/org.chromium.debug.ui/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.chromium.parent</groupId>
<artifactId>parent</artifactId>
<version>0.3.9-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>

<artifactId>org.chromium.debug.ui</artifactId>
<packaging>eclipse-plugin</packaging>

</project>

18 changes: 18 additions & 0 deletions chromedevtools/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.nodeclipse.nodeclipse-1</groupId>
<artifactId>parent</artifactId>
<version>0.5.0-SNAPSHOT</version>
</parent>

<artifactId>org.chromium.parent</artifactId>
<version>0.3.9-SNAPSHOT</version>
<packaging>pom</packaging>

</project>

17 changes: 17 additions & 0 deletions org.nodeclipse.debug/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.nodeclipse.nodeclipse-1</groupId>
<artifactId>parent</artifactId>
<version>0.5.0-SNAPSHOT</version>
</parent>

<artifactId>org.nodeclipse.debug</artifactId>
<packaging>eclipse-plugin</packaging>

</project>

17 changes: 17 additions & 0 deletions org.nodeclipse.feature/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.nodeclipse.nodeclipse-1</groupId>
<artifactId>parent</artifactId>
<version>0.5.0-SNAPSHOT</version>
</parent>

<artifactId>org.nodeclipse.feature</artifactId>
<packaging>eclipse-feature</packaging>

</project>

7 changes: 7 additions & 0 deletions org.nodeclipse.site/category.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature url="features/org.nodeclipse_0.5.0.qualifier.jar" id="org.nodeclipse" version="0.5.0.qualifier">
<category name="nodeclipse"/>
</feature>
<category-def name="nodeclipse" label="Nodeclipse"/>
</site>
15 changes: 15 additions & 0 deletions org.nodeclipse.site/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.nodeclipse.nodeclipse-1</groupId>
<artifactId>parent</artifactId>
<version>0.5.0-SNAPSHOT</version>
</parent>

<artifactId>org.nodeclipse.site</artifactId>
<packaging>eclipse-repository</packaging>
</project>
17 changes: 17 additions & 0 deletions org.nodeclipse.ui/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.nodeclipse.nodeclipse-1</groupId>
<artifactId>parent</artifactId>
<version>0.5.0-SNAPSHOT</version>
</parent>

<artifactId>org.nodeclipse.ui</artifactId>
<packaging>eclipse-plugin</packaging>

</project>

56 changes: 56 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>

<groupId>org.nodeclipse.nodeclipse-1</groupId>
<artifactId>parent</artifactId>
<version>0.5.0-SNAPSHOT</version>
<packaging>pom</packaging>

<prerequisites>
<maven>3.0</maven>
</prerequisites>

<properties>
<tycho-version>0.18.1</tycho-version>
</properties>

<modules>
<module>org.nodeclipse.ui</module>
<module>chromedevtools</module>
<module>chromedevtools/plugins/org.chromium.debug.ui</module>
<module>org.nodeclipse.debug</module>
<module>org.nodeclipse.feature</module>
<module>org.nodeclipse.site</module>
</modules>

<repositories>
<repository>
<id>kepler</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/kepler</url>
</repository>
</repositories>

<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho-version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>


</project>

0 comments on commit 9ea7380

Please sign in to comment.