[JBoss JIRA] (GTNPORTAL-2866) Remove maven warnings when building quickstarts
by Peter Palaga (JIRA)
Peter Palaga created GTNPORTAL-2866:
---------------------------------------
Summary: Remove maven warnings when building quickstarts
Key: GTNPORTAL-2866
URL: https://issues.jboss.org/browse/GTNPORTAL-2866
Project: GateIn Portal
Issue Type: Task
Security Level: Public (Everyone can see)
Reporter: Peter Palaga
Assignee: Peter Palaga
{code}
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.gatein.portal.quickstarts:simplest-hello-world-portlet:war:3.6.0.Alpha01-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.jboss.as.plugins:jboss-as-maven-plugin is missing. @ line 119, column 19
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.gatein.portal.quickstarts:jsf2-hello-world-portlet:war:3.6.0.Alpha01-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.jboss.as.plugins:jboss-as-maven-plugin is missing. @ line 108, column 19
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.gatein.portal.quickstarts:jsf2-rf4-hello-world-portlet:war:3.6.0.Alpha01-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.jboss.as.plugins:jboss-as-maven-plugin is missing. @ line 120, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.gatein.portal.quickstarts:gatein-portal-extension-config:jar:3.6.0.Alpha01-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.jboss.as.plugins:jboss-as-maven-plugin is missing. @ org.gatein.portal.quickstarts:gatein-portal-extension:3.6.0.Alpha01-SNAPSHOT, /home/ppalaga/git/gatein-portal-quickstart/gatein-portal-extension/pom.xml, line 69, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.gatein.portal.quickstarts:gatein-portal-extension-war:war:3.6.0.Alpha01-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.jboss.as.plugins:jboss-as-maven-plugin is missing. @ org.gatein.portal.quickstarts:gatein-portal-extension:3.6.0.Alpha01-SNAPSHOT, /home/ppalaga/git/gatein-portal-quickstart/gatein-portal-extension/pom.xml, line 69, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.gatein.portal.quickstarts:gatein-portal-extension-ear:ear:3.6.0.Alpha01-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.jboss.as.plugins:jboss-as-maven-plugin is missing. @ org.gatein.portal.quickstarts:gatein-portal-extension:3.6.0.Alpha01-SNAPSHOT, /home/ppalaga/git/gatein-portal-quickstart/gatein-portal-extension/pom.xml, line 69, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.gatein.portal.quickstarts:gatein-portal-extension:pom:3.6.0.Alpha01-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.jboss.as.plugins:jboss-as-maven-plugin is missing. @ line 69, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.gatein.portal.quickstarts:gatein-sample-portal-config:jar:3.6.0.Alpha01-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.jboss.as.plugins:jboss-as-maven-plugin is missing. @ org.gatein.portal.quickstarts:gatein-sample-portal:3.6.0.Alpha01-SNAPSHOT, /home/ppalaga/git/gatein-portal-quickstart/gatein-sample-portal/pom.xml, line 95, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.gatein.portal.quickstarts:gatein-sample-portal-war:war:3.6.0.Alpha01-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.jboss.as.plugins:jboss-as-maven-plugin is missing. @ org.gatein.portal.quickstarts:gatein-sample-portal:3.6.0.Alpha01-SNAPSHOT, /home/ppalaga/git/gatein-portal-quickstart/gatein-sample-portal/pom.xml, line 95, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.gatein.portal.quickstarts:gatein-sample-portal-rest-war:war:3.6.0.Alpha01-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.jboss.as.plugins:jboss-as-maven-plugin is missing. @ org.gatein.portal.quickstarts:gatein-sample-portal:3.6.0.Alpha01-SNAPSHOT, /home/ppalaga/git/gatein-portal-quickstart/gatein-sample-portal/pom.xml, line 95, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.gatein.portal.quickstarts:gatein-sample-portal-ear:ear:3.6.0.Alpha01-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.jboss.as.plugins:jboss-as-maven-plugin is missing. @ org.gatein.portal.quickstarts:gatein-sample-portal:3.6.0.Alpha01-SNAPSHOT, /home/ppalaga/git/gatein-portal-quickstart/gatein-sample-portal/pom.xml, line 95, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.gatein.portal.quickstarts:gatein-sample-portal:pom:3.6.0.Alpha01-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.jboss.as.plugins:jboss-as-maven-plugin is missing. @ line 95, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.gatein.portal.quickstarts:gatein-portal-quickstarts-parent:pom:3.6.0.Alpha01-SNAPSHOT
[WARNING] 'dependencies.dependency.scope' for org.jboss.bom:gatein-3.6-bom:pom must be one of [provided, compile, runtime, test, system] but is 'import'. @ line 150, column 20
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 7 months
[JBoss JIRA] (GTNPORTAL-2859) Remove PortalClusteredSSOSupportValve from Tomcat7 packaging
by Marek Posolda (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2859?page=com.atlassian.jira.pl... ]
Marek Posolda updated GTNPORTAL-2859:
-------------------------------------
Git Pull Request: https://github.com/gatein/gatein-portal/pull/362 (was: https://issues.jboss.org/browse/GTNPORTAL-2859)
> Remove PortalClusteredSSOSupportValve from Tomcat7 packaging
> ------------------------------------------------------------
>
> Key: GTNPORTAL-2859
> URL: https://issues.jboss.org/browse/GTNPORTAL-2859
> Project: GateIn Portal
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Affects Versions: 3.5.0.Final
> Reporter: Marek Posolda
> Assignee: Marek Posolda
> Fix For: 3.6.0.Final
>
>
> There is issue with PortalClusteredSSOSupportValve on Tomcat7. When the class is loaded, you will see the exception:
> {code}
> java.lang.VerifyError: class org.exoplatform.web.login.PortalClusteredSSOSupportValve overrides final method start.()V
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:264)
> at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1665)
> {code}
> It's caused by API inconsistency between JBoss AS7 and Tomcat7. Normally PortalClusteredSSOSupportValve is not loaded, but it could be loaded when deploying some spring applications on Tomcat7.
> Resolution will be to remove this class from Tomcat packaging and have it only in JBoss AS7 packaging.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 7 months
[JBoss JIRA] (GTNPORTAL-2859) Remove PortalClusteredSSOSupportValve from Tomcat7 packaging
by Marek Posolda (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2859?page=com.atlassian.jira.pl... ]
Marek Posolda updated GTNPORTAL-2859:
-------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://issues.jboss.org/browse/GTNPORTAL-2859
> Remove PortalClusteredSSOSupportValve from Tomcat7 packaging
> ------------------------------------------------------------
>
> Key: GTNPORTAL-2859
> URL: https://issues.jboss.org/browse/GTNPORTAL-2859
> Project: GateIn Portal
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Affects Versions: 3.5.0.Final
> Reporter: Marek Posolda
> Assignee: Marek Posolda
> Fix For: 3.6.0.Final
>
>
> There is issue with PortalClusteredSSOSupportValve on Tomcat7. When the class is loaded, you will see the exception:
> {code}
> java.lang.VerifyError: class org.exoplatform.web.login.PortalClusteredSSOSupportValve overrides final method start.()V
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:264)
> at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1665)
> {code}
> It's caused by API inconsistency between JBoss AS7 and Tomcat7. Normally PortalClusteredSSOSupportValve is not loaded, but it could be loaded when deploying some spring applications on Tomcat7.
> Resolution will be to remove this class from Tomcat packaging and have it only in JBoss AS7 packaging.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 7 months