[JBoss JIRA] (ELY-1542) Prevent SNAPSHOT versions of json-smart from being downloaded when building Elytron
by Ilia Vassilev (JIRA)
Ilia Vassilev created ELY-1542:
----------------------------------
Summary: Prevent SNAPSHOT versions of json-smart from being downloaded when building Elytron
Key: ELY-1542
URL: https://issues.jboss.org/browse/ELY-1542
Project: WildFly Elytron
Issue Type: Task
Components: Build
Reporter: Ilia Vassilev
Assignee: Farah Juma
Fix For: 1.3.0.CR1, 1.2.3.Final
Current output when building:
{code}
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building WildFly Elytron 1.2.2.Final
[INFO] ------------------------------------------------------------------------
Downloading from central: https://repo.maven.apache.org/maven2/net/minidev/json-smart/maven-metadat...
Downloading from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/net/minidev/json-...
Downloading from public-jboss: https://repository.jboss.org/nexus/content/groups/public-jboss/net/minide...
Downloaded from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/net/minidev/json-... (313 B at 519 B/s)
Downloaded from central: https://repo.maven.apache.org/maven2/net/minidev/json-smart/maven-metadat... (849 B at 693 B/s)
Downloaded from public-jboss: https://repository.jboss.org/nexus/content/groups/public-jboss/net/minide... (849 B at 611 B/s)
Downloading from public-jboss: https://repository.jboss.org/nexus/content/groups/public-jboss/net/minide...
Downloading from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/net/minidev/json-...
Downloaded from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/net/minidev/json-... (1.2 kB at 3.2 kB/s)
Downloading from public-jboss: https://repository.jboss.org/nexus/content/groups/public-jboss/net/minide...
Downloading from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/net/minidev/minid...
Downloaded from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/net/minidev/minid... (598 B at 2.1 kB/s)
Downloading from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/net/minidev/acces...
Downloading from public-jboss: https://repository.jboss.org/nexus/content/groups/public-jboss/net/minide...
Downloaded from jboss-public-repository-group: http://repository.jboss.org/nexus/content/groups/public/net/minidev/acces... (1.2 kB at 4.2 kB/s)
[INFO]
[INFO] --- maven-dependency-plugin:3.0.2:tree (default-cli) @ wildfly-elytron ---
[INFO] org.wildfly.security:wildfly-elytron:jar:1.2.2.Final
[INFO] +- org.jboss.logging:jboss-logging:jar:3.3.1.Final:compile
[INFO] +- org.jboss.logging:jboss-logging-annotations:jar:2.1.0.Final:provided
[INFO] +- org.jboss.logging:jboss-logging-processor:jar:2.1.0.Final:provided
[INFO] | \- org.jboss.jdeparser:jdeparser:jar:2.0.2.Final:provided
[INFO] +- org.jboss.logmanager:jboss-logmanager:jar:2.0.6.Final:provided
[INFO] +- org.jboss.modules:jboss-modules:jar:1.6.0.Final:provided (optional)
[INFO] +- org.kohsuke.metainf-services:metainf-services:jar:1.7:provided (optional)
[INFO] +- org.wildfly.client:wildfly-client-config:jar:1.0.0.Final:provided
[INFO] +- org.wildfly.common:wildfly-common:jar:1.2.0.Final:compile
[INFO] +- org.jboss.spec.javax.security.jacc:jboss-jacc-api_1.5_spec:jar:1.0.1.Final:provided
[INFO] | \- org.jboss.spec.javax.servlet:jboss-servlet-api_3.1_spec:jar:1.0.0.Final:provided
[INFO] +- org.jboss.spec.javax.json:jboss-json-api_1.0_spec:jar:1.0.0.Final:provided
[INFO] +- org.jboss.threads:jboss-threads:jar:2.2.1.Final:provided
[INFO] +- org.apache.directory.api:api-asn1-api:jar:1.0.0-M23:test
[INFO] | +- org.apache.directory.api:api-i18n:jar:1.0.0-M23:test
[INFO] | \- org.slf4j:slf4j-api:jar:1.7.7:test
[INFO] +- org.apache.directory.api:api-asn1-ber:jar:1.0.0-M23:test
[INFO] | \- org.apache.directory.api:api-util:jar:1.0.0-M23:test
[INFO] +- org.apache.directory.api:api-ldap-codec-core:jar:1.0.0-M23:test
[INFO] | +- org.apache.mina:mina-core:jar:2.0.7:test
[INFO] | +- commons-lang:commons-lang:jar:2.6:test
[INFO] | \- commons-collections:commons-collections:jar:3.2.1:test
[INFO] +- org.apache.directory.api:api-ldap-codec-standalone:jar:1.0.0-M23:test
[INFO] | +- org.apache.directory.api:api-ldap-net-mina:jar:1.0.0-M23:test
[INFO] | \- org.apache.directory.api:api-ldap-extras-codec:jar:1.0.0-M23:test
[INFO] +- org.apache.directory.api:api-ldap-extras-codec-api:jar:1.0.0-M23:test
[INFO] +- org.apache.directory.api:api-ldap-model:jar:1.0.0-M23:test
[INFO] | \- antlr:antlr:jar:2.7.7:test
[INFO] +- org.apache.directory.jdbm:apacheds-jdbm1:jar:2.0.0-M2:test
[INFO] +- org.apache.directory.server:apacheds-core-api:jar:2.0.0-M17:test
[INFO] | +- commons-io:commons-io:jar:2.4:test
[INFO] | +- org.apache.directory.server:apacheds-core-constants:jar:2.0.0-M17:test
[INFO] | +- org.apache.directory.server:apacheds-i18n:jar:2.0.0-M17:test
[INFO] | +- org.apache.directory.api:api-ldap-client-api:jar:1.0.0-M23:test
[INFO] | | \- commons-pool:commons-pool:jar:1.6:test
[INFO] | +- org.apache.directory.api:api-ldap-extras-aci:jar:1.0.0-M23:test
[INFO] | +- org.apache.directory.api:api-ldap-extras-util:jar:1.0.0-M23:test
[INFO] | +- org.apache.directory.api:api-ldap-schema-data:jar:1.0.0-M23:test
[INFO] | \- net.sf.ehcache:ehcache-core:jar:2.4.4:test
[INFO] +- org.apache.directory.server:apacheds-core-annotations:jar:2.0.0-M17:test
[INFO] | +- org.apache.directory.server:apacheds-core:jar:2.0.0-M17:test
[INFO] | | +- org.apache.directory.server:apacheds-interceptors-admin:jar:2.0.0-M17:test
[INFO] | | +- org.apache.directory.server:apacheds-interceptors-authn:jar:2.0.0-M17:test
[INFO] | | +- org.apache.directory.server:apacheds-interceptors-number:jar:2.0.0-M17:test
[INFO] | | +- org.apache.directory.server:apacheds-interceptors-authz:jar:2.0.0-M17:test
[INFO] | | +- org.apache.directory.server:apacheds-interceptors-changelog:jar:2.0.0-M17:test
[INFO] | | +- org.apache.directory.server:apacheds-interceptors-collective:jar:2.0.0-M17:test
[INFO] | | +- org.apache.directory.server:apacheds-interceptors-event:jar:2.0.0-M17:test
[INFO] | | +- org.apache.directory.server:apacheds-interceptors-exception:jar:2.0.0-M17:test
[INFO] | | +- org.apache.directory.server:apacheds-interceptors-journal:jar:2.0.0-M17:test
[INFO] | | +- org.apache.directory.server:apacheds-interceptors-normalization:jar:2.0.0-M17:test
[INFO] | | +- org.apache.directory.server:apacheds-interceptors-operational:jar:2.0.0-M17:test
[INFO] | | +- org.apache.directory.server:apacheds-interceptors-referral:jar:2.0.0-M17:test
[INFO] | | +- org.apache.directory.server:apacheds-interceptors-schema:jar:2.0.0-M17:test
[INFO] | | +- org.apache.directory.server:apacheds-interceptors-subtree:jar:2.0.0-M17:test
[INFO] | | \- org.apache.directory.server:apacheds-interceptors-trigger:jar:2.0.0-M17:test
[INFO] | | \- org.apache.directory.api:api-ldap-extras-trigger:jar:1.0.0-M23:test
[INFO] | +- org.apache.directory.server:apacheds-core-shared:jar:2.0.0-M17:test
[INFO] | +- org.apache.directory.server:apacheds-ldif-partition:jar:2.0.0-M17:test
[INFO] | +- org.apache.directory.server:apacheds-jdbm-partition:jar:2.0.0-M17:test
[INFO] | | \- org.apache.directory.server:apacheds-core-avl:jar:2.0.0-M17:test
[INFO] | +- org.apache.directory.server:apacheds-xdbm-partition:jar:2.0.0-M17:test
[INFO] | \- org.apache.directory.server:apacheds-mavibot-partition:jar:2.0.0-M17:test
[INFO] +- org.apache.directory.server:apacheds-interceptor-kerberos:jar:2.0.0-M17:test
[INFO] +- org.apache.directory.server:apacheds-kerberos-codec:jar:2.0.0-M17:test
[INFO] +- org.apache.directory.server:apacheds-protocol-kerberos:jar:2.0.0-M17:test
[INFO] | \- org.apache.directory.server:apacheds-protocol-shared:jar:2.0.0-M17:test
[INFO] +- org.apache.directory.server:apacheds-protocol-ldap:jar:2.0.0-M17:test
[INFO] | +- org.apache.directory.api:api-ldap-extras-sp:jar:1.0.0-M23:test
[INFO] | \- bouncycastle:bcprov-jdk15:jar:140:test
[INFO] +- org.apache.directory.mavibot:mavibot:jar:1.0.0-M5:test
[INFO] +- org.jboss.logmanager:log4j-jboss-logmanager:jar:1.1.4.Final:test
[INFO] +- org.jboss.slf4j:slf4j-jboss-logmanager:jar:1.0.3.GA:test
[INFO] +- junit:junit:jar:4.12:test
[INFO] | \- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] +- org.jmockit:jmockit:jar:1.33:test
[INFO] +- org.hsqldb:hsqldb:jar:2.4.0:test
[INFO] +- org.glassfish:javax.json:jar:1.0.4:test
[INFO] +- com.nimbusds:nimbus-jose-jwt:jar:4.39.2:test
[INFO] | +- com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:test
[INFO] | \- net.minidev:json-smart:jar:2.3:test (version selected from constraint [1.3.1,2.3])
[INFO] | \- net.minidev:accessors-smart:jar:1.2:test
[INFO] | \- org.ow2.asm:asm:jar:5.0.4:test
[INFO] \- com.squareup.okhttp3:mockwebserver:jar:3.8.1:test
[INFO] +- com.squareup.okhttp3:okhttp:jar:3.8.1:test
[INFO] | \- com.squareup.okio:okio:jar:1.13.0:test
[INFO] \- org.bouncycastle:bcprov-jdk15on:jar:1.50:test
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.935 s
[INFO] Finished at: 2018-03-01T09:10:19-08:00
[INFO] Final Memory: 22M/187M
[INFO] ------------------------------------------------------------------------
{code}
The problematic part above is from the \[1.3.1,2.3\] range for json-smart:
{code}
[INFO] +- com.nimbusds:nimbus-jose-jwt:jar:4.39.2:test
[INFO] | +- com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:test
[INFO] | \- net.minidev:json-smart:jar:2.3:test (version selected from constraint [1.3.1,2.3])
{code}
To fix this, we need to exclude json-smart from nimbus-jose-jwt and add an explicit dependency on it.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (WFBUILD-37) Detect JDK and always-present modules
by David Lloyd (JIRA)
David Lloyd created WFBUILD-37:
----------------------------------
Summary: Detect JDK and always-present modules
Key: WFBUILD-37
URL: https://issues.jboss.org/browse/WFBUILD-37
Project: WildFly Build Tools
Issue Type: Enhancement
Reporter: David Lloyd
Assignee: David Lloyd
Starting (probably) with jboss-modules 1.8, there will be a number of modules which are implicitly declared (with no corresponding {{module.xml}} file). The build tool will fail at this point with the error that there are modules missing any time one of these modules are used. Add a static list of implicit modules for now.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (ELY-1537) PolicyContext.getContext("javax.security.auth.Subject.container")
by Derek Horton (JIRA)
[ https://issues.jboss.org/browse/ELY-1537?page=com.atlassian.jira.plugin.s... ]
Derek Horton commented on ELY-1537:
-----------------------------------
In EAP 7.1, org.wildfly.security.auth.server.SecurityDomain appears to be shipped in a private module:
<module xmlns="urn:jboss:module:1.5" name="org.wildfly.security.elytron-private">
<properties>
<property name="jboss.api" value="private"/>
</properties>
...
...
Perhaps, I am looking at the wrong class.
> PolicyContext.getContext("javax.security.auth.Subject.container")
> -----------------------------------------------------------------
>
> Key: ELY-1537
> URL: https://issues.jboss.org/browse/ELY-1537
> Project: WildFly Elytron
> Issue Type: Bug
> Affects Versions: 1.2.3.Final
> Reporter: Ilia Vassilev
> Assignee: Darran Lofthouse
>
> PolicyContext.getContext("javax.security.auth.Subject.container") returns null when using elytron to protect a web application.
> This should return the authenticated subject.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (WFLY-9420) Cluster partitions can take up to cca 2 minutes to merge
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/WFLY-9420?page=com.atlassian.jira.plugin.... ]
Radoslav Husar edited comment on WFLY-9420 at 3/14/18 3:58 PM:
---------------------------------------------------------------
Needs to be retested after JGroups 4 upgrade. Also, this is mostly a problem with stacks with TCP transport.
was (Author: rhusar):
Needs to be retested after jgroups 4 upgrade. Also, this is mostly a problem with stacks with TCP transport.
> Cluster partitions can take up to cca 2 minutes to merge
> --------------------------------------------------------
>
> Key: WFLY-9420
> URL: https://issues.jboss.org/browse/WFLY-9420
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 11.0.0.CR1
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Labels: partition_handling
>
> Using the {{MERGE3}} protocol, it can take significantly longer than {{max_interval}} for merge to happen.
> The info sender interval is up to 45 seconds
> {code:java}
> public long nextInterval() {
> return Math.max(min_interval, Util.random(max_interval) + max_interval/2);
> }
> {code}
> and the view consistency checker interval is 48 seconds
> {code:java}
> protected long computeCheckInterval() {
> return (long)(max_interval * 1.6);
> }
> {code}
> which depending on the timing seem to take significant amount of time.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (WFLY-9420) Cluster partitions can take up to cca 2 minutes to merge
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/WFLY-9420?page=com.atlassian.jira.plugin.... ]
Radoslav Husar edited comment on WFLY-9420 at 3/14/18 3:57 PM:
---------------------------------------------------------------
Needs to be retested after jgroups 4 upgrade. Also, this is mostly a problem with stacks with TCP transport.
was (Author: rhusar):
Needs to be retested after jgroups 4 upgrade.
> Cluster partitions can take up to cca 2 minutes to merge
> --------------------------------------------------------
>
> Key: WFLY-9420
> URL: https://issues.jboss.org/browse/WFLY-9420
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 11.0.0.CR1
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Labels: partition_handling
>
> Using the {{MERGE3}} protocol, it can take significantly longer than {{max_interval}} for merge to happen.
> The info sender interval is up to 45 seconds
> {code:java}
> public long nextInterval() {
> return Math.max(min_interval, Util.random(max_interval) + max_interval/2);
> }
> {code}
> and the view consistency checker interval is 48 seconds
> {code:java}
> protected long computeCheckInterval() {
> return (long)(max_interval * 1.6);
> }
> {code}
> which depending on the timing seem to take significant amount of time.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months