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