Commit 5a3780aef982c1717303db7629f9dcd96078e5f4
1 parent
7c6a290e
指向本地jain-sip-ri包
Showing
9 changed files
with
3 additions
and
220 deletions
jain-sip-ri/1.3.0-92/_remote.repositories deleted
100644 → 0
| 1 | -#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice. | ||
| 2 | -#Tue Jun 09 00:11:05 CST 2020 | ||
| 3 | -jain-sip-ri-1.3.0-91-sources.jar>central= | ||
| 4 | -jain-sip-ri-1.3.0-91-javadoc.jar>central= | ||
| 5 | -jain-sip-ri-1.3.0-91.jar>central= | ||
| 6 | -jain-sip-ri-1.3.0-91.pom>central= |
jain-sip-ri/1.3.0-92/jain-sip-ri-1.3.0-92-javadoc.jar.sha1 deleted
100644 → 0
jain-sip-ri/1.3.0-92/jain-sip-ri-1.3.0-92-sources.jar.sha1 deleted
100644 → 0
jain-sip-ri/1.3.0-92/jain-sip-ri-1.3.0-92.jar.sha1 deleted
100644 → 0
jain-sip-ri/1.3.0-92/jain-sip-ri-1.3.0-92.pom deleted
100644 → 0
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
| 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/maven-v4_0_0.xsd"> | ||
| 3 | - | ||
| 4 | - <modelVersion>4.0.0</modelVersion> | ||
| 5 | - <parent> | ||
| 6 | - <groupId>javax.sip</groupId> | ||
| 7 | - <version>1.2.0</version> | ||
| 8 | - <artifactId>jain-sip</artifactId> | ||
| 9 | - <relativePath>../pom.xml</relativePath> | ||
| 10 | - </parent> | ||
| 11 | - | ||
| 12 | - <groupId>javax.sip</groupId> | ||
| 13 | - <artifactId>jain-sip-ri</artifactId> | ||
| 14 | - <version>1.3.0-91</version> | ||
| 15 | - <packaging>jar</packaging> | ||
| 16 | - | ||
| 17 | - <name>jain-sip-ri</name> | ||
| 18 | - <url>http://code.google.com/p/jain-sip/</url> | ||
| 19 | - <build> | ||
| 20 | - <sourceDirectory>../../src</sourceDirectory> | ||
| 21 | - <plugins> | ||
| 22 | - <plugin> | ||
| 23 | - <groupId>org.apache.maven.plugins</groupId> | ||
| 24 | - <artifactId>maven-compiler-plugin</artifactId> | ||
| 25 | - <version>2.3.2</version> | ||
| 26 | - <configuration> | ||
| 27 | - <source>1.7</source> | ||
| 28 | - <target>1.7</target> | ||
| 29 | - <includes> | ||
| 30 | - <include>gov/nist/javax/sip/**</include> | ||
| 31 | - <include>gov/nist/javax/sdp/**</include> | ||
| 32 | - <include>gov/nist/core/**</include> | ||
| 33 | - <include>javax/sdp/**</include> | ||
| 34 | - </includes> | ||
| 35 | - </configuration> | ||
| 36 | - </plugin> | ||
| 37 | - <plugin> | ||
| 38 | - <groupId>org.apache.maven.plugins</groupId> | ||
| 39 | - <artifactId>maven-source-plugin</artifactId> | ||
| 40 | - <version>2.1.2</version> | ||
| 41 | - <executions> | ||
| 42 | - <execution> | ||
| 43 | - <id>attach-sources</id> | ||
| 44 | - <phase>verify</phase> | ||
| 45 | - <goals> | ||
| 46 | - <goal>jar</goal> | ||
| 47 | - </goals> | ||
| 48 | - </execution> | ||
| 49 | - </executions> | ||
| 50 | - </plugin> | ||
| 51 | - <plugin> | ||
| 52 | - <groupId>org.apache.maven.plugins</groupId> | ||
| 53 | - <artifactId>maven-jar-plugin</artifactId> | ||
| 54 | - <version>2.4</version> | ||
| 55 | - <configuration> | ||
| 56 | - <archive> | ||
| 57 | - <manifest> | ||
| 58 | - <addDefaultImplementationEntries>true</addDefaultImplementationEntries> | ||
| 59 | - </manifest> | ||
| 60 | - <manifestEntries> | ||
| 61 | - <Implementation-Build>${buildNumber}</Implementation-Build> | ||
| 62 | - </manifestEntries> | ||
| 63 | - </archive> | ||
| 64 | - </configuration> | ||
| 65 | - </plugin> | ||
| 66 | - <plugin> | ||
| 67 | - <groupId>org.apache.maven.plugins</groupId> | ||
| 68 | - <artifactId>maven-javadoc-plugin</artifactId> | ||
| 69 | - <version>2.8.1</version> | ||
| 70 | - <executions> | ||
| 71 | - <execution> | ||
| 72 | - <id>attach-javadocs</id> | ||
| 73 | - <phase>verify</phase> | ||
| 74 | - <goals> | ||
| 75 | - <goal>jar</goal> | ||
| 76 | - </goals> | ||
| 77 | - </execution> | ||
| 78 | - </executions> | ||
| 79 | - </plugin> | ||
| 80 | - <plugin> | ||
| 81 | - <groupId>org.sonatype.plugins</groupId> | ||
| 82 | - <artifactId>nexus-staging-maven-plugin</artifactId> | ||
| 83 | - <version>1.6.2</version> | ||
| 84 | - <extensions>true</extensions> | ||
| 85 | - <configuration> | ||
| 86 | - <serverId>mobicents-releases-repository</serverId> | ||
| 87 | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> | ||
| 88 | - </configuration> | ||
| 89 | - <executions> | ||
| 90 | - <execution> | ||
| 91 | - <id>deploy-to-sonatype</id> | ||
| 92 | - <phase>deploy</phase> | ||
| 93 | - <goals> | ||
| 94 | - <goal>deploy</goal> | ||
| 95 | - <!--goal>close</goal--> | ||
| 96 | - <goal>release</goal> | ||
| 97 | - </goals> | ||
| 98 | - </execution> | ||
| 99 | - </executions> | ||
| 100 | - </plugin> | ||
| 101 | - </plugins> | ||
| 102 | - <resources> | ||
| 103 | - <resource> | ||
| 104 | - <directory>target</directory> | ||
| 105 | - <includes> | ||
| 106 | - <include>gov/nist/javax/sip/**</include> | ||
| 107 | - <include>gov/nist/javax/sdp/**</include> | ||
| 108 | - <include>gov/nist/core/**</include> | ||
| 109 | - <include>javax/sdp/**</include> | ||
| 110 | - </includes> | ||
| 111 | - <excludes> | ||
| 112 | - <exclude>**/*.java</exclude> | ||
| 113 | - </excludes> | ||
| 114 | - </resource> | ||
| 115 | - </resources> | ||
| 116 | - </build> | ||
| 117 | - | ||
| 118 | - <profiles> | ||
| 119 | - <profile> | ||
| 120 | - <id>release</id> | ||
| 121 | - <build> | ||
| 122 | - <plugins> | ||
| 123 | - <plugin> | ||
| 124 | - <groupId>org.codehaus.mojo</groupId> | ||
| 125 | - <artifactId>buildnumber-maven-plugin</artifactId> | ||
| 126 | - <version>1.0</version> | ||
| 127 | - <executions> | ||
| 128 | - <execution> | ||
| 129 | - <phase>validate</phase> | ||
| 130 | - <goals> | ||
| 131 | - <goal>create</goal> | ||
| 132 | - </goals> | ||
| 133 | - </execution> | ||
| 134 | - </executions> | ||
| 135 | - <configuration> | ||
| 136 | - <doCheck>false</doCheck> | ||
| 137 | - <doUpdate>false</doUpdate> | ||
| 138 | - </configuration> | ||
| 139 | - </plugin> | ||
| 140 | - </plugins> | ||
| 141 | - </build> | ||
| 142 | - </profile> | ||
| 143 | - </profiles> | ||
| 144 | - | ||
| 145 | - <dependencies> | ||
| 146 | - <dependency> | ||
| 147 | - <groupId>log4j</groupId> | ||
| 148 | - <artifactId>log4j</artifactId> | ||
| 149 | - <version>1.2.14</version> | ||
| 150 | - <scope>provided</scope> | ||
| 151 | - </dependency> | ||
| 152 | - <dependency> | ||
| 153 | - <groupId>javax.sip</groupId> | ||
| 154 | - <artifactId>jain-sip-api</artifactId> | ||
| 155 | - <version>1.2.0</version> | ||
| 156 | - <scope>provided</scope> | ||
| 157 | - </dependency> | ||
| 158 | - </dependencies> | ||
| 159 | - | ||
| 160 | - <!-- repositories --> | ||
| 161 | - <repositories> | ||
| 162 | - <repository> | ||
| 163 | - <id>maven2-repository.dev.java.net</id> | ||
| 164 | - <name>Java.net Repository for Maven</name> | ||
| 165 | - <url>http://download.java.net/maven/2/</url> | ||
| 166 | - <layout>default</layout> | ||
| 167 | - </repository> | ||
| 168 | - <repository> | ||
| 169 | - <id>mobicents-public-repository-group</id> | ||
| 170 | - <name>Mobicens Public Maven Repository Group</name> | ||
| 171 | - <url>https://oss.sonatype.org/content/groups/public</url> | ||
| 172 | - <layout>default</layout> | ||
| 173 | - <releases> | ||
| 174 | - <enabled>true</enabled> | ||
| 175 | - <updatePolicy>never</updatePolicy> | ||
| 176 | - </releases> | ||
| 177 | - <snapshots> | ||
| 178 | - <enabled>true</enabled> | ||
| 179 | - <updatePolicy>never</updatePolicy> | ||
| 180 | - </snapshots> | ||
| 181 | - </repository> | ||
| 182 | - </repositories> | ||
| 183 | - | ||
| 184 | - <scm> | ||
| 185 | - <connection>scm:git:https://code.google.com/p/jain-sip/</connection> | ||
| 186 | - <developerConnection>scm:git:https://code.google.com/p/jain-sip/</developerConnection> | ||
| 187 | - <url>https://code.google.com/p/jain-sip/</url> | ||
| 188 | - </scm> | ||
| 189 | -</project> |
jain-sip-ri/1.3.0-92/jain-sip-ri-1.3.0-92.pom.sha1 deleted
100644 → 0
jain-sip-ri/1.3.0-92/m2e-lastUpdated.properties deleted
100644 → 0
jain-sip-ri/Readme.md deleted
100644 → 0
| 1 | -根据GB28181-2016标准: | ||
| 2 | - | ||
| 3 | -联网系统内的IP网络接入设备应支持SIP信令的统一校时,接入设备应在注册时接受来自SIP服 | ||
| 4 | -务器通过消息头Date域携带的授时。 | ||
| 5 | - | ||
| 6 | -而Data域返回的时间格式为: | ||
| 7 | -Data: 2020-10-24T12:34:56.789 | ||
| 8 | - | ||
| 9 | -由于jain-sip-ri内的日期格式采用英式格式,使得DateHeader的输出变成: | ||
| 10 | -Date: Sat, 24 Oct 2020 12:34:56 GMT | ||
| 11 | -同时时区也强制变成格林尼治时间。 | ||
| 12 | - | ||
| 13 | -为此对jain-sip-ri依赖包进行了修改,改为符合国标的格式,增加毫秒的输出,时区改为系统默认。 | ||
| 14 | - | ||
| 15 | -# 使用方法: | ||
| 16 | -将“1.3.0-92”文件夹复制到“C:\Users\用户名\.m2\repository\javax\sip\jain-sip-ri”文件夹中,重新编译运行。 | ||
| 17 | - |
pom.xml
| @@ -122,7 +122,9 @@ | @@ -122,7 +122,9 @@ | ||
| 122 | <dependency> | 122 | <dependency> |
| 123 | <groupId>javax.sip</groupId> | 123 | <groupId>javax.sip</groupId> |
| 124 | <artifactId>jain-sip-ri</artifactId> | 124 | <artifactId>jain-sip-ri</artifactId> |
| 125 | - <version>1.3.0-92</version> | 125 | + <version>1.3.0-91</version> |
| 126 | + <scope>system</scope> | ||
| 127 | + <systemPath>${basedir}/libs/jain-sip-ri-1.3.0-91.jar</systemPath> | ||
| 126 | </dependency> | 128 | </dependency> |
| 127 | <dependency> | 129 | <dependency> |
| 128 | <groupId>org.dom4j</groupId> | 130 | <groupId>org.dom4j</groupId> |