[richfaces-issues] [JBoss JIRA] (RF-12151) Can't build the showcase using only the Maven Central repository

Brian Leathem (JIRA) jira-events at lists.jboss.org
Tue Apr 10 12:39:47 EDT 2012


     [ https://issues.jboss.org/browse/RF-12151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Leathem updated RF-12151:
-------------------------------

        Summary: Can't build the showcase using only the Maven Central repository  (was: Can't compile with Maven 3 on Ubuntu)
    Description: 
Trying to build richfaces-showcase, but it can't find a plugin. Should you include a repository for it in the pom.xml?

brian

richfaces-4.2.0.Final/examples/richfaces-showcase$ mvn clean package -Pjbas7
[snip]

{quote}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.5:check (richfaces-checkstyle-report) on project richfaces-showcase:
Execution richfaces-checkstyle-report of goal org.apache.maven.plugins:maven-checkstyle-plugin:2.5:check failed: 
Plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.5 or one of its dependencies could not be resolved: 
Failure to find org.richfaces:richfaces-build-checkstyle:jar:5 in http://repo1.maven.org/maven2 was cached in the local repository, 
resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
{quote}

  was:
Trying to build richfaces-showcase, but it can't find a plugin. Should you include a repository for it in the pom.xml?

brian

richfaces-4.2.0.Final/examples/richfaces-showcase$ mvn clean package -Pjbas7
[snip]

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.5:check (richfaces-checkstyle-report) on project richfaces-showcase: Execution richfaces-checkstyle-report of goal org.apache.maven.plugins:maven-checkstyle-plugin:2.5:check failed: Plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.5 or one of its dependencies could not be resolved: Failure to find org.richfaces:richfaces-build-checkstyle:jar:5 in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]




The build error indicates the checkstyle plugin cannot be retrieved from maven central:

{quote}
Plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.5 or one of its dependencies could not be resolved
{quote}

However, the checkstyle plugin is indeed in maven central:
http://search.maven.org/#artifactdetails%7Corg.apache.maven.plugins%7Cmaven-checkstyle-plugin%7C2.5%7Cmaven-plugin

I'll have to try the build locally and see.
                
> Can't build the showcase using only the Maven Central repository
> ----------------------------------------------------------------
>
>                 Key: RF-12151
>                 URL: https://issues.jboss.org/browse/RF-12151
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: build/distribution
>    Affects Versions: 4.2.0.Final
>         Environment: Ubuntu 11.10, Apache Maven 3.0.3, Open JDK 7, 64 bit
>            Reporter: Brian Lavender
>            Priority: Minor
>              Labels: new_and_noteworthy
>   Original Estimate: 1 day
>  Remaining Estimate: 1 day
>
> Trying to build richfaces-showcase, but it can't find a plugin. Should you include a repository for it in the pom.xml?
> brian
> richfaces-4.2.0.Final/examples/richfaces-showcase$ mvn clean package -Pjbas7
> [snip]
> {quote}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.5:check (richfaces-checkstyle-report) on project richfaces-showcase:
> Execution richfaces-checkstyle-report of goal org.apache.maven.plugins:maven-checkstyle-plugin:2.5:check failed: 
> Plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.5 or one of its dependencies could not be resolved: 
> Failure to find org.richfaces:richfaces-build-checkstyle:jar:5 in http://repo1.maven.org/maven2 was cached in the local repository, 
> resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
> {quote}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list