Skip to content

Commit 08d6bea

Browse files
author
zhouyitu
committed
remove dependency for osgi bundle
1 parent 0ad24d7 commit 08d6bea

File tree

1 file changed

+29
-11
lines changed

1 file changed

+29
-11
lines changed

sources/net.sf.j2s.ajax/pom.xml

Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
<?xml version="1.0"?>
23
<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">
34
<modelVersion>4.0.0</modelVersion>
@@ -10,10 +11,10 @@
1011
<dependency>
1112
<groupId>javax.servlet</groupId>
1213
<artifactId>servlet-api</artifactId>
13-
1414
<version>3.0-alpha-1</version>
15+
<scope>provided</scope>
1516
</dependency>
16-
17+
<!--
1718
<dependency>
1819
<groupId>org.osgi</groupId>
1920
<artifactId>org.osgi.core</artifactId>
@@ -30,7 +31,7 @@
3031
3132
<dependency>
3233
33-
34+
3435
<groupId>org.eclipse.swt.win32.win32</groupId>
3536
<artifactId>x86</artifactId>
3637
@@ -67,21 +68,22 @@
6768
<artifactId>runtime</artifactId>
6869
<version>3.2.0-v20060603</version>
6970
</dependency>
71+
-->
7072

7173
<!-- dependency>
7274
<groupId>org.apache.felix</groupId>
7375
<artifactId>org.osgi.core</artifactId>
7476
<version>1.4.0</version>
7577
</dependency -->
7678

77-
79+
<!--
7880
<dependency>
7981
<groupId>eclipse</groupId>
8082
<artifactId>eclipse-jface</artifactId>
8183
<version>2.1.0</version>
8284
</dependency>
8385
84-
86+
-->
8587

8688

8789
</dependencies>
@@ -95,7 +97,7 @@
9597

9698

9799

98-
100+
<!--
99101
<plugin>
100102
<groupId>org.apache.felix</groupId>
101103
<artifactId>maven-bundle-plugin</artifactId>
@@ -128,7 +130,7 @@
128130
</configuration>
129131
</plugin>
130132
131-
133+
-->
132134

133135
<plugin>
134136
<groupId>org.codehaus.mojo</groupId>
@@ -143,15 +145,15 @@
143145
</goals>
144146
<configuration>
145147
<sources>
146-
<source>${basedir}/src/labs/java</source>
148+
<!-- source>${basedir}/src/labs/java</source -->
147149
<source>${basedir}/ajaxcore</source>
148150
<source>${basedir}/ajaxpipe</source>
149151
<source>${basedir}/ajaxrpc</source>
150-
<source>${basedir}/ajaxswt</source>
152+
<!-- source>${basedir}/ajaxswt</source-->
151153
<source>${basedir}/annotation</source>
152154
<source>${basedir}/generator</source>
153-
<source>${basedir}/src</source>
154-
<source>${basedir}/store</source>
155+
<!-- source>${basedir}/src</source -->
156+
<!-- source>${basedir}/store</source -->
155157

156158
</sources>
157159
</configuration>
@@ -191,6 +193,22 @@
191193
<fork>true</fork>
192194
</configuration>
193195
</plugin>
196+
197+
<plugin>
198+
<artifactId>maven-source-plugin</artifactId>
199+
<executions>
200+
<execution>
201+
<id>attach-sources</id>
202+
<phase>verify</phase>
203+
<goals>
204+
<goal>jar</goal>
205+
</goals>
206+
</execution>
207+
</executions>
208+
</plugin>
209+
194210
</plugins>
195211
</build>
196212
</project>
213+
214+

0 commit comments

Comments
 (0)