mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-09 16:30:29 +08:00
27c3949045
- .gitignore:显式放行全部 maven-*、scripts、dev-support、frontend、反1、artifacts、历史导出目录
- 新增跟踪:device-manager/device-sdk/legacy-public、davinci-manager、cwos-*、cwos-resource 等源码与附属资源
- davinci FileStorageManagerImpl:Feign Response 关闭、绝对 URL 拉流 SSRF 校验(协议/主机/解析地址)
- davinci OuterCallFeignClient:补充契约说明
- cwos-common-aks AksConstant:final 类 + 私有构造防误实例化
- device-manager DeviceConstant:沿用 DEFAULT_APPLICATIONID 拼写修正
Made-with: Cursor
Former-commit-id: 0a34c76a82
243 lines
9.5 KiB
XML
243 lines
9.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
|
|
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
|
|
|
|
Copyright (c) 2010-2016 Oracle and/or its affiliates. All rights reserved.
|
|
|
|
The contents of this file are subject to the terms of either the GNU
|
|
General Public License Version 2 only ("GPL") or the Common Development
|
|
and Distribution License("CDDL") (collectively, the "License"). You
|
|
may not use this file except in compliance with the License. You can
|
|
obtain a copy of the License at
|
|
http://glassfish.java.net/public/CDDL+GPL_1_1.html
|
|
or packager/legal/LICENSE.txt. See the License for the specific
|
|
language governing permissions and limitations under the License.
|
|
|
|
When distributing the software, include this License Header Notice in each
|
|
file and include the License file at packager/legal/LICENSE.txt.
|
|
|
|
GPL Classpath Exception:
|
|
Oracle designates this particular file as subject to the "Classpath"
|
|
exception as provided by Oracle in the GPL Version 2 section of the License
|
|
file that accompanied this code.
|
|
|
|
Modifications:
|
|
If applicable, add the following below the License Header, with the fields
|
|
enclosed by brackets [] replaced by your own identifying information:
|
|
"Portions Copyright [year] [name of copyright owner]"
|
|
|
|
Contributor(s):
|
|
If you wish your version of this file to be governed by only the CDDL or
|
|
only the GPL Version 2, indicate your decision by adding "[Contributor]
|
|
elects to include this software in this distribution under the [CDDL or GPL
|
|
Version 2] license." If you don't indicate a single choice of license, a
|
|
recipient has the option to distribute your version of this file under
|
|
either the CDDL, the GPL Version 2 or to extend the choice of license to
|
|
its licensees as provided above. However, if you add GPL Version 2 code
|
|
and therefore, elected the GPL Version 2 license, then the option applies
|
|
only if the new code is made subject to such option by the copyright
|
|
holder.
|
|
|
|
-->
|
|
<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/maven-v4_0_0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>com.sun.jersey</groupId>
|
|
<artifactId>jersey-project</artifactId>
|
|
<version>1.19.1</version>
|
|
</parent>
|
|
|
|
<artifactId>jersey-core</artifactId>
|
|
<packaging>jar</packaging>
|
|
<name>jersey-core</name>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>javax.ws.rs</groupId>
|
|
<artifactId>jsr311-api</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>javax.mail</groupId>
|
|
<artifactId>mail</artifactId>
|
|
<version>1.4</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.xml.bind</groupId>
|
|
<artifactId>jaxb-api</artifactId>
|
|
<version>2.1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.osgi</groupId>
|
|
<artifactId>org.osgi.core</artifactId>
|
|
<version>4.2.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>release</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<configuration>
|
|
<links>
|
|
<link>http://jsr311.java.net/nonav/releases/1.1</link>
|
|
</links>
|
|
<excludePackageNames>com.sun.jersey.core.impl:com.sun.jersey.impl</excludePackageNames>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>securityOff</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<argLine />
|
|
<excludes>
|
|
<exclude>**/SecurityTest.java</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
</resource>
|
|
<resource>
|
|
<directory>${basedir}/src/main/java</directory>
|
|
<excludes>
|
|
<exclude>**/*.java</exclude>
|
|
</excludes>
|
|
</resource>
|
|
</resources>
|
|
|
|
<testResources>
|
|
<testResource>
|
|
<directory>${basedir}/src/test/resources</directory>
|
|
<filtering>true</filtering>
|
|
</testResource>
|
|
</testResources>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>add-source</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>add-source</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sources>
|
|
<source>${project.build.directory}/generated-sources/rsrc-gen</source>
|
|
</sources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>com.sun.istack</groupId>
|
|
<artifactId>maven-istack-commons-plugin</artifactId>
|
|
<version>2.4</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>generate-sources</phase>
|
|
<configuration>
|
|
<resources>
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
<includes>
|
|
<include>**/*.properties</include>
|
|
</includes>
|
|
</resources>
|
|
<destDir>${project.build.directory}/generated-sources/rsrc-gen</destDir>
|
|
<localizationUtilitiesPkgName>com.sun.jersey.localization</localizationUtilitiesPkgName>
|
|
</configuration>
|
|
<goals>
|
|
<goal>rs-gen</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<instructions>
|
|
<Export-Package>
|
|
com.sun.jersey.*;-split-package:=merge-first
|
|
</Export-Package>
|
|
<Import-Package>javax.mail.*;resolution:=optional,*</Import-Package>
|
|
<Bundle-Activator>com.sun.jersey.core.osgi.Activator</Bundle-Activator>
|
|
<DynamicImport-Package>*</DynamicImport-Package>
|
|
<Private-Package>com.sun.jersey.core.osgi;-split-package:=merge-first</Private-Package>
|
|
<Implementation-Title>jersey-core osgi</Implementation-Title>
|
|
<Implementation-Version>${project.version}</Implementation-Version>
|
|
</instructions>
|
|
<unpackBundle>true</unpackBundle>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<forkCount>1</forkCount>
|
|
<reuseForks>true</reuseForks>
|
|
<argLine>
|
|
-Djava.security.manager -Djava.security.policy=${project.build.directory}/test-classes/core.policy
|
|
</argLine>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|