[jboss-user] [JBoss Tools] - Error in Building JBoss AS 7.x from source

Sri Ram do-not-reply at jboss.com
Fri Mar 22 01:59:28 EDT 2013


Sri Ram [https://community.jboss.org/people/ramsrib] created the discussion

"Error in Building JBoss AS 7.x from source"

To view the discussion, visit: https://community.jboss.org/message/804197#804197

--------------------------------------------------------------
I'm trying to build JBoss AS 7.1.2 from source. But I'm getting (zanata) maven plugin not found error.

Steps Followed :
> git clone git://github.com/jbossas/jboss-as.git
> cd jboss-as
> git checkout 7.1.2.Final
> *mvn clean install*
> mvn dependency:sources
> mvn dependency:resolve -Dclassifier=javadoc

When i run "mvn clean install", I'm getting this error :
> [sriram at fedora jboss-as]$ mvn clean install
> [INFO] Scanning for projects...
> [INFO] Reactor build order: 
> [INFO]   JBoss Application Server: Build Configuration
> [INFO]   JBoss Application Server: Parent Aggregator
> [INFO]   JBoss Application Server: Shared Security Utilities
> [INFO]   JBoss Application Server: Protocol Utilities
> [INFO]   JBoss Application Server: Controller Client
> [INFO]   JBoss Application Server: Controller Core
> [INFO]   JBoss Application Server: Deployment Repository
> [INFO]   JBoss Application Server: Version
> [INFO]   JBoss Application Server: Process Controller
> [INFO]   JBoss Application Server: Platform MBean integration
> [INFO]   JBoss Application Server: Domain Management
> [INFO]   JBoss Application Server: Domain HTTP Interface
> [INFO]   JBoss Application Server: Domain HTTP Interface
> [INFO]   JBoss Application Server: Network
> [INFO]   JBoss Application Server: Remoting Subsystem
> [INFO]   JBoss Application Server: Server
> [INFO]   JBoss Application Server: Management Client Content
> [INFO]   JBoss Application Server: Common Code for Subsystem and Non-subsystem Test Harness
> [INFO]   JBoss Application Server: Core Model Test Parent
> [INFO]   JBoss Application Server: Subsystem Test Harness
> [INFO]   JBoss Application Server: Subsystem Test Controller 7.1.2
> [INFO]   JBoss Application Server: Subsystem Test POM
> [INFO]   JBoss Application Server: Threading Subsystem
> [INFO]   JBoss Application Server: Host Controller
> [INFO]   JBoss Application Server: Core Model Test Parent
> [INFO]   JBoss Application Server: Core Model Test Framework
> [INFO]   JBoss Application Server: Domain HTTP Error Context
> [INFO]   JBoss Application Server: Naming Subsystem
> [INFO]   JBoss Application Server: JMX Subsystem
> [INFO]   JBoss Application Server: EE
> [INFO]   JBoss Application Server: JacORB Subsystem
> [INFO]   JBoss Application Server: Transaction Subsystem
> [INFO]   JBoss Application Server: Clustering Subsystem
> [INFO]   JBoss Application Server: Clustering Server API
> [INFO]   JBoss Application Server: Common code for clustering subsystems
> [INFO]   JBoss Application Server: JGroups Subsystem
> [INFO]   JBoss Application Server: Infinispan Subsystem
> [INFO]   JBoss Application Server: Security Subsystem
> [INFO]   JBoss Application Server: Connector Subsystem
> [INFO]   JBoss Application Server: Clustered registry service
> [INFO]   JBoss Application Server: EJB Subsystem
> [INFO]   JBoss Application Server: Web Common Classes
> [INFO]   JBoss Application Server: Distributed Web Session SPI
> [INFO]   JBoss Application Server: Clustering Server API implementation
> [INFO]   JBoss Application Server: Distributed Web Session Infinispan provider
> [INFO]   JBoss Application Server: Web Subsystem
> [INFO]   JBoss Application Server: Web Services Subsystem
> [INFO]   JBoss Application Server: Web Services Server Integration Subsystem
> [INFO]   JBoss Application Server: Application Client Bootstrap
> [INFO]   JBoss Application Server: Config Assembly
> [INFO]   JBoss Application Server: Command line interface
> [INFO]   JBoss Application Server: EJB Client BOM
> [INFO]   JBoss Application Server: JMS Client BOM
> [INFO]   JBoss Application Server: EJB and JMS client combined jar
> [INFO]   JBoss Application Server: Clustered Stateful Session Bean cache Infinispan provider
> [INFO]   JBoss Application Server: Clustered service provider registry services
> [INFO]   JBoss Application Server: Clustered singleton services
> [INFO]   JBoss Application Server: Config Admin
> [INFO]   JBoss Application Server: Deployment Scanner
> [INFO]   JBoss Application Server: Embedded
> [INFO]   JBoss Application Server: JPA Subsystem
> [INFO]   JBoss Application Server: JPA SPI
> [INFO]   JBoss Application Server: JPA UTIL
> [INFO]   JBoss Application Server: JPA Subsystem
> [INFO]   JBoss Application Server: Weld Integration
> [INFO]   JBoss Application Server: JAX-RS Integration
> [INFO]   JBoss Application Server: JBoss Diagnostic Reporter
> [INFO]   JBoss Application Server: JDR
> [INFO]   JBoss Application Server: JSF
> [INFO]   JBoss Application Server: JSF Subsystem
> [INFO]   JBoss Application Server: JSF Injection Handlers
> [INFO]   JBoss Application Server: JSR-77 Subsystem
> [INFO]   JBoss Application Server: Logging Subsystem
> [INFO]   JBoss Application Server: Mail subsystem
> [INFO]   JBoss Application Server: Messaging Subsystem
> [INFO]   JBoss Application Server: ModCluster Subsystem
> [INFO]   JBoss Application Server: OSGi
> [INFO]   JBoss Application Server: OSGi Subsystem
> [INFO]   JBoss Application Server: OSGi Integration
> [INFO]   JBoss Application Server: OSGi Integration ConfigAdmin
> [INFO]   JBoss Application Server: OSGi Integration Http
> [INFO]   JBoss Application Server: OSGi Integration JMX
> [INFO]   JBoss Application Server: OSGi Integration JPA
> [INFO]   JBoss Application Server: OSGi Integration JTA
> [INFO]   JBoss Application Server: OSGi Integration Naming
> [INFO]   JBoss Application Server: OSGi Integration WebApp
> [INFO]   JBoss Application Server: POJO Subsystem
> [INFO]   JBoss Application Server: Service Archive Subsystem
> [INFO]   JBoss Application Server: System JMX Module
> [INFO]   JBoss Application Server: XTS Subsystem
> [INFO]   JBoss Application Server: Hibernate 3.6.x JPA integration
> [INFO]   JBoss Application Server: Hibernate 4.0.x JPA integration
> [INFO]   JBoss Application Server: OpenJPA 2.x JPA integration
> [INFO]   JBoss Application Server: Build
> [INFO]   JBoss Application Server: Build Modular
> [INFO]   JBoss Application Server: Subsystem Test Framework Tests
> [INFO]   JBoss Application Server: Arquillian
> [INFO]   JBoss Application Server: Arquillian TestEnricher MSC
> [INFO]   JBoss Application Server: Arquillian Common
> [INFO]   JBoss Application Server: Arquillian Embedded Container
> [INFO]   JBoss Application Server: Arquillian Protocol JMX
> [INFO]   JBoss Application Server: Arquillian Managed Container
> [INFO]   JBoss Application Server: Arquillian Remote Container
> [INFO]   JBoss Application Server: Exported Java EE Specification APIs
> [INFO]   JBoss Application Server: Arquillian TestNG Integration
> [INFO]   JBoss Application Server: Arquillian Common Domain
> [INFO]   JBoss Application Server: Arquillian Remote Domain Container
> [INFO]   JBoss Application Server: Arquillian Managed Domain Container
> [INFO]   JBoss Application Server: Core Model Test Controller 7.1.2
> [INFO]   JBoss Application Server: Core Model Test Controller Optional
> [INFO]   JBoss Application Server: Core Model Tests
> [INFO]   JBoss Application Server: Distribution
> [INFO]   JBoss Application Server Test Suite: Shared
> [INFO]   JBoss Application Server: OSGi Launcher
> [INFO]   JBoss Application Server: Remoting Subsystem Test
> [INFO]   JBoss Application Server: Validation Tests for Exported Java EE Specification APIs
> [INFO]   JBoss Application Server: Web Services Tests Integration Subsystem
> [INFO]   JBoss Application Server Test Suite: Aggregator
> [INFO]   JBoss Application Server Test Suite: Integration
> [INFO]   JBoss Application Server Test Suite: Integration - Smoke
> [WARNING] POM for 'biz.aQute:bndlib:pom:1.50.0:runtime' is invalid.
> 
> Its dependencies (if any) will NOT be available to the current build.
> [INFO] ------------------------------------------------------------------------
> [INFO] Building JBoss Application Server: Build Configuration
> [INFO]    task-segment: [clean, install]
> [INFO] ------------------------------------------------------------------------
> Downloading:  http://repo1.maven.org/maven2/org/zanata/zanata-maven-plugin/1.5.0/zanata-maven-plugin-1.5.0.pom http://repo1.maven.org/maven2/org/zanata/zanata-maven-plugin/1.5.0/zanata-maven-plugin-1.5.0.pom
> [INFO] Unable to find resource 'org.zanata:zanata-maven-plugin:pom:1.5.0' in repository central ( http://repo1.maven.org/maven2 http://repo1.maven.org/maven2)
> Downloading:  http://repository.jboss.org/nexus/content/groups/public//org/zanata/zanata-maven-plugin/1.5.0/zanata-maven-plugin-1.5.0.pom http://repository.jboss.org/nexus/content/groups/public//org/zanata/zanata-maven-plugin/1.5.0/zanata-maven-plugin-1.5.0.pom
> 3K downloaded  (zanata-maven-plugin-1.5.0.pom)
> Downloading:  http://repo1.maven.org/maven2/org/zanata/zanata-parent/1.5.0/zanata-parent-1.5.0.pom http://repo1.maven.org/maven2/org/zanata/zanata-parent/1.5.0/zanata-parent-1.5.0.pom
> [INFO] Unable to find resource 'org.zanata:zanata-parent:pom:1.5.0' in repository central ( http://repo1.maven.org/maven2 http://repo1.maven.org/maven2)
> Downloading:  http://repository.jboss.org/nexus/content/groups/public//org/zanata/zanata-parent/1.5.0/zanata-parent-1.5.0.pom http://repository.jboss.org/nexus/content/groups/public//org/zanata/zanata-parent/1.5.0/zanata-parent-1.5.0.pom
> 28K downloaded  (zanata-parent-1.5.0.pom)
> Downloading:  http://repository-zanata.forge.cloudbees.com/release//org/jboss/seam/root/2.2.0.GA/root-2.2.0.GA.pom http://repository-zanata.forge.cloudbees.com/release//org/jboss/seam/root/2.2.0.GA/root-2.2.0.GA.pom
> [INFO] Unable to find resource 'org.jboss.seam:root:pom:2.2.0.GA' in repository zanata-cloudbees-release ( http://repository-zanata.forge.cloudbees.com/release/ http://repository-zanata.forge.cloudbees.com/release/)
> Downloading:  http://repository.jboss.org/nexus/content/repositories/releases//org/jboss/seam/root/2.2.0.GA/root-2.2.0.GA.pom http://repository.jboss.org/nexus/content/repositories/releases//org/jboss/seam/root/2.2.0.GA/root-2.2.0.GA.pom
> 42K downloaded  (root-2.2.0.GA.pom)
> Downloading:  http://repo1.maven.org/maven2/org/zanata/zanata-maven-plugin/1.5.0/zanata-maven-plugin-1.5.0.jar http://repo1.maven.org/maven2/org/zanata/zanata-maven-plugin/1.5.0/zanata-maven-plugin-1.5.0.jar
> [INFO] Unable to find resource 'org.zanata:zanata-maven-plugin:maven-plugin:1.5.0' in repository central ( http://repo1.maven.org/maven2 http://repo1.maven.org/maven2)
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository
> 
> Try downloading the file manually from the project website.
> 
> Then, install it using the command: 
>     mvn install:install-file -DgroupId=org.zanata -DartifactId=zanata-maven-plugin -Dversion=1.5.0 -Dpackaging=maven-plugin -Dfile=/path/to/file
> 
> Alternatively, if you host your own repository you can deploy the file there: 
>     mvn deploy:deploy-file -DgroupId=org.zanata -DartifactId=zanata-maven-plugin -Dversion=1.5.0 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
> 
>   org.zanata:zanata-maven-plugin:maven-plugin:1.5.0
> 
> from the specified remote repositories:
>   central ( http://repo1.maven.org/maven2 http://repo1.maven.org/maven2)
> 
> 
>   org.zanata:zanata-maven-plugin:maven-plugin:1.5.0
> 
> from the specified remote repositories:
>   central ( http://repo1.maven.org/maven2 http://repo1.maven.org/maven2)
> 
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 24 seconds
> [INFO] Finished at: Fri Mar 22 10:32:37 IST 2013
> [INFO] Final Memory: 77M/398M
> [INFO] ------------------------------------------------------------------------
> [sriram at fedora jboss-as]$ 

I thought JBoss will take this 'org.zanata:zanata-maven-plugin' from jboss maven repository which already configured in pom.xml.

I also tried to add this following jboss maven repository to *~/.m2/settings.xml*, but it didn't worked.

|  | <repositories> |
|      | <repository> |
|          | <id>jboss-public-repository-group</id> |
|          | <name>JBoss Public Repository Group</name> |
|          | <url>http://repository.jboss.org/nexus/content/groups/public/</url> |
|          | <layout>default</layout> |
|          | <releases> |
|              | <enabled>true</enabled> |
|              | <updatePolicy>never</updatePolicy> |
|          | </releases> |
|          | <snapshots> |
|              | <enabled>true</enabled> |
|              | <updatePolicy>never</updatePolicy> |
|          | </snapshots> |
|      | </repository> |

Let me know if I'm doing it in wrong way.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/804197#804197]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130322/5ec5672b/attachment-0001.html 


More information about the jboss-user mailing list