|
109 | 109 | <goals>
|
110 | 110 | <goal>copy</goal>
|
111 | 111 | </goals>
|
| 112 | + <configuration> |
| 113 | + <artifactItems> |
| 114 | + <artifactItem> |
| 115 | + <groupId>org.openhab.core.tools</groupId> |
| 116 | + <artifactId>upgradetool</artifactId> |
| 117 | + <version>${project.version}</version> |
| 118 | + <type>jar</type> |
| 119 | + <classifier>jar-with-dependencies</classifier> |
| 120 | + <overWrite>true</overWrite> |
| 121 | + <outputDirectory>${project.build.directory}/assembly/bin</outputDirectory> |
| 122 | + <destFileName>upgradetool.jar</destFileName> |
| 123 | + </artifactItem> |
| 124 | + <artifactItem> |
| 125 | + <groupId>org.openhab.addons.features.karaf</groupId> |
| 126 | + <artifactId>org.openhab.addons.features.karaf.openhab-addons-external</artifactId> |
| 127 | + <version>${project.version}</version> |
| 128 | + <type>xml</type> |
| 129 | + <classifier>addons</classifier> |
| 130 | + <overWrite>true</overWrite> |
| 131 | + <outputDirectory>${project.build.directory}/addon-xml</outputDirectory> |
| 132 | + <destFileName>addons.xml</destFileName> |
| 133 | + </artifactItem> |
| 134 | + </artifactItems> |
| 135 | + </configuration> |
| 136 | + </execution> |
| 137 | + <execution> |
| 138 | + <id>unpack</id> |
| 139 | + <phase>process-resources</phase> |
| 140 | + <goals> |
| 141 | + <goal>unpack</goal> |
| 142 | + </goals> |
| 143 | + <configuration> |
| 144 | + <artifactItems> |
| 145 | + <artifactItem> |
| 146 | + <groupId>org.openhab.addons.bundles</groupId> |
| 147 | + <artifactId>org.openhab.binding.zigbee</artifactId> |
| 148 | + <version>${project.version}</version> |
| 149 | + <type>jar</type> |
| 150 | + <includes>**/addon.xml</includes> |
| 151 | + <outputDirectory>${project.build.directory}/addon-xml/org.openhab.binding.zigbee</outputDirectory> |
| 152 | + </artifactItem> |
| 153 | + <artifactItem> |
| 154 | + <groupId>org.openhab.addons.bundles</groupId> |
| 155 | + <artifactId>org.openhab.binding.zwave</artifactId> |
| 156 | + <version>${project.version}</version> |
| 157 | + <type>jar</type> |
| 158 | + <includes>**/addon.xml</includes> |
| 159 | + <outputDirectory>${project.build.directory}/addon-xml/org.openhab.binding.zwave</outputDirectory> |
| 160 | + </artifactItem> |
| 161 | + </artifactItems> |
| 162 | + </configuration> |
| 163 | + </execution> |
| 164 | + </executions> |
| 165 | + </plugin> |
| 166 | + <plugin> |
| 167 | + <groupId>org.codehaus.gmaven</groupId> |
| 168 | + <artifactId>groovy-maven-plugin</artifactId> |
| 169 | + <version>2.1.1</version> |
| 170 | + <dependencies> |
| 171 | + <dependency> |
| 172 | + <groupId>org.apache.groovy</groupId> |
| 173 | + <artifactId>groovy-all</artifactId> |
| 174 | + <version>4.0.13</version> |
| 175 | + <type>pom</type> |
| 176 | + </dependency> |
| 177 | + </dependencies> |
| 178 | + <executions> |
| 179 | + <execution> |
| 180 | + <goals> |
| 181 | + <goal>execute</goal> |
| 182 | + </goals> |
| 183 | + <phase>process-resources</phase> |
| 184 | + <configuration> |
| 185 | + <source>${project.basedir}/merge-addon-info.groovy</source> |
| 186 | + </configuration> |
112 | 187 | </execution>
|
113 | 188 | </executions>
|
114 |
| - <configuration> |
115 |
| - <artifactItems> |
116 |
| - <artifactItem> |
117 |
| - <groupId>org.openhab.core.tools</groupId> |
118 |
| - <artifactId>upgradetool</artifactId> |
119 |
| - <version>${project.version}</version> |
120 |
| - <type>jar</type> |
121 |
| - <classifier>jar-with-dependencies</classifier> |
122 |
| - <overWrite>true</overWrite> |
123 |
| - <outputDirectory>${project.build.directory}/assembly/bin</outputDirectory> |
124 |
| - <destFileName>upgradetool.jar</destFileName> |
125 |
| - </artifactItem> |
126 |
| - <artifactItem> |
127 |
| - <groupId>org.openhab.addons.features.karaf</groupId> |
128 |
| - <artifactId>org.openhab.addons.features.karaf.openhab-addons-external</artifactId> |
129 |
| - <version>${project.version}</version> |
130 |
| - <type>xml</type> |
131 |
| - <classifier>addons</classifier> |
132 |
| - <overWrite>true</overWrite> |
133 |
| - <outputDirectory>${project.build.directory}/assembly/runtime/etc</outputDirectory> |
134 |
| - <destFileName>addons.xml</destFileName> |
135 |
| - </artifactItem> |
136 |
| - </artifactItems> |
137 |
| - </configuration> |
138 | 189 | </plugin>
|
139 | 190 | <plugin>
|
140 | 191 | <groupId>org.apache.maven.plugins</groupId>
|
|
0 commit comments