Lawrence
4 years ago
9 changed files with 3 additions and 220 deletions
@ -1,6 +0,0 @@ |
|||||
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice. |
|
||||
#Tue Jun 09 00:11:05 CST 2020 |
|
||||
jain-sip-ri-1.3.0-91-sources.jar>central= |
|
||||
jain-sip-ri-1.3.0-91-javadoc.jar>central= |
|
||||
jain-sip-ri-1.3.0-91.jar>central= |
|
||||
jain-sip-ri-1.3.0-91.pom>central= |
|
@ -1 +0,0 @@ |
|||||
a4527519db95e126ca97078517b5e12f93842c43 |
|
@ -1 +0,0 @@ |
|||||
b59f1151cd3fc21588427c870c2b48157b0f2599 |
|
@ -1 +0,0 @@ |
|||||
7d5228fb711bed1abd9c9c1423ef53bbe88eff9d |
|
@ -1,189 +0,0 @@ |
|||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||
<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>javax.sip</groupId> |
|
||||
<version>1.2.0</version> |
|
||||
<artifactId>jain-sip</artifactId> |
|
||||
<relativePath>../pom.xml</relativePath> |
|
||||
</parent> |
|
||||
|
|
||||
<groupId>javax.sip</groupId> |
|
||||
<artifactId>jain-sip-ri</artifactId> |
|
||||
<version>1.3.0-91</version> |
|
||||
<packaging>jar</packaging> |
|
||||
|
|
||||
<name>jain-sip-ri</name> |
|
||||
<url>http://code.google.com/p/jain-sip/</url> |
|
||||
<build> |
|
||||
<sourceDirectory>../../src</sourceDirectory> |
|
||||
<plugins> |
|
||||
<plugin> |
|
||||
<groupId>org.apache.maven.plugins</groupId> |
|
||||
<artifactId>maven-compiler-plugin</artifactId> |
|
||||
<version>2.3.2</version> |
|
||||
<configuration> |
|
||||
<source>1.7</source> |
|
||||
<target>1.7</target> |
|
||||
<includes> |
|
||||
<include>gov/nist/javax/sip/**</include> |
|
||||
<include>gov/nist/javax/sdp/**</include> |
|
||||
<include>gov/nist/core/**</include> |
|
||||
<include>javax/sdp/**</include> |
|
||||
</includes> |
|
||||
</configuration> |
|
||||
</plugin> |
|
||||
<plugin> |
|
||||
<groupId>org.apache.maven.plugins</groupId> |
|
||||
<artifactId>maven-source-plugin</artifactId> |
|
||||
<version>2.1.2</version> |
|
||||
<executions> |
|
||||
<execution> |
|
||||
<id>attach-sources</id> |
|
||||
<phase>verify</phase> |
|
||||
<goals> |
|
||||
<goal>jar</goal> |
|
||||
</goals> |
|
||||
</execution> |
|
||||
</executions> |
|
||||
</plugin> |
|
||||
<plugin> |
|
||||
<groupId>org.apache.maven.plugins</groupId> |
|
||||
<artifactId>maven-jar-plugin</artifactId> |
|
||||
<version>2.4</version> |
|
||||
<configuration> |
|
||||
<archive> |
|
||||
<manifest> |
|
||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
|
||||
</manifest> |
|
||||
<manifestEntries> |
|
||||
<Implementation-Build>${buildNumber}</Implementation-Build> |
|
||||
</manifestEntries> |
|
||||
</archive> |
|
||||
</configuration> |
|
||||
</plugin> |
|
||||
<plugin> |
|
||||
<groupId>org.apache.maven.plugins</groupId> |
|
||||
<artifactId>maven-javadoc-plugin</artifactId> |
|
||||
<version>2.8.1</version> |
|
||||
<executions> |
|
||||
<execution> |
|
||||
<id>attach-javadocs</id> |
|
||||
<phase>verify</phase> |
|
||||
<goals> |
|
||||
<goal>jar</goal> |
|
||||
</goals> |
|
||||
</execution> |
|
||||
</executions> |
|
||||
</plugin> |
|
||||
<plugin> |
|
||||
<groupId>org.sonatype.plugins</groupId> |
|
||||
<artifactId>nexus-staging-maven-plugin</artifactId> |
|
||||
<version>1.6.2</version> |
|
||||
<extensions>true</extensions> |
|
||||
<configuration> |
|
||||
<serverId>mobicents-releases-repository</serverId> |
|
||||
<nexusUrl>https://oss.sonatype.org/</nexusUrl> |
|
||||
</configuration> |
|
||||
<executions> |
|
||||
<execution> |
|
||||
<id>deploy-to-sonatype</id> |
|
||||
<phase>deploy</phase> |
|
||||
<goals> |
|
||||
<goal>deploy</goal> |
|
||||
<!--goal>close</goal--> |
|
||||
<goal>release</goal> |
|
||||
</goals> |
|
||||
</execution> |
|
||||
</executions> |
|
||||
</plugin> |
|
||||
</plugins> |
|
||||
<resources> |
|
||||
<resource> |
|
||||
<directory>target</directory> |
|
||||
<includes> |
|
||||
<include>gov/nist/javax/sip/**</include> |
|
||||
<include>gov/nist/javax/sdp/**</include> |
|
||||
<include>gov/nist/core/**</include> |
|
||||
<include>javax/sdp/**</include> |
|
||||
</includes> |
|
||||
<excludes> |
|
||||
<exclude>**/*.java</exclude> |
|
||||
</excludes> |
|
||||
</resource> |
|
||||
</resources> |
|
||||
</build> |
|
||||
|
|
||||
<profiles> |
|
||||
<profile> |
|
||||
<id>release</id> |
|
||||
<build> |
|
||||
<plugins> |
|
||||
<plugin> |
|
||||
<groupId>org.codehaus.mojo</groupId> |
|
||||
<artifactId>buildnumber-maven-plugin</artifactId> |
|
||||
<version>1.0</version> |
|
||||
<executions> |
|
||||
<execution> |
|
||||
<phase>validate</phase> |
|
||||
<goals> |
|
||||
<goal>create</goal> |
|
||||
</goals> |
|
||||
</execution> |
|
||||
</executions> |
|
||||
<configuration> |
|
||||
<doCheck>false</doCheck> |
|
||||
<doUpdate>false</doUpdate> |
|
||||
</configuration> |
|
||||
</plugin> |
|
||||
</plugins> |
|
||||
</build> |
|
||||
</profile> |
|
||||
</profiles> |
|
||||
|
|
||||
<dependencies> |
|
||||
<dependency> |
|
||||
<groupId>log4j</groupId> |
|
||||
<artifactId>log4j</artifactId> |
|
||||
<version>1.2.14</version> |
|
||||
<scope>provided</scope> |
|
||||
</dependency> |
|
||||
<dependency> |
|
||||
<groupId>javax.sip</groupId> |
|
||||
<artifactId>jain-sip-api</artifactId> |
|
||||
<version>1.2.0</version> |
|
||||
<scope>provided</scope> |
|
||||
</dependency> |
|
||||
</dependencies> |
|
||||
|
|
||||
<!-- repositories --> |
|
||||
<repositories> |
|
||||
<repository> |
|
||||
<id>maven2-repository.dev.java.net</id> |
|
||||
<name>Java.net Repository for Maven</name> |
|
||||
<url>http://download.java.net/maven/2/</url> |
|
||||
<layout>default</layout> |
|
||||
</repository> |
|
||||
<repository> |
|
||||
<id>mobicents-public-repository-group</id> |
|
||||
<name>Mobicens Public Maven Repository Group</name> |
|
||||
<url>https://oss.sonatype.org/content/groups/public</url> |
|
||||
<layout>default</layout> |
|
||||
<releases> |
|
||||
<enabled>true</enabled> |
|
||||
<updatePolicy>never</updatePolicy> |
|
||||
</releases> |
|
||||
<snapshots> |
|
||||
<enabled>true</enabled> |
|
||||
<updatePolicy>never</updatePolicy> |
|
||||
</snapshots> |
|
||||
</repository> |
|
||||
</repositories> |
|
||||
|
|
||||
<scm> |
|
||||
<connection>scm:git:https://code.google.com/p/jain-sip/</connection> |
|
||||
<developerConnection>scm:git:https://code.google.com/p/jain-sip/</developerConnection> |
|
||||
<url>https://code.google.com/p/jain-sip/</url> |
|
||||
</scm> |
|
||||
</project> |
|
@ -1 +0,0 @@ |
|||||
6c781b1392cd72b0c2cec3e513c9a728e6ef80fc |
|
@ -1,3 +0,0 @@ |
|||||
#Tue Jun 09 00:11:05 CST 2020 |
|
||||
central|https\://repo.maven.apache.org/maven2|javadoc=1591632665523 |
|
||||
central|https\://repo.maven.apache.org/maven2|sources=1591631486319 |
|
@ -1,17 +0,0 @@ |
|||||
根据GB28181-2016标准: |
|
||||
|
|
||||
联网系统内的IP网络接入设备应支持SIP信令的统一校时,接入设备应在注册时接受来自SIP服 |
|
||||
务器通过消息头Date域携带的授时。 |
|
||||
|
|
||||
而Data域返回的时间格式为: |
|
||||
Data: 2020-10-24T12:34:56.789 |
|
||||
|
|
||||
由于jain-sip-ri内的日期格式采用英式格式,使得DateHeader的输出变成: |
|
||||
Date: Sat, 24 Oct 2020 12:34:56 GMT |
|
||||
同时时区也强制变成格林尼治时间。 |
|
||||
|
|
||||
为此对jain-sip-ri依赖包进行了修改,改为符合国标的格式,增加毫秒的输出,时区改为系统默认。 |
|
||||
|
|
||||
# 使用方法: |
|
||||
将“1.3.0-92”文件夹复制到“C:\Users\用户名\.m2\repository\javax\sip\jain-sip-ri”文件夹中,重新编译运行。 |
|
||||
|
|
Loading…
Reference in new issue