Advertisement
Guest User

Untitled

a guest
Jan 5th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 9.91 KB | None | 0 0
  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/xsd/maven-4.0.0.xsd">
  2.   <modelVersion>4.0.0</modelVersion>
  3.   <parent>
  4.     <groupId>a.b</groupId>
  5.     <artifactId>parent</artifactId>
  6.     <version>0.0.1-SNAPSHOT</version>
  7.   </parent>
  8.   <artifactId>my-bundle</artifactId>
  9.   <name>my-bundle</name>
  10.   <version>0.0.1-SNAPSHOT</version>
  11.   <description>Description</description>
  12.   <packaging>bundle</packaging>
  13.  
  14.   <build>
  15.     <plugins>
  16.         <plugin>
  17.             <groupId>org.apache.felix</groupId>
  18.             <artifactId>maven-bundle-plugin</artifactId>
  19.             <extensions>true</extensions>
  20.             <configuration>
  21.                 <instructions>
  22.                     <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
  23.                     <Bundle-Description>${project.description}</Bundle-Description>
  24.                     <Import-Package>*, org.apache.camel.osgi,
  25.                     org.springframework.cglib.core,
  26.                     org.springframework.cglib.proxy,
  27.                     org.springframework.beans.factory,
  28.                     org.springframework.cglib.reflect,
  29.                     org.apache.camel.spring
  30.                     </Import-Package>
  31.                 </instructions>
  32.             </configuration>
  33.         </plugin>
  34.         <plugin>
  35.             <artifactId>maven-assembly-plugin</artifactId>
  36.             <version>3.0.0</version>
  37.             <configuration>
  38.                 <descriptors>
  39.                     <descriptor>src/assembly/assembly.xml</descriptor>
  40.                 </descriptors>
  41.               <executions>
  42.                 <execution>
  43.                     <id>make-assembly</id>
  44.                     <phase>package</phase>
  45.                     <goals>
  46.                         <goal>single</goal>
  47.                     </goals>
  48.                 </execution>
  49.               </executions>
  50.             </configuration>
  51.         </plugin>      
  52.         <plugin>
  53.             <groupId>org.codehaus.mojo</groupId>
  54.             <artifactId>jaxb2-maven-plugin</artifactId>
  55.             <version>${jaxb2-maven-plugin.version}</version>
  56.             <executions>
  57.                 <execution>
  58.                     <id>xjc</id>
  59.                     <goals>
  60.                         <goal>xjc</goal>
  61.                     </goals>
  62.                 </execution>
  63.             </executions>
  64.             <configuration>
  65.                 <sources>
  66.                     <source>${basedir}/src/main/resources/xsd/</source>
  67.                 </sources>
  68.                 <packageName>a.b.c.cons.generated.xsd</packageName>
  69.             </configuration>
  70.         </plugin>
  71.     </plugins>
  72.     <pluginManagement>
  73.         <plugins>
  74.             <plugin>
  75.                 <groupId>org.apache.karaf.tooling</groupId>
  76.                 <artifactId>karaf-maven-plugin</artifactId>
  77.                 <version>4.0.9</version>
  78.                 <extensions>true</extensions>
  79.             </plugin>          
  80.             <plugin>
  81.                 <groupId>org.apache.cxf</groupId>
  82.                 <artifactId>cxf-java2ws-plugin</artifactId>
  83.                 <version>${cxf.version}</version>
  84.                 <dependencies>
  85.                     <dependency>
  86.                         <groupId>org.apache.cxf</groupId>
  87.                         <artifactId>cxf-rt-frontend-jaxws</artifactId>
  88.                         <version>${cxf.version}</version>
  89.                     </dependency>
  90.                     <dependency>
  91.                         <groupId>org.apache.cxf</groupId>
  92.                         <artifactId>cxf-rt-frontend-simple</artifactId>
  93.                         <version>${cxf.version}</version>
  94.                     </dependency>
  95.                 </dependencies>
  96.              
  97.                 <executions>
  98.                     <execution>
  99.                         <id>process-classes</id>
  100.                         <phase>process-classes</phase>
  101.                         <configuration>
  102.                             <className>a.b.c.cons.service.Service</className>
  103.                             <genWsdl>true</genWsdl>
  104.                             <verbose>true</verbose>
  105.                         </configuration>
  106.                         <goals>
  107.                             <goal>java2ws</goal>
  108.                         </goals>
  109.                     </execution>
  110.                 </executions>
  111.             </plugin>
  112.         </plugins>
  113.     </pluginManagement>
  114.   </build>
  115.  
  116.   <dependencies>
  117.     <dependency>
  118.         <groupId>org.apache.camel</groupId>
  119.         <artifactId>camel-core</artifactId>
  120.         <version>${camel.version}</version>
  121.         <scope>provided</scope>
  122.     </dependency>
  123.     <dependency>
  124.         <groupId>org.apache.camel</groupId>
  125.         <artifactId>camel-cxf</artifactId>
  126.         <version>${camel.version}</version>
  127.         <scope>provided</scope>
  128.  
  129.         <exclusions>
  130.             <exclusion>
  131.                 <groupId>org.springframework</groupId>
  132.                 <artifactId>spring-tx</artifactId>
  133.             </exclusion>
  134.             <exclusion>
  135.                 <groupId>org.springframework</groupId>
  136.                 <artifactId>spring-core</artifactId>
  137.             </exclusion>
  138.             <exclusion>
  139.                 <groupId>org.springframework</groupId>
  140.                 <artifactId>spring-aop</artifactId>
  141.             </exclusion>
  142.             <exclusion>
  143.                 <groupId>org.springframework</groupId>
  144.                 <artifactId>spring-beans</artifactId>
  145.             </exclusion>
  146.             <exclusion>
  147.                 <groupId>org.springframework</groupId>
  148.                 <artifactId>spring-expression</artifactId>
  149.             </exclusion>
  150.             <exclusion>
  151.                 <groupId>org.springframework</groupId>
  152.                 <artifactId>spring-context</artifactId>
  153.             </exclusion>
  154.         </exclusions>
  155.     </dependency>
  156.     <dependency>
  157.         <groupId>org.apache.camel</groupId>
  158.         <artifactId>camel-spring-javaconfig</artifactId>
  159.         <version>${camel.version}</version>
  160.         <scope>provided</scope>
  161.     </dependency>  
  162.     <dependency>
  163.         <groupId>org.apache.commons</groupId>
  164.         <artifactId>commons-lang3</artifactId>
  165.         <version>${commons.lang.version}</version>
  166.     </dependency>
  167.      
  168.     <dependency>
  169.         <groupId>a.b</groupId>
  170.         <artifactId>internal-dependency1</artifactId>
  171.         <version>0.0.1-SNAPSHOT</version>
  172.         <exclusions>
  173.             <exclusion>
  174.                 <groupId>javax.xml.ws</groupId>
  175.                 <artifactId>jaxws-api</artifactId>
  176.             </exclusion>
  177.             <exclusion>
  178.                 <groupId>org.slf4j</groupId>
  179.                 <artifactId>slf4j-api</artifactId>
  180.             </exclusion>
  181.             <exclusion>
  182.                 <groupId>org.springframework</groupId>
  183.                 <artifactId>spring-core</artifactId>
  184.             </exclusion>
  185.             <exclusion>
  186.                 <groupId>org.springframework</groupId>
  187.                 <artifactId>spring-aop</artifactId>
  188.             </exclusion>
  189.             <exclusion>
  190.                 <groupId>org.springframework</groupId>
  191.                 <artifactId>spring-beans</artifactId>
  192.             </exclusion>
  193.             <exclusion>
  194.                 <groupId>org.springframework</groupId>
  195.                 <artifactId>spring-context</artifactId>
  196.             </exclusion>
  197.         </exclusions>
  198.     </dependency>
  199.     <dependency>
  200.         <groupId>a.b</groupId>
  201.         <artifactId>internal-dependency2</artifactId>
  202.         <version>0.0.1-SNAPSHOT</version>
  203.         <exclusions>
  204.             <exclusion>
  205.                 <groupId>javax.xml.ws</groupId>
  206.                 <artifactId>jaxws-api</artifactId>
  207.             </exclusion>
  208.             <exclusion>
  209.                 <groupId>org.slf4j</groupId>
  210.                 <artifactId>slf4j-api</artifactId>
  211.             </exclusion>
  212.             <exclusion>
  213.                 <groupId>org.springframework</groupId>
  214.                 <artifactId>spring-tx</artifactId>
  215.             </exclusion>
  216.             <exclusion>
  217.                 <groupId>org.springframework</groupId>
  218.                 <artifactId>spring-core</artifactId>
  219.             </exclusion>
  220.             <exclusion>
  221.                 <groupId>org.springframework</groupId>
  222.                 <artifactId>spring-aop</artifactId>
  223.             </exclusion>
  224.             <exclusion>
  225.                 <groupId>org.springframework</groupId>
  226.                 <artifactId>spring-beans</artifactId>
  227.             </exclusion>
  228.             <exclusion>
  229.                 <groupId>org.springframework</groupId>
  230.                 <artifactId>spring-context</artifactId>
  231.             </exclusion>
  232.         </exclusions>
  233.     </dependency>
  234.     <dependency>
  235.         <groupId>org.apache.camel</groupId>
  236.         <artifactId>camel-core</artifactId>
  237.         <version>${camel.version}</version>
  238.         <scope>provided</scope>
  239.         <exclusions>
  240.             <exclusion>
  241.                 <groupId>org.slf4j</groupId>
  242.                 <artifactId>slf4j-api</artifactId>
  243.             </exclusion>
  244.         </exclusions>
  245.     </dependency>
  246.     <dependency>
  247.         <groupId>org.apache.cxf</groupId>
  248.         <artifactId>cxf-rt-transports-http-jetty</artifactId>
  249.         <version>${cxf.version}</version>
  250.         <exclusions>
  251.             <exclusion>
  252.                 <groupId>org.slf4j</groupId>
  253.                 <artifactId>slf4j-api</artifactId>
  254.             </exclusion>
  255.         </exclusions>
  256.     </dependency>
  257.     <dependency>
  258.         <groupId>org.slf4j</groupId>
  259.         <artifactId>slf4j-api</artifactId>
  260.         <version>${slf4j.version}</version>
  261.         <optional>true</optional>
  262.     </dependency>
  263.     <dependency>
  264.         <groupId>org.ow2.asm</groupId>
  265.         <artifactId>asm-commons</artifactId>
  266.         <version>5.0.4</version>
  267.         <scope>provided</scope>
  268.     </dependency>
  269.     <dependency>
  270.         <groupId>org.apache.cxf</groupId>
  271.         <artifactId>cxf-rt-frontend-jaxws</artifactId>
  272.         <version>${cxf.version}</version>
  273.     </dependency>
  274.     <dependency>
  275.         <groupId>org.apache.cxf</groupId>
  276.         <artifactId>cxf-rt-transports-http</artifactId>
  277.         <version>${cxf.version}</version>
  278.     </dependency>      
  279.     <dependency>
  280.         <groupId>org.apache.cxf</groupId>
  281.         <artifactId>cxf-rt-transports-http-jetty</artifactId>
  282.         <version>${cxf.version}</version>
  283.     </dependency>
  284.    
  285.     <dependency>
  286.         <groupId>javax.xml.bind</groupId>
  287.         <artifactId>jaxb-api</artifactId>
  288.         <version>${jaxb.api.version}</version>
  289.     </dependency>
  290.     <dependency>
  291.         <groupId>org.springframework</groupId>
  292.         <artifactId>spring-aop</artifactId>
  293.         <version>${spring.version}</version>
  294.         <scope>provided</scope>
  295.         <exclusions>
  296.             <exclusion>
  297.                 <groupId>org.springframework</groupId>
  298.                 <artifactId>spring-core</artifactId>
  299.             </exclusion>
  300.             <exclusion>
  301.                 <groupId>org.springframework</groupId>
  302.                 <artifactId>spring-beans</artifactId>
  303.             </exclusion>
  304.         </exclusions>
  305.     </dependency>
  306.     <dependency>
  307.         <groupId>org.springframework</groupId>
  308.         <artifactId>spring-context</artifactId>
  309.         <version>${spring.version}</version>
  310.         <scope>provided</scope>
  311.     </dependency>  
  312.     <dependency>
  313.         <groupId>org.springframework</groupId>
  314.         <artifactId>spring-beans</artifactId>
  315.         <version>${spring.version}</version>
  316.         <scope>provided</scope>
  317.     </dependency>
  318.     <dependency>
  319.         <groupId>org.osgi</groupId>
  320.         <artifactId>org.osgi.core</artifactId>
  321.         <version>${osgi.version}</version>
  322.         <scope>provided</scope>
  323.     </dependency>
  324.   </dependencies>
  325. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement