Skip to content

Commit 8caa05f

Browse files
committed
make maven config & README build section similar to Nodeclipse-1
1 parent d67c45a commit 8caa05f

File tree

2 files changed

+136
-49
lines changed

2 files changed

+136
-49
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ From base folder just run `mvn package`. Run offline when to re-build `mvn clean
167167
3. <kbd>Add...</kbd>
168168
4. <kbd>Archive...</kbd>
169169
5. Insert copied string into name and path.
170-
E.g. `C:\Users\pverest\git\nodeclipse-056\org.nodeclipse.site\target\org.nodeclipse.site-0.5.0-SNAPSHOT.zip`
170+
E.g. `C:\Users\pverest\git\coffeescript-eclipse\csep.site\target\csep.site-0.4.0-SNAPSHOT.zip`
171171

172172
For the next time just select the zip entry from Work With drop-down list.
173173

pom.xml

+135-48
Original file line numberDiff line numberDiff line change
@@ -7,58 +7,145 @@
77
<version>0.4.0-SNAPSHOT</version>
88
<packaging>pom</packaging>
99

10-
<prerequisites>
11-
<maven>3.0</maven>
12-
</prerequisites>
13-
14-
<properties>
15-
<tycho-version>0.18.1</tycho-version>
16-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17-
</properties>
10+
<!-- Information block, used within maven site
11+
More Project Information http://maven.apache.org/pom.html -->
12+
<name>coffeescript-eclipse (parent)</name>
13+
<description>
14+
CoffeeScript Editor for Eclipse
15+
</description>
16+
<organization>
17+
<name>Nodeclipse organization</name>
18+
<url>http://www.nodeclipse.org/</url>
19+
</organization>
20+
<!-- http://maven.apache.org/scm/git.html -->
21+
<scm>
22+
<url>https://github.com/nodeclipse/coffeescript-eclipse/</url>
23+
<connection>scm:git:https://github.com/Nodeclipse/coffeescript-eclipse.git</connection>
24+
<developerConnection>scm:git:https://github.com/Nodeclipse/coffeescript-eclipse.git</developerConnection>
25+
</scm>
26+
<issueManagement>
27+
<system>GitHub</system>
28+
<url>https://github.com/nodeclipse/coffeescript-eclipse/issues</url>
29+
</issueManagement>
30+
<ciManagement>
31+
<system>Travis CI</system>
32+
<url>http://travis-ci.org/Nodeclipse/coffeescript-eclipse</url>
33+
</ciManagement>
34+
<developers>
35+
<developer>
36+
<id>PaulVI</id>
37+
<name>Paul Verest</name>
38+
<email>[email protected]</email>
39+
<roles>
40+
<role>Developer</role>
41+
</roles>
42+
<timezone>+8</timezone>
43+
</developer>
44+
</developers>
45+
<contributors>
46+
</contributors>
1847

19-
<modules>
20-
<module>csep</module>
21-
<module>csep.ui</module>
22-
<!-- org.junit4 was renamed to org.junit in Kepler -->
23-
<module>csep.tests</module>
24-
<module>csep.feature</module>
25-
<module>csep.site</module>
26-
</modules>
2748

28-
<repositories>
29-
<repository>
30-
<id>kepler</id>
31-
<layout>p2</layout>
32-
<url>http://download.eclipse.org/releases/kepler</url>
33-
</repository>
49+
<prerequisites>
50+
<maven>3.0</maven>
51+
</prerequisites>
3452

35-
<repository>
36-
<id>xtext</id>
37-
<layout>p2</layout>
38-
<url>http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/</url>
39-
</repository>
53+
<properties>
54+
<tycho-version>0.18.1</tycho-version>
55+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
56+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
57+
</properties>
4058

41-
</repositories>
59+
<modules>
60+
<module>csep</module>
61+
<module>csep.ui</module>
62+
<!-- org.junit4 was renamed to org.junit in Kepler -->
63+
<module>csep.tests</module>
64+
<module>csep.feature</module>
65+
<module>csep.site</module>
66+
</modules>
4267

43-
<build>
44-
<plugins>
45-
<plugin>
46-
<groupId>org.eclipse.tycho</groupId>
47-
<artifactId>tycho-maven-plugin</artifactId>
48-
<version>${tycho-version}</version>
49-
<extensions>true</extensions>
50-
</plugin>
51-
<plugin>
52-
<groupId>org.eclipse.tycho</groupId>
53-
<artifactId>tycho-compiler-plugin</artifactId>
54-
<version>${tycho-version}</version>
55-
<configuration>
56-
<source>1.6</source>
57-
<target>1.6</target>
58-
</configuration>
59-
</plugin>
60-
</plugins>
61-
</build>
62-
68+
<repositories>
69+
<repository>
70+
<id>kepler</id>
71+
<layout>p2</layout>
72+
<url>http://download.eclipse.org/releases/kepler</url>
73+
</repository>
74+
<repository>
75+
<id>xtext</id>
76+
<layout>p2</layout>
77+
<url>http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/</url>
78+
</repository>
79+
</repositories>
80+
81+
<build>
82+
<plugins>
83+
<plugin>
84+
<groupId>org.eclipse.tycho</groupId>
85+
<artifactId>tycho-maven-plugin</artifactId>
86+
<version>${tycho-version}</version>
87+
<extensions>true</extensions>
88+
</plugin>
89+
<plugin>
90+
<groupId>org.eclipse.tycho</groupId>
91+
<artifactId>tycho-compiler-plugin</artifactId>
92+
<version>${tycho-version}</version>
93+
<configuration>
94+
<source>1.6</source>
95+
<target>1.6</target>
96+
</configuration>
97+
</plugin>
98+
99+
<plugin>
100+
<groupId>org.eclipse.tycho</groupId>
101+
<artifactId>target-platform-configuration</artifactId>
102+
<version>${tycho-version}</version>
103+
<configuration>
104+
<environments>
105+
<environment>
106+
<os>linux</os>
107+
<ws>gtk</ws>
108+
<arch>x86</arch>
109+
</environment>
110+
<environment>
111+
<os>linux</os>
112+
<ws>gtk</ws>
113+
<arch>x86_64</arch>
114+
</environment>
115+
<environment>
116+
<os>win32</os>
117+
<ws>win32</ws>
118+
<arch>x86</arch>
119+
</environment>
120+
<environment>
121+
<os>win32</os>
122+
<ws>win32</ws>
123+
<arch>x86_64</arch>
124+
</environment>
125+
<environment>
126+
<os>macosx</os>
127+
<ws>cocoa</ws>
128+
<arch>x86_64</arch>
129+
</environment>
130+
</environments>
131+
</configuration>
132+
</plugin>
133+
134+
<!-- mvn site -->
135+
<plugin>
136+
<groupId>org.apache.maven.plugins</groupId>
137+
<artifactId>maven-site-plugin</artifactId>
138+
<version>3.3</version>
139+
<dependencies>
140+
<dependency>
141+
<groupId>org.apache.maven.doxia</groupId>
142+
<artifactId>doxia-module-markdown</artifactId>
143+
<version>1.4</version>
144+
</dependency>
145+
</dependencies>
146+
</plugin>
147+
148+
</plugins>
149+
</build>
63150

64151
</project>

0 commit comments

Comments
 (0)