Skip to content

Commit

Permalink
Merge pull request #1447 from lat-lon/cleanUpProfilesForWebservices
Browse files Browse the repository at this point in the history
Reworked profiles section for building deegree-webservices WAR file
  • Loading branch information
copierrj authored Jan 11, 2023
2 parents 6e8d204 + d2aed1f commit 86bbe91
Showing 1 changed file with 12 additions and 59 deletions.
71 changes: 12 additions & 59 deletions deegree-services/deegree-webservices/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,80 +103,33 @@
</plugin>
</plugins>
</build>
<!-- Workaround for dependency plugin issue (http://jira.codehaus.org/browse/MDEP-259) -->
<profiles>
<profile>
<id>activate-dependency-plugin</id>
<activation>
<property>
<name>!deactivateDependencyPlugin</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>tomcat</id>
<phase>generate-resources</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<type>zip</type>
<includeGroupIds>org.deegree</includeGroupIds>
<includeArtifactIds>deegree-tomcat</includeArtifactIds>
<outputDirectory>target/deegree-tomcat</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>jersey-provided</id>
<dependencies>
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-server</artifactId>
</dependency>
</dependencies>
</profile>
<profile>
<id>jsf-provided</id>
<dependencies>
<dependency>
<groupId>javax.faces</groupId>
<artifactId>javax.faces-api</artifactId>
</dependency>
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-impl</artifactId>
</dependency>
</dependencies>
</profile>
<profile>
<id>jstl-provided</id>
<id>mssql</id>
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<groupId>org.deegree</groupId>
<artifactId>deegree-sqldialect-mssql</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</profile>
<profile>
<id>ojdbc6-provided</id>
<id>oracle</id>
<dependencies>
<dependency>
<groupId>org.deegree</groupId>
<artifactId>deegree-sqldialect-oracle</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>
<groupId>com.oracle</groupId>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc8</artifactId>
</exclusion>
</exclusions>
Expand Down

0 comments on commit 86bbe91

Please sign in to comment.