Hi there,
Got mod_cluster 1.1.2.GA from SVN:S svn co
http://anonsvn.jboss.org/repos/mod_cluster/tags/1.1.2.Final/
then tried to build, following instructions from the UserGuide, but it
fails:S mvn -U -P dist package[INFO] Scanning for projects...[INFO]
[INFO]
------------------------------------------------------------------------[INFO]
Building mod_cluster 1.1.2.Final[INFO]
------------------------------------------------------------------------Downloading:
http://repository.jboss.org/nexus/content/groups/public/trove/trove/2.1.1...:
http://repo1.maven.org/maven2/trove/trove/2.1.1/trove-2.1.1.pomDownloading:
http://repository.jboss.org/maven2/trove/trove/2.1.1/trove-2.1.1.pomDownl...:
http://repository.jboss.org/nexus/content/groups/public/jpl-pattern/jpl-p...:
http://repo1.maven.org/maven2/jpl-pattern/jpl-pattern/1.0/jpl-pattern-1.0...
The POM for jpl-pattern:jpl-pattern:jar:1.0 is missing, no dependency
information availableDownloading:
http://repository.jboss.org/nexus/content/groups/public/jpl-util/jpl-util...:
http://repo1.maven.org/maven2/jpl-util/jpl-util/1.0/jpl-util-1.0.pom[WARN...
The POM for jpl-util:jpl-util:jar:1.0 is missing, no dependency information
availableDownloading:
http://repository.jboss.org/nexus/content/groups/public/trove/trove/2.1.1...:
http://repo1.maven.org/maven2/trove/trove/2.1.1/trove-2.1.1.pom[WARNING]
The POM for trove:trove:jar:2.1.1 is missing, no dependency information
available[INFO]
------------------------------------------------------------------------[INFO]
BUILD FAILURE[INFO]
------------------------------------------------------------------------[INFO]
Total time: 7.956s[INFO] Finished at: Tue May 24 20:28:21 GMT-03:00
2011[INFO] Final Memory: 13M/170M[INFO]
------------------------------------------------------------------------[ERROR]
Failed to execute goal on project mod_cluster: Could not resolve
dependencies for project org.jboss.mod_cluster:mod_cluster:jar:1.1.2.Final:
Failed to collect dependencies for [net.jcip:jcip-annotations:jar:1.0
(compile), javax.servlet:servlet-api:jar:2.5 (provided),
jboss.web:jbossweb:jar:2.1.7.GA (compile?),
org.jboss.logging:jboss-logging-jdk:jar:2.1.1.GA (compile?),
org.jboss.cluster:jboss-ha-server-api:jar:1.1.1.GA (compile?),
org.jboss.microcontainer:jboss-kernel:jar:2.0.10.GA (compile?),
org.jboss:jbossxb:jar:2.0.1.GA (compile?), junit:junit:jar:4.8.1 (test),
org.easymock:easymock:jar:3.0 (test),
org.jboss.test:jboss-test:jar:1.1.9.GA (test),
org.jboss.jbossas:jboss-as-server:jar:5.1.0.GA (test),
commons-codec:commons-codec:jar:1.3 (compile?),
commons-httpclient:commons-httpclient:jar:3.1 (compile?),
jfree:jfreechart:jar:1.0.12 (compile?)]: Failed to read artifact descriptor
for trove:trove:jar:2.1.1: Could not transfer artifact
trove:trove:pom:2.1.1 from/to jboss (
http://repository.jboss.org/maven2):
Access denied to:
http://repository.jboss.org/maven2/trove/trove/2.1.1/trove-2.1.1.pom ->
[Help 1][ERROR] [ERROR] To see the full stack trace of the errors, re-run
Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable
full debug logging.[ERROR] [ERROR] For more information about the errors
and possible solutions, please read the following articles:[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionExce...
Running Maven 3.3, clean install from ASF download, under Sun JDK and
Fedora 14:
S mvn --versionApache Maven 3.0.3 (r1075438; 2011-02-28 14:31:09-0300)Maven
home: /home/lozano/apache-maven-3.0.3Java version: 1.5.0_22, vendor: Sun
Microsystems Inc.Java home: /usr/lib/jvm/java-1.5.0-sun-1.5.0.22/jreDefault
locale: pt_BR, platform encoding: UTF-8OS name: "linux", version:
"2.6.35.12-90.fc14.x86_64", arch: "amd64", family: "unix"
If I change to OpenJDK from the distro, same results:
S mvn --versionApache Maven 3.0.3 (r1075438; 2011-02-28 14:31:09-0300)Maven
home: /home/lozano/apache-maven-3.0.3Java version: 1.6.0_20, vendor: Sun
Microsystems Inc.Java home:
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jreDefault locale: pt_BR,
platform encoding: UTF-8OS name: "linux", version:
"2.6.35.12-90.fc14.x86_64", arch: "amd64", family: "unix"
I also tried the maven 2.2.1 from the distro, again same results. :-(
S mvn --version/usr/lib/jvm/javaApache Maven 2.2.1
(rNON-CANONICAL_2010-12-06_15-01_mockbuild; 2010-12-06 13:01:36-0200)Java
version: 1.6.0_20Java home:
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jreDefault locale: pt_BR,
platform encoding: UTF-8OS name: "linux" version:
"2.6.35.12-90.fc14.x86_64" arch: "amd64" Family:
"unix"[lozano@hpslim
1.1.2.Final]S [lozano@hpslim 1.1.2.Final]S [lozano@hpslim 1.1.2.Final]S mvn
-P dist package/usr/lib/jvm/java[INFO] Scanning for projects...[INFO]
------------------------------------------------------------------------[INFO]
Building mod_cluster[INFO] task-segment: [package][INFO]
------------------------------------------------------------------------*DEBUG*:
Putting in plugin descriptor list
org.apache.maven.plugins:maven-resources-plugin:2.4.1 and goal prefix is
resources*DEBUG*: Putting in plugin descriptor list
org.apache.maven.plugins:maven-resources-plugin:2.4.1 and goal prefix is
resources*DEBUG*: Constructed plugin version key is
org.apache.maven.plugins:maven-resources-plugin:2.4.1*DEBUG*: Constructed
plugin version key is
org.apache.maven.plugins:maven-resources-plugin:2.4.1*DEBUG*: Putting in
plugin descriptor list org.apache.maven.plugins:maven-compiler-plugin:2.0.2
and goal prefix is compiler*DEBUG*: Putting in plugin descriptor list
org.apache.maven.plugins:maven-compiler-plugin:2.0.2 and goal prefix is
compiler*DEBUG*: Constructed plugin version key is
org.apache.maven.plugins:maven-compiler-plugin:2.0.2*DEBUG*: Constructed
plugin version key is
org.apache.maven.plugins:maven-compiler-plugin:2.0.2*DEBUG*: Constructed
plugin version key is
org.apache.maven.plugins:maven-resources-plugin:2.4.1*DEBUG*: Constructed
plugin version key is
org.apache.maven.plugins:maven-compiler-plugin:2.0.2*DEBUG*: Putting in
plugin descriptor list org.apache.maven.plugins:maven-surefire-plugin:2.4.3
and goal prefix is surefire*DEBUG*: Putting in plugin descriptor list
org.apache.maven.plugins:maven-surefire-plugin:2.4.3 and goal prefix is
surefire*DEBUG*: Constructed plugin version key is
org.apache.maven.plugins:maven-surefire-plugin:2.4.3*DEBUG*: Constructed
plugin version key is
org.apache.maven.plugins:maven-surefire-plugin:2.4.3*DEBUG*: Putting in
plugin descriptor list org.apache.maven.plugins:maven-jar-plugin:2.2 and
goal prefix is jar*DEBUG*: Putting in plugin descriptor list
org.apache.maven.plugins:maven-jar-plugin:2.2 and goal prefix is
jar*DEBUG*: Constructed plugin version key is
org.apache.maven.plugins:maven-jar-plugin:2.2*DEBUG*: Constructed plugin
version key is org.apache.maven.plugins:maven-jar-plugin:2.2*DEBUG*:
Putting in plugin descriptor list
org.apache.maven.plugins:maven-enforcer-plugin:1.0-beta-1 and goal prefix
is enforcer*DEBUG*: Putting in plugin descriptor list
org.apache.maven.plugins:maven-enforcer-plugin:1.0-beta-1 and goal prefix
is enforcer*DEBUG*: Constructed plugin version key is
org.apache.maven.plugins:maven-enforcer-plugin:1.0-beta-1*DEBUG*:
Constructed plugin version key is
org.apache.maven.plugins:maven-enforcer-plugin:1.0-beta-1*DEBUG*: Putting
in plugin descriptor list
org.apache.maven.plugins:maven-source-plugin:2.1.1 and goal prefix is
source*DEBUG*: Putting in plugin descriptor list
org.apache.maven.plugins:maven-source-plugin:2.1.1 and goal prefix is
source*DEBUG*: Constructed plugin version key is
org.apache.maven.plugins:maven-source-plugin:2.1.1*DEBUG*: Constructed
plugin version key is
org.apache.maven.plugins:maven-source-plugin:2.1.1*DEBUG*: Constructed
plugin version key is
org.apache.maven.plugins:maven-compiler-plugin:2.0.2*DEBUG*: Constructed
plugin version key is
org.apache.maven.plugins:maven-surefire-plugin:2.4.3*DEBUG*: Putting in
plugin descriptor list org.apache.maven.plugins:maven-dependency-plugin:2.1
and goal prefix is dependency*DEBUG*: Putting in plugin descriptor list
org.apache.maven.plugins:maven-dependency-plugin:2.1 and goal prefix is
dependency*DEBUG*: Constructed plugin version key is
org.apache.maven.plugins:maven-dependency-plugin:2.1*DEBUG*: Constructed
plugin version key is
org.apache.maven.plugins:maven-dependency-plugin:2.1*DEBUG*: Putting in
plugin descriptor list org.apache.maven.plugins:maven-antrun-plugin:1.3 and
goal prefix is antrun*DEBUG*: Putting in plugin descriptor list
org.apache.maven.plugins:maven-antrun-plugin:1.3 and goal prefix is
antrun*DEBUG*: Constructed plugin version key is
org.apache.maven.plugins:maven-antrun-plugin:1.3*DEBUG*: Constructed plugin
version key is org.apache.maven.plugins:maven-antrun-plugin:1.3*DEBUG*:
Putting in plugin descriptor list
org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-4 and goal prefix
is assembly*DEBUG*: Putting in plugin descriptor list
org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-4 and goal prefix
is assembly*DEBUG*: Constructed plugin version key is
org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-4*DEBUG*:
Constructed plugin version key is
org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-4*DEBUG*: Putting
in plugin descriptor list
org.apache.maven.plugins:maven-release-plugin:2.0-beta-9 and goal prefix is
release*DEBUG*: Putting in plugin descriptor list
org.apache.maven.plugins:maven-release-plugin:2.0-beta-9 and goal prefix is
release*DEBUG*: Constructed plugin version key is
org.apache.maven.plugins:maven-release-plugin:2.0-beta-9*DEBUG*:
Constructed plugin version key is
org.apache.maven.plugins:maven-release-plugin:2.0-beta-9*DEBUG*:
Constructed plugin version key is
org.apache.maven.plugins:maven-resources-plugin:2.4.1*DEBUG*: Constructed
plugin version key is
org.apache.maven.plugins:maven-jar-plugin:2.2Downloading:
http://repository.jboss.org/nexus/content/groups/public//trove/trove/2.1....
Unable to find resource 'trove:trove:pom:2.1.1' in repository
repository.jboss.org
(
http://repository.jboss.org/nexus/content/groups/public/)Downloading:
http://repository.jboss.org/maven2/trove/trove/2.1.1/trove-2.1.1.pom[WARN...
Unable to get resource 'trove:trove:pom:2.1.1' from repository jboss
(
http://repository.jboss.org/maven2): Authorization failed: Access denied
to:
http://repository.jboss.org/maven2/trove/trove/2.1.1/trove-2.1.1.pomDownl...:
http://repo1.maven.org/maven2/trove/trove/2.1.1/trove-2.1.1.pom[INFO]
Unable to find resource 'trove:trove:pom:2.1.1' in repository central
(
http://repo1.maven.org/maven2)[WARNING] Skipping jpp repository
file:///usr/share/maven2/repository in vanilla modeDownloading:
http://repository.jboss.org/nexus/content/groups/public//jpl-pattern/jpl-...
Unable to find resource 'jpl-pattern:jpl-pattern:pom:1.0' in repository
repository.jboss.org
(
http://repository.jboss.org/nexus/content/groups/public/)Downloading:
http://repo1.maven.org/maven2/jpl-pattern/jpl-pattern/1.0/jpl-pattern-1.0...
Unable to find resource 'jpl-pattern:jpl-pattern:pom:1.0' in repository
central (
http://repo1.maven.org/maven2)[WARNING] Skipping jpp repository
file:///usr/share/maven2/repository in vanilla modeDownloading:
http://repository.jboss.org/nexus/content/groups/public//jpl-util/jpl-uti...
Unable to find resource 'jpl-util:jpl-util:pom:1.0' in repository
repository.jboss.org
(
http://repository.jboss.org/nexus/content/groups/public/)Downloading:
http://repo1.maven.org/maven2/jpl-util/jpl-util/1.0/jpl-util-1.0.pom[INFO]
Unable to find resource 'jpl-util:jpl-util:pom:1.0' in repository central
(
http://repo1.maven.org/maven2)[WARNING] Skipping jpp repository
file:///usr/share/maven2/repository in vanilla modeDownloading:
http://repository.jboss.org/nexus/content/groups/public//trove/trove/2.1....:
http://repository.jboss.org/nexus/content/groups/public//jpl-pattern/jpl-...:
http://repository.jboss.org/nexus/content/groups/public//jpl-util/jpl-uti...:
http://repository.jboss.org/nexus/content/groups/public//javax/security/j...
Unable to find resource 'javax.security:jaas:jar:1.0.01' in repository
repository.jboss.org
(
http://repository.jboss.org/nexus/content/groups/public/)Downloading:
http://repo1.maven.org/maven2/javax/security/jaas/1.0.01/jaas-1.0.01.jar[...
Unable to find resource 'trove:trove:jar:2.1.1' in repository
repository.jboss.org
(
http://repository.jboss.org/nexus/content/groups/public/)Downloading:
http://repository.jboss.org/maven2/trove/trove/2.1.1/trove-2.1.1.jar[INFO]
Unable to find resource 'jpl-pattern:jpl-pattern:jar:1.0' in repository
repository.jboss.org
(
http://repository.jboss.org/nexus/content/groups/public/)Downloading:
http://repo1.maven.org/maven2/jpl-pattern/jpl-pattern/1.0/jpl-pattern-1.0...
Unable to find resource 'jpl-util:jpl-util:jar:1.0' in repository
repository.jboss.org
(
http://repository.jboss.org/nexus/content/groups/public/)Downloading:
http://repo1.maven.org/maven2/jpl-util/jpl-util/1.0/jpl-util-1.0.jar[INFO]
Unable to find resource 'javax.security:jaas:jar:1.0.01' in repository
central (
http://repo1.maven.org/maven2)[WARNING] Skipping jpp repository
file:///usr/share/maven2/repository in vanilla mode[WARNING] Unable to get
resource 'trove:trove:jar:2.1.1' from repository jboss
(
http://repository.jboss.org/maven2): Authorization failed: Access denied
to:
http://repository.jboss.org/maven2/trove/trove/2.1.1/trove-2.1.1.jarDownl...:
http://repo1.maven.org/maven2/trove/trove/2.1.1/trove-2.1.1.jar[INFO]
Unable to find resource 'jpl-pattern:jpl-pattern:jar:1.0' in repository
central (
http://repo1.maven.org/maven2)[WARNING] Skipping jpp repository
file:///usr/share/maven2/repository in vanilla mode[INFO] Unable to find
resource 'jpl-util:jpl-util:jar:1.0' in repository central
(
http://repo1.maven.org/maven2)[WARNING] Skipping jpp repository
file:///usr/share/maven2/repository in vanilla mode[INFO] Unable to find
resource 'trove:trove:jar:2.1.1' in repository central
(
http://repo1.maven.org/maven2)[WARNING] Skipping jpp repository
file:///usr/share/maven2/repository in vanilla mode[INFO]
------------------------------------------------------------------------[ERROR]
BUILD ERROR[INFO]
------------------------------------------------------------------------[INFO]
Failed to resolve artifact.
Missing:----------1) javax.security:jaas:jar:1.0.01
Try downloading the file manually from:
http://java.sun.com/products/jaas/index-10.html
Then, install it using the command: mvn install:install-file
-DgroupId=javax.security -DartifactId=jaas -Dversion=1.0.01 -Dpackaging=jar
-Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there: mvn deploy:deploy-file -DgroupId=javax.security
-DartifactId=jaas -Dversion=1.0.01 -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url] -DrepositoryId=[id]
Path to dependency: 1)
org.jboss.mod_cluster:mod_cluster:jar:1.1.2.Final 2)
org.jboss.jbossas:jboss-as-server:jar:5.1.0.GA 3)
javax.security:jaas:jar:1.0.01
2) jpl-pattern:jpl-pattern:jar:1.0
Try downloading the file manually from the project website.
Then, install it using the command: mvn install:install-file
-DgroupId=jpl-pattern -DartifactId=jpl-pattern -Dversion=1.0
-Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there: mvn deploy:deploy-file -DgroupId=jpl-pattern
-DartifactId=jpl-pattern -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url] -DrepositoryId=[id]
Path to dependency: 1)
org.jboss.mod_cluster:mod_cluster:jar:1.1.2.Final 2)
org.jboss.jbossas:jboss-as-server:jar:5.1.0.GA 3)
jpl-pattern:jpl-pattern:jar:1.0
3) jpl-util:jpl-util:jar:1.0
Try downloading the file manually from the project website.
Then, install it using the command: mvn install:install-file
-DgroupId=jpl-util -DartifactId=jpl-util -Dversion=1.0 -Dpackaging=jar
-Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there: mvn deploy:deploy-file -DgroupId=jpl-util
-DartifactId=jpl-util -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url] -DrepositoryId=[id]
Path to dependency: 1)
org.jboss.mod_cluster:mod_cluster:jar:1.1.2.Final 2)
org.jboss.jbossas:jboss-as-server:jar:5.1.0.GA 3)
jpl-util:jpl-util:jar:1.0
4) trove:trove:jar:2.1.1
Try downloading the file manually from the project website.
Then, install it using the command: mvn install:install-file
-DgroupId=trove -DartifactId=trove -Dversion=2.1.1 -Dpackaging=jar
-Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there: mvn deploy:deploy-file -DgroupId=trove -DartifactId=trove
-Dversion=2.1.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
Path to dependency: 1)
org.jboss.mod_cluster:mod_cluster:jar:1.1.2.Final 2)
org.jboss.cluster:jboss-ha-server-api:jar:1.1.1.GA 3)
org.jboss.cluster:jboss-ha-client:jar:1.1.0.GA 4)
org.jboss.aspects:jboss-remoting-aspects:jar:1.0.1.CR2 5)
org.jboss.aop:jboss-aop:jar:2.1.1.GA 6) trove:trove:jar:2.1.1
----------4 required artifacts are missing.
for artifact: org.jboss.mod_cluster:mod_cluster:jar:1.1.2.Final
from the specified remote repositories: central
(
http://repo1.maven.org/maven2),
repository.jboss.org
(
http://repository.jboss.org/nexus/content/groups/public/), __jpp_repo__
(file:///usr/share/maven2/repository)
[INFO]
------------------------------------------------------------------------[INFO]
For more information, run Maven with the -e switch[INFO]
------------------------------------------------------------------------[INFO]
Total time: 12 seconds[INFO] Finished at: Tue May 24 20:34:35 BRT
2011[INFO] Final Memory: 28M/174M[INFO]
------------------------------------------------------------------------
[]s, Fernando Lozano