Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <git.branch>master</git.branch>
- <wadl.project.version>3.1.4.Final</wadl.project.version>
- <agent.version>1.48</agent.version>
- </properties>
- <dependencyManagement>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>3.1.1</version>
- <executions>
- <execution>
- <id>unpack</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>unpack</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>ru.sc</groupId>
- <artifactId>smartAgent</artifactId>
- <version>${agent.version}</version>
- <type>zip</type>
- <overWrite>true</overWrite>
- <outputDirectory>${project.build.directory}/${war.name}/agent</outputDirectory>
- <destFileName>smartAgent.zip</destFileName>
- <excludes>**/*.xml,**/*.pom</excludes>
- </artifactItem>
- </artifactItems>
- <!--<includes>**/*.java</includes>-->
- <!--<excludes>**/*.properties</excludes>-->
- <!--<outputDirectory>${project.build.directory}/wars</outputDirectory>-->
- <!--<overWriteReleases>false</overWriteReleases>-->
- <!--<overWriteSnapshots>true</overWriteSnapshots>-->
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>3.1.0</version>
- <executions>
- <execution>
- <id>copy-resources</id>
- <!-- here the phase you need -->
- <phase>prepare-package</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${project.build.directory}/${war.name}/WEB-INF/classes</outputDirectory>
- <resources>
- <resource>
- <directory>${project.build.directory}/${war.name}/agent/</directory>
- <filtering>true</filtering>
- <includes>
- <include>smart-agent.jnlp</include>
- </includes>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- <resources>
- <resource>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement