Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Here I took the effective pom.xml settings and deleted what was the same in both files.
- primefaces-extensions-showcase effective pom.xml
- ====================================================================================================
- <?xml version="1.0"?>
- <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.primefaces.extensions</groupId>
- <artifactId>master-pom</artifactId>
- <version>3.5.0</version>
- </parent>
- <groupId>org.primefaces.extensions</groupId>
- <artifactId>showcase</artifactId>
- <version>3.0.0</version>
- <packaging>war</packaging>
- <name>showcase</name>
- <description>PrimeFaces Extensions Project Showcase for Maven.</description>
- <url>https://github.com/primefaces-extensions/showcase</url>
- <inceptionYear>2011</inceptionYear>
- <scm>
- <developerConnection>scm:git:[email protected]:primefaces-extensions/showcase.git</developerConnection>
- <url>https://github.com/primefaces-extensions/showcase</url>
- </scm>
- <properties>
- <jsf-impl>mojarra</jsf-impl>
- <primefaces-extensions.updated-components>;</primefaces-extensions.updated-components>
- <primefaces-extensions.new-components>analogClock;gravatar;documentViewer;gChart;knob;timer</primefaces-extensions.new-components>
- <jsf-version>2.2.8</jsf-version>
- <primefaces.theme.version>1.0.10</primefaces.theme.version>
- <project.build.sourceEncoding>iso-8859-1</project.build.sourceEncoding>
- <sonatypeOssDistMgmtSnapshotsUrl>https://oss.sonatype.org/content/repositories/snapshots/</sonatypeOssDistMgmtSnapshotsUrl>
- <resources.dir.compressed>C:\Users\Richard\Documents\NetBeansProjects\showcase\target/classes/META-INF/resources/primefaces-extensions</resources.dir.compressed>
- <primefaces-extensions.core.version>3.0.0</primefaces-extensions.core.version>
- <java.version.source>1.5</java.version.source>
- <jsf.version>2.2.8</jsf.version>
- <netbeans.installation>C:\Program Files\NetBeans 8.0.1</netbeans.installation>
- <jsf-listener>com.sun.faces.config.ConfigureListener</jsf-listener>
- <myfaces.version>2.2.4</myfaces.version>
- <java.version.target>1.5</java.version.target>
- <resources.dir.uncompressed>C:\Users\Richard\Documents\NetBeansProjects\showcase\target/classes/META-INF/resources/primefaces-extensions-uncompressed</resources.dir.uncompressed>
- <mojarra.version>2.2.8</mojarra.version>
- <primefaces.core.version>5.1</primefaces.core.version>
- </properties>
- <dependencies>
- </dependencies>
- <repositories>
- <build>
- <finalName>showcase-3.0.0</finalName>
- <pluginManagement>
- <plugins>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.1</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <encoding>iso-8859-1</encoding>
- <optimize>false</optimize>
- <debug>true</debug>
- <showDeprecation>true</showDeprecation>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <version>2.3.5</version>
- <extensions>true</extensions>
- <executions>
- <execution>
- <id>bundle-manifest</id>
- <phase>process-classes</phase>
- <goals>
- <goal>manifest</goal>
- </goals>
- <configuration>
- <supportedProjectTypes>
- <supportedProjectType>jar</supportedProjectType>
- </supportedProjectTypes>
- <instructions>
- <Export-Package>org.primefaces.extensions*;version="3.0.0</Export-Package>
- <Import-Package>javax.*,*;resolution:=optional</Import-Package>
- </instructions>
- </configuration>
- </execution>
- </executions>
- <configuration>
- <supportedProjectTypes>
- <supportedProjectType>jar</supportedProjectType>
- </supportedProjectTypes>
- <instructions>
- <Export-Package>org.primefaces.extensions*;version="3.0.0</Export-Package>
- <Import-Package>javax.*,*;resolution:=optional</Import-Package>
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>jetty-maven-plugin</artifactId>
- <version>8.1.16.v20140903</version>
- <configuration>
- <webAppConfig>
- <contextPath>/primeext-showcase</contextPath>
- <overrideDescriptor>src/main/webapp/WEB-INF/web-overwrite.xml</overrideDescriptor>
- </webAppConfig>
- <webXml>C:\Users\Richard\Documents\NetBeansProjects\showcase\target/classes/WEB-INF/web.xml</webXml>
- <webAppSourceDirectory>C:\Users\Richard\Documents\NetBeansProjects\showcase/src/main/webapp</webAppSourceDirectory>
- <scanIntervalSeconds>1</scanIntervalSeconds>
- <stopPort>9966</stopPort>
- <stopKey>foo</stopKey>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.1</version>
- <executions>
- <execution>
- <id>default-testCompile</id>
- <phase>test-compile</phase>
- <goals>
- <goal>testCompile</goal>
- </goals>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <encoding>iso-8859-1</encoding>
- <optimize>false</optimize>
- <debug>true</debug>
- <showDeprecation>true</showDeprecation>
- </configuration>
- </execution>
- <execution>
- <id>default-compile</id>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <encoding>iso-8859-1</encoding>
- <optimize>false</optimize>
- <debug>true</debug>
- <showDeprecation>true</showDeprecation>
- </configuration>
- </execution>
- </executions>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <encoding>iso-8859-1</encoding>
- <optimize>false</optimize>
- <debug>true</debug>
- <showDeprecation>true</showDeprecation>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <profile>
- <id>run-jetty</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>jetty-maven-plugin</artifactId>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-war-plugin</artifactId>
- <executions>
- <execution>
- <id>default-war</id>
- <phase>none</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <properties>
- <maven.test.skip>true</maven.test.skip>
- </properties>
- </profile>
- <profile>
- <id>openshift</id>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-war-plugin</artifactId>
- <version>2.1.1</version>
- <configuration>
- <outputDirectory>webapps</outputDirectory>
- <warName>ROOT</warName>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <properties>
- <jsf-impl>mojarra</jsf-impl>
- <jsf-version>2.2.8</jsf-version>
- <jsf-listener>com.sun.faces.config.ConfigureListener</jsf-listener>
- </properties>
- <dependencies>
- <dependency>
- <groupId>com.sun.faces</groupId>
- <artifactId>jsf-api</artifactId>
- <version>2.2.8</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>com.sun.faces</groupId>
- <artifactId>jsf-impl</artifactId>
- <version>2.2.8</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
- </profile>
- </profiles>
- </project>
- ====================================================================================================
- integration with spring-security effective pom.xml
- ====================================================================================================
- <?xml version="1.0" encoding="UTF-8"?>
- <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.primefaces.extensions</groupId>
- <artifactId>master-pom</artifactId>
- <version>3.5.0</version>
- </parent>
- <groupId>edu.wctc.maven.glassfish</groupId>
- <artifactId>jsfsecure_copy</artifactId>
- <version>1.0-SNAPSHOT</version>
- <packaging>war</packaging>
- <name>jsfsecure_copy</name>
- <description>PrimeFaces Extensions Master Project for Maven to define global project settings.</description>
- <url>https://github.com/primefaces-extensions/jsfsecure_copy</url>
- <inceptionYear>2011</inceptionYear>
- <properties>
- <jsf-impl>mojarra</jsf-impl>
- <primefaces-extensions.version>3.0.0</primefaces-extensions.version>
- <primefaces-extensions.updated-components>;</primefaces-extensions.updated-components>
- <primefaces-extensions.new-components>analogClock;gravatar;documentViewer;gChart;knob;timer</primefaces-extensions.new-components>
- <jsf-version>2.2.8</jsf-version>
- <primefaces.theme.version>1.0.10</primefaces.theme.version>
- <endorsed.dir>C:\Users\Richard\Documents\NetBeansProjects\jsfsecure_copy\target/endorsed</endorsed.dir>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <sonatypeOssDistMgmtSnapshotsUrl>https://oss.sonatype.org/content/repositories/snapshots/</sonatypeOssDistMgmtSnapshotsUrl>
- <junit.version>4.11</junit.version>
- <resources.dir.compressed>C:\Users\Richard\Documents\NetBeansProjects\jsfsecure_copy\target/classes/META-INF/resources/primefaces-extensions</resources.dir.compressed>
- <primefaces-extensions.core.version>3.0.0</primefaces-extensions.core.version>
- <java.version.source>1.5</java.version.source>
- <spring-security.version>3.2.5.RELEASE</spring-security.version>
- <jsf.version>2.2.8</jsf.version>
- <jsf-listener>com.sun.faces.config.ConfigureListener</jsf-listener>
- <netbeans.installation>C:\Program Files\NetBeans 8.0.1</netbeans.installation>
- <myfaces.version>2.2.4</myfaces.version>
- <java.version.target>1.5</java.version.target>
- <resources.dir.uncompressed>C:\Users\Richard\Documents\NetBeansProjects\jsfsecure_copy\target/classes/META-INF/resources/primefaces-extensions-uncompressed</resources.dir.uncompressed>
- <aspectj.version>1.7.1</aspectj.version>
- <org.springframework.version>4.0.3.RELEASE</org.springframework.version>
- <primefacesVersion>PrimeFaces-5.1</primefacesVersion>
- <jsfVersion>Mojarra-2.2.8</jsfVersion>
- <mojarra.version>2.2.8</mojarra.version>
- <primefaces.core.version>5.1</primefaces.core.version>
- </properties>
- <dependencies>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>2.5</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet.jsp</groupId>
- <artifactId>jsp-api</artifactId>
- <version>2.1</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>commons-lang</groupId>
- <artifactId>commons-lang</artifactId>
- <version>2.6</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>javax</groupId>
- <artifactId>javaee-web-api</artifactId>
- <version>7.0</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- <version>16.0.1</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>joda-time</groupId>
- <artifactId>joda-time</artifactId>
- <version>2.3</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework.security</groupId>
- <artifactId>spring-security-core</artifactId>
- <version>3.2.5.RELEASE</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework.security</groupId>
- <artifactId>spring-security-web</artifactId>
- <version>3.2.5.RELEASE</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework.security</groupId>
- <artifactId>spring-security-config</artifactId>
- <version>3.2.5.RELEASE</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework.security</groupId>
- <artifactId>spring-security-acl</artifactId>
- <version>3.2.5.RELEASE</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework.security</groupId>
- <artifactId>facelets-taglib-jsf20-spring-3</artifactId>
- <version>0.5</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-core</artifactId>
- <version>4.0.3.RELEASE</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-expression</artifactId>
- <version>4.0.3.RELEASE</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-beans</artifactId>
- <version>4.0.3.RELEASE</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-aop</artifactId>
- <version>4.0.3.RELEASE</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-aspects</artifactId>
- <version>4.0.3.RELEASE</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context</artifactId>
- <version>4.0.3.RELEASE</version>
- <scope>compile</scope>
- <exclusions>
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context-support</artifactId>
- <version>4.0.3.RELEASE</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-tx</artifactId>
- <version>4.0.3.RELEASE</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-jdbc</artifactId>
- <version>4.0.3.RELEASE</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-orm</artifactId>
- <version>4.0.3.RELEASE</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-oxm</artifactId>
- <version>4.0.3.RELEASE</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-web</artifactId>
- <version>4.0.3.RELEASE</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-test</artifactId>
- <version>4.0.3.RELEASE</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-all</artifactId>
- <version>1.3</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-core</artifactId>
- <version>1.0.13</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- <version>1.0.13</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>1.7.5</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>jcl-over-slf4j</artifactId>
- <version>1.7.5</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>commons-collections</groupId>
- <artifactId>commons-collections</artifactId>
- <version>3.2.1</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>annotations</artifactId>
- <version>2.0.2</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>commons-fileupload</groupId>
- <artifactId>commons-fileupload</artifactId>
- <version>1.2.2</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>2.4</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>rome</groupId>
- <artifactId>rome</artifactId>
- <version>1.0</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.twitter4j</groupId>
- <artifactId>twitter4j-core</artifactId>
- <version>3.0.5</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.atmosphere</groupId>
- <artifactId>atmosphere-runtime</artifactId>
- <version>2.2.4</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>javax.inject</groupId>
- <artifactId>javax.inject</artifactId>
- <version>1</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>net.sourceforge.barbecue</groupId>
- <artifactId>barbecue</artifactId>
- <version>1.5-beta1</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>jfree</groupId>
- <artifactId>jfreechart</artifactId>
- <version>1.0.0</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>net.glxn</groupId>
- <artifactId>qrgen</artifactId>
- <version>1.4</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>net.sf.barcode4j</groupId>
- <artifactId>barcode4j-light</artifactId>
- <version>2.1</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.eclipse.persistence</groupId>
- <artifactId>eclipselink</artifactId>
- <version>2.5.1</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.eclipse.persistence</groupId>
- <artifactId>org.eclipse.persistence.jpa.modelgen.processor</artifactId>
- <version>2.5.1</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
- <repositories>
- <repository>
- <id>prime-repo</id>
- <name>PrimeFaces Maven Repository</name>
- <url>http://repository.primefaces.org</url>
- </repository>
- <repository>
- <id>org.springframework.security.taglibs.facelets</id>
- <name>SpringSource Security Taglibs</name>
- <url>http://spring-security-facelets-taglib.googlecode.com/svn/repo/</url>
- </repository>
- <build>
- <finalName>jsfsecure_copy-1.0-SNAPSHOT</finalName>
- <pluginManagement>
- <plugins>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.1</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <encoding>UTF-8</encoding>
- <optimize>false</optimize>
- <debug>true</debug>
- <showDeprecation>true</showDeprecation>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <version>2.3.5</version>
- <extensions>true</extensions>
- <executions>
- <execution>
- <id>bundle-manifest</id>
- <phase>process-classes</phase>
- <goals>
- <goal>manifest</goal>
- </goals>
- <configuration>
- <supportedProjectTypes>
- <supportedProjectType>jar</supportedProjectType>
- </supportedProjectTypes>
- <instructions>
- <Export-Package>org.primefaces.extensions*;version="1.0-SNAPSHOT</Export-Package>
- <Import-Package>javax.*,*;resolution:=optional</Import-Package>
- </instructions>
- </configuration>
- </execution>
- </executions>
- <configuration>
- <supportedProjectTypes>
- <supportedProjectType>jar</supportedProjectType>
- </supportedProjectTypes>
- <instructions>
- <Export-Package>org.primefaces.extensions*;version="1.0-SNAPSHOT</Export-Package>
- <Import-Package>javax.*,*;resolution:=optional</Import-Package>
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- <plugins>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.1</version>
- <executions>
- <execution>
- <id>default-testCompile</id>
- <phase>test-compile</phase>
- <goals>
- <goal>testCompile</goal>
- </goals>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <encoding>UTF-8</encoding>
- <optimize>false</optimize>
- <debug>true</debug>
- <showDeprecation>true</showDeprecation>
- </configuration>
- </execution>
- <execution>
- <id>default-compile</id>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <encoding>UTF-8</encoding>
- <optimize>false</optimize>
- <debug>true</debug>
- <showDeprecation>true</showDeprecation>
- </configuration>
- </execution>
- </executions>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <encoding>UTF-8</encoding>
- <optimize>false</optimize>
- <debug>true</debug>
- <showDeprecation>true</showDeprecation>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <profiles>
- </profiles>
- </project>
- ====================================================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement