|
4 | 4 |
|
5 | 5 | <groupId>org.casbin</groupId> |
6 | 6 | <artifactId>jcasbin</artifactId> |
7 | | - <version>1.6.2</version> |
| 7 | + <version>1.6.3</version> |
8 | 8 |
|
9 | 9 | <name>JCasbin Authorization Library</name> |
10 | 10 | <description>An authorization library that supports access control models like ACL, RBAC, ABAC in Java</description> |
|
64 | 64 | <build> |
65 | 65 | <pluginManagement> |
66 | 66 | <plugins> |
67 | | - <plugin> |
68 | | - <groupId>org.apache.maven.plugins</groupId> |
69 | | - <artifactId>maven-gpg-plugin</artifactId> |
70 | | - <version>1.5</version> |
71 | | - <executions> |
72 | | - <execution> |
73 | | - <id>sign-artifacts</id> |
74 | | - <!-- We sign in the verify phase, which means it will happen before install and deploy (the last two phases) |
75 | | - but not before earlier phases like test or package. --> |
76 | | - <phase>verify</phase> |
77 | | - <goals> |
78 | | - <goal>sign</goal> |
79 | | - </goals> |
80 | | - <!-- If using gpg > 2.1 it is necessary for gpg to not try to use the pinentry programs |
81 | | - however, it looks like Travis does not need this entry --> |
82 | | - </execution> |
83 | | - </executions> |
84 | | - </plugin> |
85 | 67 | <plugin> |
86 | 68 | <!-- Allow attaching Javadoc during releases --> |
87 | 69 | <groupId>org.apache.maven.plugins</groupId> |
|
115 | 97 | </execution> |
116 | 98 | </executions> |
117 | 99 | </plugin> |
118 | | - <plugin> |
119 | | - <!-- Include zipped source code in releases --> |
120 | | - <groupId>org.apache.maven.plugins</groupId> |
121 | | - <artifactId>maven-source-plugin</artifactId> |
122 | | - <executions> |
123 | | - <execution> |
124 | | - <id>attach-sources</id> |
125 | | - <goals> |
126 | | - <goal>jar-no-fork</goal> |
127 | | - </goals> |
128 | | - </execution> |
129 | | - </executions> |
130 | | - </plugin> |
131 | | - <plugin> |
132 | | - <!-- Automatically close and deploy from OSSRH --> |
133 | | - <groupId>org.sonatype.plugins</groupId> |
134 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
135 | | - <version>1.6.7</version> |
136 | | - <extensions>true</extensions> |
137 | | - <configuration> |
138 | | - <serverId>ossrh</serverId> |
139 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
140 | | - <!-- Release versions will be synced to Maven Central automatically. --> |
141 | | - <autoReleaseAfterClose>false</autoReleaseAfterClose> |
142 | | - </configuration> |
143 | | - </plugin> |
144 | 100 | <plugin> |
145 | 101 | <groupId>org.apache.maven.plugins</groupId> |
146 | 102 | <artifactId>maven-compiler-plugin</artifactId> |
|
171 | 127 | </pluginManagement> |
172 | 128 | </build> |
173 | 129 |
|
| 130 | + <profiles> |
| 131 | + <profile> |
| 132 | + <id>release</id> |
| 133 | + <distributionManagement> |
| 134 | + <snapshotRepository> |
| 135 | + <id>ossrh</id> |
| 136 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 137 | + </snapshotRepository> |
| 138 | + <repository> |
| 139 | + <id>ossrh</id> |
| 140 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 141 | + </repository> |
| 142 | + </distributionManagement> |
| 143 | + <build> |
| 144 | + <plugins> |
| 145 | + <plugin> |
| 146 | + <groupId>org.apache.maven.plugins</groupId> |
| 147 | + <artifactId>maven-gpg-plugin</artifactId> |
| 148 | + <version>1.5</version> |
| 149 | + <executions> |
| 150 | + <execution> |
| 151 | + <id>sign-artifacts</id> |
| 152 | + <!-- We sign in the verify phase, which means it will happen before install and deploy (the last two phases) |
| 153 | + but not before earlier phases like test or package. --> |
| 154 | + <phase>verify</phase> |
| 155 | + <goals> |
| 156 | + <goal>sign</goal> |
| 157 | + </goals> |
| 158 | + <!-- If using gpg > 2.1 it is necessary for gpg to not try to use the pinentry programs |
| 159 | + however, it looks like Travis does not need this entry --> |
| 160 | + </execution> |
| 161 | + </executions> |
| 162 | + </plugin> |
| 163 | + <plugin> |
| 164 | + <!-- Include zipped source code in releases --> |
| 165 | + <groupId>org.apache.maven.plugins</groupId> |
| 166 | + <artifactId>maven-source-plugin</artifactId> |
| 167 | + <executions> |
| 168 | + <execution> |
| 169 | + <id>attach-sources</id> |
| 170 | + <goals> |
| 171 | + <goal>jar-no-fork</goal> |
| 172 | + </goals> |
| 173 | + </execution> |
| 174 | + </executions> |
| 175 | + </plugin> |
| 176 | + <plugin> |
| 177 | + <!-- Automatically close and deploy from OSSRH --> |
| 178 | + <groupId>org.sonatype.plugins</groupId> |
| 179 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 180 | + <version>1.6.7</version> |
| 181 | + <extensions>true</extensions> |
| 182 | + <configuration> |
| 183 | + <serverId>ossrh</serverId> |
| 184 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 185 | + <!-- Release versions will be synced to Maven Central automatically. --> |
| 186 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 187 | + </configuration> |
| 188 | + </plugin> |
| 189 | + </plugins> |
| 190 | + </build> |
| 191 | + </profile> |
| 192 | + </profiles> |
174 | 193 | <dependencies> |
175 | 194 | <dependency> |
176 | 195 | <groupId>org.slf4j</groupId> |
|
0 commit comments