|
6 | 6 | <artifactId>oss-parent</artifactId> |
7 | 7 | <version>9</version> |
8 | 8 | </parent> |
9 | | - <groupId>pl.wavesoftware.utils</groupId> |
10 | | - <artifactId>https-checker</artifactId> |
| 9 | + <groupId>pl.wavesoftware</groupId> |
| 10 | + <artifactId>jhttps-checker</artifactId> |
11 | 11 | <version>0.8.0-SNAPSHOT</version> |
12 | 12 | <packaging>jar</packaging> |
13 | 13 |
|
|
19 | 19 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
20 | 20 | <maven.compiler.source>1.7</maven.compiler.source> |
21 | 21 | <maven.compiler.target>1.7</maven.compiler.target> |
| 22 | + <jar.w.dependencies>jar-with-dependencies</jar.w.dependencies> |
22 | 23 | </properties> |
23 | 24 |
|
24 | 25 | <dependencies> |
|
96 | 97 | </archive> |
97 | 98 |
|
98 | 99 | <descriptorRefs> |
99 | | - <descriptorRef>jar-with-dependencies</descriptorRef> |
| 100 | + <descriptorRef>${jar.w.dependencies}</descriptorRef> |
100 | 101 | </descriptorRefs> |
101 | 102 |
|
102 | 103 | </configuration> |
103 | 104 | </plugin> |
| 105 | + |
| 106 | + <plugin> |
| 107 | + <artifactId>jdeb</artifactId> |
| 108 | + <groupId>org.vafer</groupId> |
| 109 | + <version>1.4</version> |
| 110 | + <executions> |
| 111 | + <execution> |
| 112 | + <phase>package</phase> |
| 113 | + <goals> |
| 114 | + <goal>jdeb</goal> |
| 115 | + </goals> |
| 116 | + <configuration> |
| 117 | + <verbose>true</verbose> |
| 118 | + <snapshotExpand>true</snapshotExpand> |
| 119 | + <!-- expand "SNAPSHOT" to what is in the "USER" env variable --> |
| 120 | + <snapshotEnv>USER</snapshotEnv> |
| 121 | + <verbose>true</verbose> |
| 122 | + <controlDir>${basedir}/src/deb/control</controlDir> |
| 123 | + <dataSet> |
| 124 | + |
| 125 | + <data> |
| 126 | + <src>${project.build.directory}/${project.build.finalName}-${jar.w.dependencies}.jar</src> |
| 127 | + <dst>${project.artifactId}.jar</dst> |
| 128 | + <type>file</type> |
| 129 | + <mapper> |
| 130 | + <type>perm</type> |
| 131 | + <prefix>/usr/share/wavesoftware/lib</prefix> |
| 132 | + <user>loader</user> |
| 133 | + <group>loader</group> |
| 134 | + </mapper> |
| 135 | + </data> |
| 136 | + |
| 137 | + <data> |
| 138 | + <src>${basedir}/src/deb/bin/${project.artifactId}</src> |
| 139 | + <type>file</type> |
| 140 | + <mapper> |
| 141 | + <type>perm</type> |
| 142 | + <prefix>/usr/bin</prefix> |
| 143 | + <user>loader</user> |
| 144 | + <group>loader</group> |
| 145 | + <filemode>755</filemode> |
| 146 | + </mapper> |
| 147 | + </data> |
| 148 | + |
| 149 | + <data> |
| 150 | + <src>${basedir}/src/deb/init.d</src> |
| 151 | + <type>directory</type> |
| 152 | + <mapper> |
| 153 | + <type>perm</type> |
| 154 | + <prefix>/etc/init.d</prefix> |
| 155 | + <user>loader</user> |
| 156 | + <group>loader</group> |
| 157 | + </mapper> |
| 158 | + </data> |
| 159 | + |
| 160 | + </dataSet> |
| 161 | + </configuration> |
| 162 | + </execution> |
| 163 | + </executions> |
| 164 | + </plugin> |
104 | 165 | </plugins> |
105 | 166 |
|
106 | 167 | </build> |
|
0 commit comments