I moved the enforcer stuff to a profile, so that it can be turned off when
needed. The enforcer will run by default, but it can now be skipped using the
following on 5_x:
./build.sh clean main -Dmaven.opts="-Dskip-enforce"
Or in trunk
./build.sh -Dskip-enforce
Dimitris Andreadis wrote:
[java] 472K downloaded
[java] Downloading:
http://repository.jboss.org/maven2/org/jboss/webbeans/i
ntegration/webbeans-jboss-int-jboss-ejb/5.2.0.Beta2/webbeans-jboss-int-jboss-ejb
-5.2.0.Beta2.jar
[java] 24K downloaded
[java] Downloading:
http://repository.jboss.org/maven2/org/jboss/webbeans/w
ebbeans-core/1.0.0.PREVIEW1/webbeans-core-1.0.0.PREVIEW1.jar
[java] 394K downloaded
[java] Downloading:
http://repository.jboss.org/maven2/org/jboss/webbeans/j
sr299-api/1.0.0.PREVIEW1/jsr299-api-1.0.0.PREVIEW1.jar
[java] 35K downloaded
[java] Downloading:
http://repository.jboss.org/maven2/org/jboss/webbeans/w
ebbeans-api/1.0.0.PREVIEW1/webbeans-api-1.0.0.PREVIEW1.jar
[java] 4K downloaded
[java] Downloading:
http://repository.jboss.org/maven2/org/jboss/webbeans/w
ebbeans-spi/1.0.0.PREVIEW1/webbeans-spi-1.0.0.PREVIEW1.jar
[java] 44K downloaded
[java] Downloading:
http://repository.jboss.org/maven2/org/jboss/webbeans/w
ebbeans-logging/1.0.0.PREVIEW1/webbeans-logging-1.0.0.PREVIEW1.jar
[java] 8K downloaded
[java] Downloading:
http://repository.jboss.org/maven2/javax/xml/bind/jaxb-
api/2.1/jaxb-api-2.1.jar
[java] 87K downloaded
[java] Downloading:
http://repository.jboss.org/maven2/javax/xml/stream/sta
x-api/1.0-2/stax-api-1.0-2.jar
[java] 22K downloaded
[java] [INFO] [enforcer:enforce {execution: ban-bad-dependencies}]
[java] [WARNING] Rule 0:
org.apache.maven.plugins.enforcer.BannedDependenci
es failed with message:
[java] Found Banned Dependency: javax.xml.bind:jaxb-api:jar:2.1
[java] Found Banned Dependency: javax.xml.stream:stax-api:jar:1.0-2
[java]
[java] [INFO]
-------------------------------------------------------------
-----------
[java] [ERROR] BUILD ERROR
[java] [INFO]
-------------------------------------------------------------/
_______________________________________________
jboss-development mailing list
jboss-development(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-development