"Fossies" - the Fresh Open Source Software Archive

Member "moskito-moskito-2.10.0/moskito-inspect-standalone/pom.xml" (20 Nov 2020, 12098 Bytes) of package /linux/misc/moskito-moskito-2.10.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) XML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "pom.xml": 2.8.8_vs_2.8.9.

    1 <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">
    2 
    3     <parent>
    4         <groupId>net.anotheria</groupId>
    5         <artifactId>moskito</artifactId>
    6         <version>2.10.0</version>
    7     </parent>
    8 
    9     <modelVersion>4.0.0</modelVersion>
   10     <artifactId>moskito-inspect-standalone</artifactId>
   11     <version>2.10.0</version>
   12     <name>MoSKito Inspect Standalone Application</name>
   13     <packaging>war</packaging>
   14   <properties>
   15     <swagger-ui.version>3.17.0</swagger-ui.version>
   16   </properties>
   17 
   18   <dependencies>
   19         <dependency>
   20             <groupId>net.anotheria</groupId>
   21             <artifactId>moskito-core</artifactId>
   22             <version>${project.version}</version>
   23         </dependency>
   24         <dependency>
   25             <groupId>net.anotheria</groupId>
   26             <artifactId>moskito-aop</artifactId>
   27             <version>${project.version}</version>
   28         </dependency>
   29         <dependency>
   30             <groupId>net.anotheria</groupId>
   31             <artifactId>moskito-webui</artifactId>
   32             <version>${project.version}</version>
   33         </dependency>
   34         <dependency>
   35             <groupId>net.anotheria</groupId>
   36             <artifactId>moskito-inspect-embedded</artifactId>
   37             <version>${project.version}</version>
   38         </dependency>
   39         <!-- REST Interface with jersey, Remove this if you want to deploy in jboss -->
   40         <dependency>
   41             <groupId>net.anotheria</groupId>
   42             <artifactId>moskito-inspect-jersey</artifactId>
   43             <version>${project.version}</version>
   44         </dependency>
   45         <!-- needed for mailgun provider, if you want to change the recipient edit moskito.json -->
   46         <dependency>
   47             <groupId>net.anotheria</groupId>
   48             <artifactId>moskito-notification-providers</artifactId>
   49             <version>${project.version}</version>
   50         </dependency>
   51         <dependency>
   52             <groupId>net.anotheria</groupId>
   53             <artifactId>moskito-disk-space-monitoring</artifactId>
   54             <version>${project.version}</version>
   55         </dependency>
   56         <dependency>
   57             <groupId>net.anotheria</groupId>
   58             <artifactId>moskito-monitoring-plugin</artifactId>
   59             <version>${project.version}</version>
   60         </dependency>
   61 
   62         <dependency>
   63             <groupId>javax.servlet</groupId>
   64             <artifactId>javax.servlet-api</artifactId>
   65             <scope>provided</scope>
   66         </dependency>
   67         <dependency>
   68             <groupId>org.slf4j</groupId>
   69             <artifactId>slf4j-api</artifactId>
   70         </dependency>
   71         <!-- Enable logback logging -->
   72         <dependency>
   73             <groupId>ch.qos.logback</groupId>
   74             <artifactId>logback-classic</artifactId>
   75         </dependency>
   76 
   77         <!-- enable sampling api -->
   78         <dependency>
   79             <groupId>net.anotheria</groupId>
   80             <artifactId>moskito-sampling-api</artifactId>
   81             <version>${project.version}</version>
   82         </dependency>
   83 
   84         <dependency>
   85             <groupId>net.anotheria</groupId>
   86             <artifactId>moskito-php</artifactId>
   87             <version>${project.version}</version>
   88         </dependency>
   89 
   90     </dependencies>
   91 
   92     <build>
   93         <plugins>
   94             <plugin>
   95                 <artifactId>maven-war-plugin</artifactId>
   96                 <version>2.1</version>
   97                 <configuration>
   98                     <warName>moskito</warName>
   99                     <webResources>
  100                         <resource>
  101                             <directory>src/main/webapp</directory>
  102                         </resource>
  103                         <resource>
  104                             <directory>src/main/java</directory>
  105                             <includes>
  106                                 <include>**/*.jsp</include>
  107                             </includes>
  108 
  109                         </resource>
  110                         <resource>
  111                             <directory>${project.build.directory}/tmp</directory>
  112                         </resource>
  113             <resource>
  114               <directory>${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}</directory>
  115               <includes>
  116                 <include>**/*.*</include>
  117               </includes>
  118               <targetPath>swagger-ui</targetPath>
  119             </resource>
  120                     </webResources>
  121                 </configuration>
  122             </plugin>
  123             <plugin>
  124                 <groupId>org.codehaus.mojo</groupId>
  125                 <artifactId>aspectj-maven-plugin</artifactId>
  126             </plugin>
  127         </plugins>
  128     </build>
  129 
  130     <profiles>
  131         <profile>
  132             <id>jboss</id>
  133         </profile>
  134         <profile>
  135             <id>webapp</id>
  136             <activation>
  137                 <activeByDefault>true</activeByDefault>
  138             </activation>
  139             <dependencies>
  140                 <!-- Add jersey rest interface -->
  141                 <dependency>
  142                     <groupId>net.anotheria</groupId>
  143                     <artifactId>moskito-inspect-jersey</artifactId>
  144                     <version>${project.version}</version>
  145                 </dependency>
  146             </dependencies>
  147             <build>
  148                 <plugins>
  149                     <plugin>
  150                         <groupId>org.apache.maven.plugins</groupId>
  151                         <artifactId>maven-dependency-plugin</artifactId>
  152                         <configuration>
  153                             <artifactItems>
  154                                 <artifactItem>
  155                                     <groupId>net.anotheria</groupId>
  156                                     <artifactId>moskito-webui</artifactId>
  157                                     <version>${moskito-webui-version}</version>
  158                                     <type>jar</type>
  159                                     <overWrite>true</overWrite>
  160                                     <outputDirectory>${project.build.directory}/tmp</outputDirectory>
  161                                     <includes>moskito/**,**/*.jsp</includes>
  162                                 </artifactItem>
  163                               <artifactItem>
  164                                 <groupId>org.webjars</groupId>
  165                                 <artifactId>swagger-ui</artifactId>
  166                                 <version>${swagger-ui.version}</version>
  167                                 <outputDirectory>${project.build.directory}/swagger-ui</outputDirectory>
  168                               </artifactItem>
  169                             </artifactItems>
  170                         </configuration>
  171                         <executions>
  172                             <execution>
  173                                 <phase>compile</phase>
  174                                 <goals>
  175                                     <goal>unpack</goal>
  176                                 </goals>
  177                             </execution>
  178                         </executions>
  179                     </plugin>
  180                   <plugin>
  181                     <!-- Replace the OpenAPI specification example URL with the local one. -->
  182                     <groupId>com.google.code.maven-replacer-plugin</groupId>
  183                     <artifactId>replacer</artifactId>
  184                     <version>1.5.3</version>
  185                     <executions>
  186                       <execution>
  187                         <phase>prepare-package</phase>
  188                         <goals>
  189                           <goal>replace</goal>
  190                         </goals>
  191                       </execution>
  192                     </executions>
  193                     <configuration>
  194                       <file>${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}/index.html</file>
  195                       <replacements>
  196                         <replacement>
  197                           <token>http://petstore.swagger.io/v2/swagger.json</token>
  198                           <value>/openapi</value>
  199                         </replacement>
  200                       </replacements>
  201                     </configuration>
  202                   </plugin>
  203                 </plugins>
  204             </build>
  205 
  206         </profile>
  207         <profile>
  208             <id>fordownload</id>
  209             <activation>
  210                 <activeByDefault>false</activeByDefault>
  211             </activation>
  212             <dependencies>
  213                 <!-- Add jersey rest interface -->
  214                 <dependency>
  215                     <groupId>net.anotheria</groupId>
  216                     <artifactId>moskito-inspect-jersey</artifactId>
  217                     <version>${project.version}</version>
  218                 </dependency>
  219                 <dependency>
  220                     <groupId>net.anotheria</groupId>
  221                     <artifactId>moskitoplugins</artifactId>
  222                     <version>${moskitoplugins-version}</version>
  223                 </dependency>
  224             </dependencies>
  225             <build>
  226                 <plugins>
  227                     <plugin>
  228                         <groupId>org.apache.maven.plugins</groupId>
  229                         <artifactId>maven-dependency-plugin</artifactId>
  230                         <configuration>
  231                             <artifactItems>
  232                                 <artifactItem>
  233                                     <groupId>net.anotheria</groupId>
  234                                     <artifactId>moskito-webui</artifactId>
  235                                     <version>${moskito-webui-version}</version>
  236                                     <type>jar</type>
  237                                     <overWrite>true</overWrite>
  238                                     <outputDirectory>${project.build.directory}/tmp</outputDirectory>
  239                                     <includes>moskito/**,**/*.jsp</includes>
  240                                 </artifactItem>
  241                                 <artifactItem>
  242                                     <groupId>net.anotheria</groupId>
  243                                     <artifactId>moskitoplugins</artifactId>
  244                                     <version>${moskitoplugins-version}</version>
  245                                     <type>jar</type>
  246                                     <overWrite>true</overWrite>
  247                                     <outputDirectory>${project.build.directory}/tmp</outputDirectory>
  248                                     <includes>moskito/**,**/*.jsp</includes>
  249                                 </artifactItem>
  250                                 <artifactItem>
  251                                   <groupId>org.webjars</groupId>
  252                                   <artifactId>swagger-ui</artifactId>
  253                                   <version>${swagger-ui.version}</version>
  254                                   <outputDirectory>${project.build.directory}/swagger-ui</outputDirectory>
  255                                 </artifactItem>
  256                             </artifactItems>
  257                         </configuration>
  258                         <executions>
  259                             <execution>
  260                                 <phase>compile</phase>
  261                                 <goals>
  262                                     <goal>unpack</goal>
  263                                 </goals>
  264                             </execution>
  265                         </executions>
  266                     </plugin>
  267                   <plugin>
  268                     <!-- Replace the OpenAPI specification example URL with the local one. -->
  269                     <groupId>com.google.code.maven-replacer-plugin</groupId>
  270                     <artifactId>replacer</artifactId>
  271                     <version>1.5.3</version>
  272                     <executions>
  273                       <execution>
  274                         <phase>prepare-package</phase>
  275                         <goals>
  276                           <goal>replace</goal>
  277                         </goals>
  278                       </execution>
  279                     </executions>
  280                     <configuration>
  281                       <file>${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version}/index.html</file>
  282                       <replacements>
  283                         <replacement>
  284                           <token>http://petstore.swagger.io/v2/swagger.json</token>
  285                           <value>/openapi</value>
  286                         </replacement>
  287                       </replacements>
  288                     </configuration>
  289                   </plugin>
  290                 </plugins>
  291             </build>
  292         </profile>
  293     </profiles>
  294 
  295 
  296 </project>