1-
21<?xml version =" 1.0" ?>
32<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/xsd/maven-4.0.0.xsd" >
4- <modelVersion >4.0.0</modelVersion >
5- <groupId >net.sf.j2s.ajax</groupId >
6- <artifactId >j2s-rpc</artifactId >
7- <version >1.0-SNAPSHOT</version >
8- <packaging >jar</packaging >
9-
10- <dependencies >
11- <dependency >
12- <groupId >javax.servlet</groupId >
13- <artifactId >servlet-api</artifactId >
14- <version >3.0-alpha-1</version >
15- <scope >provided</scope >
16- </dependency >
17- <!--
18- <dependency>
19- <groupId>org.osgi</groupId>
20- <artifactId>org.osgi.core</artifactId>
21- <version>4.2.0</version>
22- </dependency>
23-
24-
25-
26- <dependency>
27- <groupId>org.eclipse</groupId>
28- <artifactId>swt</artifactId>
29- <version>3.3.0-v3346</version>
30- </dependency>
31-
32- <dependency>
33-
34-
35- <groupId>org.eclipse.swt.win32.win32</groupId>
36- <artifactId>x86</artifactId>
37-
38- <version>3.3.0-v3346</version>
39-
40- </dependency>
41-
42-
43- <dependency>
44- <groupId>eclipse</groupId>
45- <artifactId>eclipse-runtime</artifactId>
46- <version>2.1.0</version>
47- </dependency>
48-
49- <dependency>
50- <groupId>org.eclipse.core</groupId>
51- <artifactId>runtime</artifactId>
52- <version>3.2.0-v20060603</version>
53- </dependency>
54-
55- <dependency>
56- <groupId>eclipse</groupId>
57- <artifactId>eclipse-runtime</artifactId>
58- <version>2.1.0</version>
59- </dependency>
60- <dependency>
61- <groupId>aspectj</groupId>
62- <artifactId>aspectjtools</artifactId>
63- <version>1.1.0</version>
64- </dependency>
65-
66- <dependency>
67- <groupId>org.eclipse.core</groupId>
68- <artifactId>runtime</artifactId>
69- <version>3.2.0-v20060603</version>
70- </dependency>
71- -->
72-
73- <!-- dependency>
74- <groupId>org.apache.felix</groupId>
75- <artifactId>org.osgi.core</artifactId>
76- <version>1.4.0</version>
77- </dependency -->
78-
79- <!--
80- <dependency>
81- <groupId>eclipse</groupId>
82- <artifactId>eclipse-jface</artifactId>
83- <version>2.1.0</version>
84- </dependency>
85-
86- -->
87-
88-
89- </dependencies >
90-
91- <build >
92-
93-
94-
95- <plugins >
96-
97-
98-
99-
100- <!--
101- <plugin>
102- <groupId>org.apache.felix</groupId>
103- <artifactId>maven-bundle-plugin</artifactId>
104- <version>1.4.0</version>
105- <extensions>true</extensions>
106- <configuration>
107- <pde>true</pde>
108- <archive>
109- <manifestFile>META-INF/MANIFEST.MF</manifestFile>
110- </archive>
111-
112- <_include>META-INF/MANIFEST.MF</_include>
113- <instructions>
114- <Export-Package>net.sf.j2s.ajax</Export-Package>
115- <Bundle-SymbolicName>net.sf.j2s.ajax; singleton:=true</Bundle-SymbolicName>
116- <Bundle-Name>Java2Script AJAX Support</Bundle-Name>
117- <Bundle-Version>2.0.0</Bundle-Version>
118- <Bundle-Activator>net.sf.j2s.ajax.AjaxPlugin</Bundle-Activator>
119- <Require-Bundle>org.eclipse.core.runtime,
120- org.eclipse.swt,
121- org.eclipse.jdt.core,
122- org.eclipse.core.resources,
123- org.eclipse.core.variables,
124- org.eclipse.jface</Require-Bundle>
125- <Import-Package>
126- org.osgi.framework,
127- *;resolution:=optional
128- </Import-Package>
129- </instructions>
130- </configuration>
131- </plugin>
132-
133- -->
134-
135- <plugin >
136- <groupId >org.codehaus.mojo</groupId >
137- <artifactId >build-helper-maven-plugin</artifactId >
138- <version >1.4</version >
139- <executions >
140- <execution >
141- <id >add-source</id >
142- <phase >generate-sources</phase >
143- <goals >
144- <goal >add-source</goal >
145- </goals >
146- <configuration >
147- <sources >
148- <!-- source>${basedir}/src/labs/java</source -->
149- <source >${basedir} /ajaxcore</source >
150- <source >${basedir} /ajaxpipe</source >
151- <source >${basedir} /ajaxrpc</source >
152- <!-- source>${basedir}/ajaxswt</source-->
153- <source >${basedir} /annotation</source >
154- <source >${basedir} /generator</source >
155- <!-- source>${basedir}/src</source -->
156- <!-- source>${basedir}/store</source -->
157-
158- </sources >
159- </configuration >
160- </execution >
161- </executions >
162- </plugin >
163-
164- <plugin >
165- <groupId >org.apache.maven.plugins</groupId >
166- <artifactId >maven-dependency-plugin</artifactId >
167- <executions >
168- <execution >
169- <id >copy-dependencies</id >
170- <phase >package</phase >
171- <goals >
172- <goal >copy-dependencies</goal >
173- </goals >
174- <configuration >
175- <outputDirectory >${project.build.directory} /alternateLocation</outputDirectory >
176- <overWriteReleases >false</overWriteReleases >
177- <overWriteSnapshots >false</overWriteSnapshots >
178- <overWriteIfNewer >true</overWriteIfNewer >
179- </configuration >
180- </execution >
181- </executions >
182- </plugin >
183-
184- <plugin >
185- <groupId >org.apache.maven.plugins</groupId >
186- <artifactId >maven-compiler-plugin</artifactId >
187- <version >2.3.2</version >
188- <configuration >
189- <source >1.6</source >
190- <target >1.6</target >
191- <showDeprecation >true</showDeprecation >
192- <showWarnings >true</showWarnings >
193- <executable >${JAVA_HOME} /bin/javac</executable >
194- <fork >true</fork >
195- </configuration >
196- </plugin >
197-
198- <plugin >
199- <artifactId >maven-source-plugin</artifactId >
200- <executions >
201- <execution >
202- <id >attach-sources</id >
203- <phase >verify</phase >
204- <goals >
205- <goal >jar</goal >
206- </goals >
207- </execution >
208- </executions >
209- </plugin >
210-
211- </plugins >
212- </build >
213- </project >
214-
215-
3+ <modelVersion >4.0.0</modelVersion >
4+ <groupId >net.sf.j2s</groupId >
5+ <artifactId >j2s-ajax</artifactId >
6+ <version >2.1.1</version >
7+ <packaging >jar</packaging >
8+ <dependencies >
9+ </dependencies >
10+ <build >
11+ <sourceDirectory >annotation</sourceDirectory >
12+ <plugins >
13+ <plugin >
14+ <groupId >org.codehaus.mojo</groupId >
15+ <artifactId >build-helper-maven-plugin</artifactId >
16+ <executions >
17+ <execution >
18+ <phase >generate-sources</phase >
19+ <goals ><goal >add-source</goal ></goals >
20+ <configuration >
21+ <sources >
22+ <source >generator</source >
23+ <source >ajaxcore</source >
24+ <source >ajaxrpc</source >
25+ <source >ajaxpipe</source >
26+ </sources >
27+ </configuration >
28+ </execution >
29+ </executions >
30+ </plugin >
31+ <plugin >
32+ <groupId >org.apache.maven.plugins</groupId >
33+ <artifactId >maven-dependency-plugin</artifactId >
34+ <executions >
35+ <execution >
36+ <id >copy-dependencies</id >
37+ <phase >package</phase >
38+ <goals >
39+ <goal >copy-dependencies</goal >
40+ </goals >
41+ <configuration >
42+ <outputDirectory >${project.build.directory} /alternateLocation</outputDirectory >
43+ <overWriteReleases >false</overWriteReleases >
44+ <overWriteSnapshots >false</overWriteSnapshots >
45+ <overWriteIfNewer >true</overWriteIfNewer >
46+ </configuration >
47+ </execution >
48+ </executions >
49+ </plugin >
50+ <plugin >
51+ <groupId >org.apache.maven.plugins</groupId >
52+ <artifactId >maven-compiler-plugin</artifactId >
53+ <configuration >
54+ <source >1.6</source >
55+ <target >1.6</target >
56+ <showDeprecation >true</showDeprecation >
57+ <showWarnings >true</showWarnings >
58+ <executable >${JAVA_HOME} /bin/javac</executable >
59+ <fork >true</fork >
60+ </configuration >
61+ </plugin >
62+ <plugin >
63+ <groupId >org.apache.maven.plugins</groupId >
64+ <artifactId >maven-source-plugin</artifactId >
65+ <version >2.2.1</version >
66+ <executions >
67+ <execution >
68+ <id >attach-sources</id >
69+ <goals >
70+ <goal >jar</goal >
71+ </goals >
72+ </execution >
73+ </executions >
74+ </plugin >
75+ </plugins >
76+ </build >
77+ </project >
0 commit comments