[JBoss JIRA] (SRAMP-569) Create maven plugin to merge .properties files
by Brett Meyer (JIRA)
Brett Meyer created SRAMP-569:
---------------------------------
Summary: Create maven plugin to merge .properties files
Key: SRAMP-569
URL: https://issues.jboss.org/browse/SRAMP-569
Project: S-RAMP
Issue Type: Enhancement
Reporter: Brett Meyer
Assignee: David virgil naranjo
SRAMP-566 removes Fuse from s-ramp-installer. Instead, Fuse configuration is scripted through s-ramp-karaf-commands. That project currently controls its own versions of sramp.properties, sramp-ui.properties, etc. This was originally done since some of the values are static and *specific* to Fuse.
However, several values remain unchanged when compared to the other platforms. It would be better if s-ramp-karaf-commands/pom.xml was able to pull ../s-ramp-installer/**/*.properties and merge it with .properties still controlled in s-ramp-karaf-commands. However, the s-ramp-karaf-commands version would contain *only* the Fuse specific values.
Essentially, we're relying on s-ramp-installer's versions during buildtime, but overriding with any necessary Fuse values in s-ramp-karaf-commands. A custom Maven plugin to support this should be incredibly easy. Use Java's Properties, load the first version, then load and override with the 2nd. See http://beardedgeeks.googlecode.com/svn/docs/maven-merge-properties-plugin... for inspiration.
Note that this is also needed for overlord-commons-karaf-commands (configure.dtd, overlord.properties, etc.)
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 4 months
[JBoss JIRA] (SRAMP-488) Use the maven-bundle-plugin in WAR projects
by Brett Meyer (JIRA)
[ https://issues.jboss.org/browse/SRAMP-488?page=com.atlassian.jira.plugin.... ]
Brett Meyer resolved SRAMP-488.
-------------------------------
Resolution: Done
> Use the maven-bundle-plugin in WAR projects
> -------------------------------------------
>
> Key: SRAMP-488
> URL: https://issues.jboss.org/browse/SRAMP-488
> Project: S-RAMP
> Issue Type: Task
> Reporter: Eric Wittmann
> Assignee: Brett Meyer
> Fix For: 0.6.0
>
>
> Right now in our WAR projects we are using the war plugin to configure the manifest for osgi. Instead we should use the bundle plugin.
> Links:
> https://ops4j1.jira.com/wiki/display/paxweb/OSGi-fy+your+WAR
> https://ops4j1.jira.com/wiki/display/ops4j/Getting+the+benefits+of+maven-...
> Here is an example of using it in overlord-commons-idp:
> {code}
> <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">
> <modelVersion>4.0.0</modelVersion>
> <parent>
> <groupId>org.overlord</groupId>
> <artifactId>overlord-commons</artifactId>
> <version>2.0.3-SNAPSHOT</version>
> </parent>
> <artifactId>overlord-commons-idp</artifactId>
> <packaging>war</packaging>
> <name>Overlord Commons: IDP</name>
> <description>An identity provider using PicketLink SAML.</description>
> <dependencies>
> <!-- Third Party Dependencies -->
> <dependency>
> <groupId>org.picketlink</groupId>
> <artifactId>picketlink-federation</artifactId>
> </dependency>
> <dependency>
> <groupId>org.picketbox</groupId>
> <artifactId>picketbox</artifactId>
> </dependency>
> <dependency>
> <groupId>org.picketlink</groupId>
> <artifactId>picketlink-federation</artifactId>
> </dependency>
> <dependency>
> <groupId>org.jboss.logging</groupId>
> <artifactId>jboss-logging</artifactId>
> </dependency>
> <dependency>
> <groupId>${project.groupId}</groupId>
> <artifactId>overlord-commons-auth</artifactId>
> </dependency>
> <dependency>
> <groupId>${project.groupId}</groupId>
> <artifactId>overlord-commons-auth-jboss7</artifactId>
> </dependency>
> <dependency>
> <groupId>${project.groupId}</groupId>
> <artifactId>overlord-commons-auth-jetty8</artifactId>
> </dependency>
> <dependency>
> <groupId>${project.groupId}</groupId>
> <artifactId>overlord-commons-auth-tomcat7</artifactId>
> </dependency>
> <!-- Provided Dependencies -->
> <dependency>
> <groupId>org.jboss.spec.javax.servlet</groupId>
> <artifactId>jboss-servlet-api_3.0_spec</artifactId>
> <scope>provided</scope>
> </dependency>
> </dependencies>
> <build>
> <plugins>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>build-helper-maven-plugin</artifactId>
> <executions>
> <execution>
> <id>regex-property</id>
> <goals>
> <goal>regex-property</goal>
> </goals>
> <configuration>
> <name>project.version.osgi</name>
> <value>${project.version}</value>
> <regex>-SNAPSHOT</regex>
> <replacement>.Snapshot</replacement>
> <failIfNoMatch>false</failIfNoMatch>
> </configuration>
> </execution>
> </executions>
> </plugin>
> <!-- <plugin> -->
> <!-- <artifactId>maven-war-plugin</artifactId> -->
> <!-- <configuration> -->
> <!-- <failOnMissingWebXml>false</failOnMissingWebXml> -->
> <!-- <warName>${project.artifactId}</warName> -->
> <!-- <attachClasses>true</attachClasses> -->
> <!-- <classesClassifier>classes</classesClassifier> -->
> <!-- <archive> -->
> <!-- <manifestEntries> -->
> <!-- <Bundle-ManifestVersion>2</Bundle-ManifestVersion> -->
> <!-- <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> -->
> <!-- <Bundle-Version>${project.version.osgi}</Bundle-Version> -->
> <!-- <Web-ContextPath>/overlord-idp</Web-ContextPath> -->
> <!-- <Webapp-Context>/overlord-idp</Webapp-Context> -->
> <!-- <Import-Package>org.apache.log4j,javax.servlet, javax.servlet.http,javax.security.auth.login,javax.xml.stream,javax.xml.stream.events,javax.xml.namespace,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.stream,javax.xml.parsers,javax.xml.datatype,javax.xml.crypto,javax.xml.crypto.dsig,javax.xml.bind,org.apache.karaf.jaas.boot.principal,org.eclipse.jetty.plus.jaas,org.xml.sax,org.w3c.dom,org.w3c.dom.ls,org.overlord.commons.auth.util,org.picketlink.identity.federation.core.interfaces -->
> <!-- </Import-Package> -->
> <!-- <Bundle-ClassPath>.,WEB-INF/classes,WEB-INF/lib/commons-logging-${version.commons-logging}.jar,WEB-INF/lib/jboss-logging-${version.org.jboss.logging}.jar,WEB-INF/lib/jbossxacml-2.0.8.Final.jar,WEB-INF/lib/picketbox-${picketbox.version}.jar,WEB-INF/lib/picketlink-common-${picketlink.version}.jar,WEB-INF/lib/picketlink-config-${picketlink.version}.jar,WEB-INF/lib/picketlink-federation-${picketlink.version}.jar,WEB-INF/lib/picketlink-idm-api-${picketlink.version}.jar,WEB-INF/lib/picketlink-idm-impl-${picketlink.version}.jar,WEB-INF/lib/xmlsec-1.5.1.jar -->
> <!-- </Bundle-ClassPath> -->
> <!-- </manifestEntries> -->
> <!-- </archive> -->
> <!-- </configuration> -->
> <!-- </plugin> -->
> <plugin>
> <artifactId>maven-war-plugin</artifactId>
> <configuration>
> <archive>
> <!-- add the generated manifest to the war -->
> <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
> </archive>
> </configuration>
> </plugin>
> <plugin>
> <groupId>org.apache.felix</groupId>
> <artifactId>maven-bundle-plugin</artifactId>
> <executions>
> <execution>
> <id>bundle-manifest</id>
> <phase>process-classes</phase>
> <goals>
> <goal>manifest</goal>
> </goals>
> </execution>
> </executions>
> <configuration>
> <failOnMissingWebXml>false</failOnMissingWebXml> -->
> <warName>${project.artifactId}</warName>
> <attachClasses>true</attachClasses>
> <classesClassifier>classes</classesClassifier>
> <instructions>
> <Bundle-ManifestVersion>2</Bundle-ManifestVersion>
> <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
> <Bundle-Version>${project.version.osgi}</Bundle-Version>
> <Web-ContextPath>/overlord-idp</Web-ContextPath>
> <Webapp-Context>/overlord-idp</Webapp-Context>
> <Import-Package>org.apache.log4j,javax.servlet, javax.servlet.http,javax.security.auth.login,javax.xml.stream,javax.xml.stream.events,javax.xml.namespace,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.stream,javax.xml.parsers,javax.xml.datatype,javax.xml.crypto,javax.xml.crypto.dsig,javax.xml.bind,org.apache.karaf.jaas.boot.principal,org.eclipse.jetty.plus.jaas,org.xml.sax,org.w3c.dom,org.w3c.dom.ls,org.overlord.commons.auth.util,org.picketlink.identity.federation.core.interfaces
> </Import-Package>
> <Bundle-ClassPath>.,WEB-INF/classes,WEB-INF/lib/commons-logging-${version.commons-logging}.jar,WEB-INF/lib/jboss-logging-${version.org.jboss.logging}.jar,WEB-INF/lib/jbossxacml-2.0.8.Final.jar,WEB-INF/lib/picketbox-${picketbox.version}.jar,WEB-INF/lib/picketlink-common-${picketlink.version}.jar,WEB-INF/lib/picketlink-config-${picketlink.version}.jar,WEB-INF/lib/picketlink-federation-${picketlink.version}.jar,WEB-INF/lib/picketlink-idm-api-${picketlink.version}.jar,WEB-INF/lib/picketlink-idm-impl-${picketlink.version}.jar,WEB-INF/lib/xmlsec-1.5.1.jar
> </Bundle-ClassPath>
> </instructions>
> </configuration>
> </plugin>
> </plugins>
> </build>
> </project>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 4 months
[JBoss JIRA] (OVERLORD-147) Use the maven-bundle-plugin in WAR projects (overlord-commons)
by Eric Wittmann (JIRA)
[ https://issues.jboss.org/browse/OVERLORD-147?page=com.atlassian.jira.plug... ]
Eric Wittmann moved DTGOV-225 to OVERLORD-147:
----------------------------------------------
Project: Overlord (was: DTGov (Design Time Governance))
Key: OVERLORD-147 (was: DTGOV-225)
Fix Version/s: Overlord-Commons-2.0.11.Final
(was: 1.3.1)
> Use the maven-bundle-plugin in WAR projects (overlord-commons)
> --------------------------------------------------------------
>
> Key: OVERLORD-147
> URL: https://issues.jboss.org/browse/OVERLORD-147
> Project: Overlord
> Issue Type: Task
> Reporter: Eric Wittmann
> Assignee: Eric Wittmann
> Fix For: Overlord-Commons-2.0.11.Final
>
>
> Right now in our WAR projects we are using the war plugin to configure the manifest for osgi. Instead we should use the bundle plugin.
> Links:
> https://ops4j1.jira.com/wiki/display/paxweb/OSGi-fy+your+WAR
> https://ops4j1.jira.com/wiki/display/ops4j/Getting+the+benefits+of+maven-...
> Here is an example of using it in overlord-commons-idp:
> {code}
> <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">
> <modelVersion>4.0.0</modelVersion>
> <parent>
> <groupId>org.overlord</groupId>
> <artifactId>overlord-commons</artifactId>
> <version>2.0.3-SNAPSHOT</version>
> </parent>
> <artifactId>overlord-commons-idp</artifactId>
> <packaging>war</packaging>
> <name>Overlord Commons: IDP</name>
> <description>An identity provider using PicketLink SAML.</description>
> <dependencies>
> <!-- Third Party Dependencies -->
> <dependency>
> <groupId>org.picketlink</groupId>
> <artifactId>picketlink-federation</artifactId>
> </dependency>
> <dependency>
> <groupId>org.picketbox</groupId>
> <artifactId>picketbox</artifactId>
> </dependency>
> <dependency>
> <groupId>org.picketlink</groupId>
> <artifactId>picketlink-federation</artifactId>
> </dependency>
> <dependency>
> <groupId>org.jboss.logging</groupId>
> <artifactId>jboss-logging</artifactId>
> </dependency>
> <dependency>
> <groupId>${project.groupId}</groupId>
> <artifactId>overlord-commons-auth</artifactId>
> </dependency>
> <dependency>
> <groupId>${project.groupId}</groupId>
> <artifactId>overlord-commons-auth-jboss7</artifactId>
> </dependency>
> <dependency>
> <groupId>${project.groupId}</groupId>
> <artifactId>overlord-commons-auth-jetty8</artifactId>
> </dependency>
> <dependency>
> <groupId>${project.groupId}</groupId>
> <artifactId>overlord-commons-auth-tomcat7</artifactId>
> </dependency>
> <!-- Provided Dependencies -->
> <dependency>
> <groupId>org.jboss.spec.javax.servlet</groupId>
> <artifactId>jboss-servlet-api_3.0_spec</artifactId>
> <scope>provided</scope>
> </dependency>
> </dependencies>
> <build>
> <plugins>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>build-helper-maven-plugin</artifactId>
> <executions>
> <execution>
> <id>regex-property</id>
> <goals>
> <goal>regex-property</goal>
> </goals>
> <configuration>
> <name>project.version.osgi</name>
> <value>${project.version}</value>
> <regex>-SNAPSHOT</regex>
> <replacement>.Snapshot</replacement>
> <failIfNoMatch>false</failIfNoMatch>
> </configuration>
> </execution>
> </executions>
> </plugin>
> <!-- <plugin> -->
> <!-- <artifactId>maven-war-plugin</artifactId> -->
> <!-- <configuration> -->
> <!-- <failOnMissingWebXml>false</failOnMissingWebXml> -->
> <!-- <warName>${project.artifactId}</warName> -->
> <!-- <attachClasses>true</attachClasses> -->
> <!-- <classesClassifier>classes</classesClassifier> -->
> <!-- <archive> -->
> <!-- <manifestEntries> -->
> <!-- <Bundle-ManifestVersion>2</Bundle-ManifestVersion> -->
> <!-- <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> -->
> <!-- <Bundle-Version>${project.version.osgi}</Bundle-Version> -->
> <!-- <Web-ContextPath>/overlord-idp</Web-ContextPath> -->
> <!-- <Webapp-Context>/overlord-idp</Webapp-Context> -->
> <!-- <Import-Package>org.apache.log4j,javax.servlet, javax.servlet.http,javax.security.auth.login,javax.xml.stream,javax.xml.stream.events,javax.xml.namespace,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.stream,javax.xml.parsers,javax.xml.datatype,javax.xml.crypto,javax.xml.crypto.dsig,javax.xml.bind,org.apache.karaf.jaas.boot.principal,org.eclipse.jetty.plus.jaas,org.xml.sax,org.w3c.dom,org.w3c.dom.ls,org.overlord.commons.auth.util,org.picketlink.identity.federation.core.interfaces -->
> <!-- </Import-Package> -->
> <!-- <Bundle-ClassPath>.,WEB-INF/classes,WEB-INF/lib/commons-logging-${version.commons-logging}.jar,WEB-INF/lib/jboss-logging-${version.org.jboss.logging}.jar,WEB-INF/lib/jbossxacml-2.0.8.Final.jar,WEB-INF/lib/picketbox-${picketbox.version}.jar,WEB-INF/lib/picketlink-common-${picketlink.version}.jar,WEB-INF/lib/picketlink-config-${picketlink.version}.jar,WEB-INF/lib/picketlink-federation-${picketlink.version}.jar,WEB-INF/lib/picketlink-idm-api-${picketlink.version}.jar,WEB-INF/lib/picketlink-idm-impl-${picketlink.version}.jar,WEB-INF/lib/xmlsec-1.5.1.jar -->
> <!-- </Bundle-ClassPath> -->
> <!-- </manifestEntries> -->
> <!-- </archive> -->
> <!-- </configuration> -->
> <!-- </plugin> -->
> <plugin>
> <artifactId>maven-war-plugin</artifactId>
> <configuration>
> <archive>
> <!-- add the generated manifest to the war -->
> <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
> </archive>
> </configuration>
> </plugin>
> <plugin>
> <groupId>org.apache.felix</groupId>
> <artifactId>maven-bundle-plugin</artifactId>
> <executions>
> <execution>
> <id>bundle-manifest</id>
> <phase>process-classes</phase>
> <goals>
> <goal>manifest</goal>
> </goals>
> </execution>
> </executions>
> <configuration>
> <failOnMissingWebXml>false</failOnMissingWebXml> -->
> <warName>${project.artifactId}</warName>
> <attachClasses>true</attachClasses>
> <classesClassifier>classes</classesClassifier>
> <instructions>
> <Bundle-ManifestVersion>2</Bundle-ManifestVersion>
> <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
> <Bundle-Version>${project.version.osgi}</Bundle-Version>
> <Web-ContextPath>/overlord-idp</Web-ContextPath>
> <Webapp-Context>/overlord-idp</Webapp-Context>
> <Import-Package>org.apache.log4j,javax.servlet, javax.servlet.http,javax.security.auth.login,javax.xml.stream,javax.xml.stream.events,javax.xml.namespace,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.stream,javax.xml.parsers,javax.xml.datatype,javax.xml.crypto,javax.xml.crypto.dsig,javax.xml.bind,org.apache.karaf.jaas.boot.principal,org.eclipse.jetty.plus.jaas,org.xml.sax,org.w3c.dom,org.w3c.dom.ls,org.overlord.commons.auth.util,org.picketlink.identity.federation.core.interfaces
> </Import-Package>
> <Bundle-ClassPath>.,WEB-INF/classes,WEB-INF/lib/commons-logging-${version.commons-logging}.jar,WEB-INF/lib/jboss-logging-${version.org.jboss.logging}.jar,WEB-INF/lib/jbossxacml-2.0.8.Final.jar,WEB-INF/lib/picketbox-${picketbox.version}.jar,WEB-INF/lib/picketlink-common-${picketlink.version}.jar,WEB-INF/lib/picketlink-config-${picketlink.version}.jar,WEB-INF/lib/picketlink-federation-${picketlink.version}.jar,WEB-INF/lib/picketlink-idm-api-${picketlink.version}.jar,WEB-INF/lib/picketlink-idm-impl-${picketlink.version}.jar,WEB-INF/lib/xmlsec-1.5.1.jar
> </Bundle-ClassPath>
> </instructions>
> </configuration>
> </plugin>
> </plugins>
> </build>
> </project>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 4 months
[JBoss JIRA] (SRAMP-568) Use the maven-bundle-plugin in WAR projects
by Eric Wittmann (JIRA)
Eric Wittmann created SRAMP-568:
-----------------------------------
Summary: Use the maven-bundle-plugin in WAR projects
Key: SRAMP-568
URL: https://issues.jboss.org/browse/SRAMP-568
Project: S-RAMP
Issue Type: Task
Reporter: Eric Wittmann
Assignee: Brett Meyer
Fix For: 0.6.0
Right now in our WAR projects we are using the war plugin to configure the manifest for osgi. Instead we should use the bundle plugin.
Links:
https://ops4j1.jira.com/wiki/display/paxweb/OSGi-fy+your+WAR
https://ops4j1.jira.com/wiki/display/ops4j/Getting+the+benefits+of+maven-...
Here is an example of using it in overlord-commons-idp:
{code}
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.overlord</groupId>
<artifactId>overlord-commons</artifactId>
<version>2.0.3-SNAPSHOT</version>
</parent>
<artifactId>overlord-commons-idp</artifactId>
<packaging>war</packaging>
<name>Overlord Commons: IDP</name>
<description>An identity provider using PicketLink SAML.</description>
<dependencies>
<!-- Third Party Dependencies -->
<dependency>
<groupId>org.picketlink</groupId>
<artifactId>picketlink-federation</artifactId>
</dependency>
<dependency>
<groupId>org.picketbox</groupId>
<artifactId>picketbox</artifactId>
</dependency>
<dependency>
<groupId>org.picketlink</groupId>
<artifactId>picketlink-federation</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>overlord-commons-auth</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>overlord-commons-auth-jboss7</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>overlord-commons-auth-jetty8</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>overlord-commons-auth-tomcat7</artifactId>
</dependency>
<!-- Provided Dependencies -->
<dependency>
<groupId>org.jboss.spec.javax.servlet</groupId>
<artifactId>jboss-servlet-api_3.0_spec</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>regex-property</id>
<goals>
<goal>regex-property</goal>
</goals>
<configuration>
<name>project.version.osgi</name>
<value>${project.version}</value>
<regex>-SNAPSHOT</regex>
<replacement>.Snapshot</replacement>
<failIfNoMatch>false</failIfNoMatch>
</configuration>
</execution>
</executions>
</plugin>
<!-- <plugin> -->
<!-- <artifactId>maven-war-plugin</artifactId> -->
<!-- <configuration> -->
<!-- <failOnMissingWebXml>false</failOnMissingWebXml> -->
<!-- <warName>${project.artifactId}</warName> -->
<!-- <attachClasses>true</attachClasses> -->
<!-- <classesClassifier>classes</classesClassifier> -->
<!-- <archive> -->
<!-- <manifestEntries> -->
<!-- <Bundle-ManifestVersion>2</Bundle-ManifestVersion> -->
<!-- <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> -->
<!-- <Bundle-Version>${project.version.osgi}</Bundle-Version> -->
<!-- <Web-ContextPath>/overlord-idp</Web-ContextPath> -->
<!-- <Webapp-Context>/overlord-idp</Webapp-Context> -->
<!-- <Import-Package>org.apache.log4j,javax.servlet, javax.servlet.http,javax.security.auth.login,javax.xml.stream,javax.xml.stream.events,javax.xml.namespace,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.stream,javax.xml.parsers,javax.xml.datatype,javax.xml.crypto,javax.xml.crypto.dsig,javax.xml.bind,org.apache.karaf.jaas.boot.principal,org.eclipse.jetty.plus.jaas,org.xml.sax,org.w3c.dom,org.w3c.dom.ls,org.overlord.commons.auth.util,org.picketlink.identity.federation.core.interfaces -->
<!-- </Import-Package> -->
<!-- <Bundle-ClassPath>.,WEB-INF/classes,WEB-INF/lib/commons-logging-${version.commons-logging}.jar,WEB-INF/lib/jboss-logging-${version.org.jboss.logging}.jar,WEB-INF/lib/jbossxacml-2.0.8.Final.jar,WEB-INF/lib/picketbox-${picketbox.version}.jar,WEB-INF/lib/picketlink-common-${picketlink.version}.jar,WEB-INF/lib/picketlink-config-${picketlink.version}.jar,WEB-INF/lib/picketlink-federation-${picketlink.version}.jar,WEB-INF/lib/picketlink-idm-api-${picketlink.version}.jar,WEB-INF/lib/picketlink-idm-impl-${picketlink.version}.jar,WEB-INF/lib/xmlsec-1.5.1.jar -->
<!-- </Bundle-ClassPath> -->
<!-- </manifestEntries> -->
<!-- </archive> -->
<!-- </configuration> -->
<!-- </plugin> -->
<plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<archive>
<!-- add the generated manifest to the war -->
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml> -->
<warName>${project.artifactId}</warName>
<attachClasses>true</attachClasses>
<classesClassifier>classes</classesClassifier>
<instructions>
<Bundle-ManifestVersion>2</Bundle-ManifestVersion>
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
<Bundle-Version>${project.version.osgi}</Bundle-Version>
<Web-ContextPath>/overlord-idp</Web-ContextPath>
<Webapp-Context>/overlord-idp</Webapp-Context>
<Import-Package>org.apache.log4j,javax.servlet, javax.servlet.http,javax.security.auth.login,javax.xml.stream,javax.xml.stream.events,javax.xml.namespace,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.stream,javax.xml.parsers,javax.xml.datatype,javax.xml.crypto,javax.xml.crypto.dsig,javax.xml.bind,org.apache.karaf.jaas.boot.principal,org.eclipse.jetty.plus.jaas,org.xml.sax,org.w3c.dom,org.w3c.dom.ls,org.overlord.commons.auth.util,org.picketlink.identity.federation.core.interfaces
</Import-Package>
<Bundle-ClassPath>.,WEB-INF/classes,WEB-INF/lib/commons-logging-${version.commons-logging}.jar,WEB-INF/lib/jboss-logging-${version.org.jboss.logging}.jar,WEB-INF/lib/jbossxacml-2.0.8.Final.jar,WEB-INF/lib/picketbox-${picketbox.version}.jar,WEB-INF/lib/picketlink-common-${picketlink.version}.jar,WEB-INF/lib/picketlink-config-${picketlink.version}.jar,WEB-INF/lib/picketlink-federation-${picketlink.version}.jar,WEB-INF/lib/picketlink-idm-api-${picketlink.version}.jar,WEB-INF/lib/picketlink-idm-impl-${picketlink.version}.jar,WEB-INF/lib/xmlsec-1.5.1.jar
</Bundle-ClassPath>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>
{code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 4 months
[JBoss JIRA] (RTGOV-566) [resubmit] RemoteMessage#context is empty
by Gary Brown (JIRA)
[ https://issues.jboss.org/browse/RTGOV-566?page=com.atlassian.jira.plugin.... ]
Gary Brown resolved RTGOV-566.
------------------------------
Resolution: Done
Decided to merge this as there now seems to be agreement on the approach. Its been tested with the fix for SWITCHYARD-2336 and enables a DOM based header property to be stored in rtgov and used during the resubmission.
> [resubmit] RemoteMessage#context is empty
> -----------------------------------------
>
> Key: RTGOV-566
> URL: https://issues.jboss.org/browse/RTGOV-566
> Project: RTGov (Run Time Governance)
> Issue Type: Bug
> Components: User Interface
> Reporter: Michael Clay
> Assignee: Gary Brown
> Fix For: 2.0.0.Final
>
>
> because RemoteMessage#context is empty/not used there is no way to pass
> properties required for the implementation of the resubmitted/retried service invocation (e.g. SOAPHeader are stored as message properties)
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 4 months
[JBoss JIRA] (RTGOV-566) [resubmit] RemoteMessage#context is empty
by Keith Babo (JIRA)
[ https://issues.jboss.org/browse/RTGOV-566?page=com.atlassian.jira.plugin.... ]
Keith Babo commented on RTGOV-566:
----------------------------------
The original SOAP message is not mapped into the exchange/message. The context mapper can be configured to map HTTP headers and SOAP headers into the message context and the SOAP body goes into the message content. The original SAAJ SOAPMessage reference is available to the message composer, so if access to this reference was required for some reason then it could simply be mapped into a context property.
> [resubmit] RemoteMessage#context is empty
> -----------------------------------------
>
> Key: RTGOV-566
> URL: https://issues.jboss.org/browse/RTGOV-566
> Project: RTGov (Run Time Governance)
> Issue Type: Bug
> Components: User Interface
> Reporter: Michael Clay
> Assignee: Gary Brown
> Fix For: 2.0.0.Final
>
>
> because RemoteMessage#context is empty/not used there is no way to pass
> properties required for the implementation of the resubmitted/retried service invocation (e.g. SOAPHeader are stored as message properties)
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 4 months
[JBoss JIRA] (RTGOV-566) [resubmit] RemoteMessage#context is empty
by Michael Clay (JIRA)
[ https://issues.jboss.org/browse/RTGOV-566?page=com.atlassian.jira.plugin.... ]
Michael Clay commented on RTGOV-566:
------------------------------------
the relevant section i was referring to is {{org.overlord.rtgov.internal.switchyard.exchange.AbstractExchangeEventProcessor#record}} in which you can see that only the actual message content is passed into the activitycollector#processInformation
> [resubmit] RemoteMessage#context is empty
> -----------------------------------------
>
> Key: RTGOV-566
> URL: https://issues.jboss.org/browse/RTGOV-566
> Project: RTGov (Run Time Governance)
> Issue Type: Bug
> Components: User Interface
> Reporter: Michael Clay
> Assignee: Gary Brown
> Fix For: 2.0.0.Final
>
>
> because RemoteMessage#context is empty/not used there is no way to pass
> properties required for the implementation of the resubmitted/retried service invocation (e.g. SOAPHeader are stored as message properties)
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 4 months