10 Replies Latest reply: Jan 3, 2006 3:26 AM by Tomasz Szymanski RSS

Error when trying to compile JBoss Wiki Beta

Thomas Heute Master

The maven build script doesn't seem to work in the packaged version for JBoss Wiki beta


theute@tomjboss:/tmp/jbosswiki$ maven build
 __ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.1-beta-2

Starting the reactor...
Our processing order:
build:start:

build:
wiki:build:
Starting the reactor...
Our processing order:
Starting the reactor...
Our processing order:
prepare-ear:

BUILD FAILED
File...... /tmp/jbosswiki/maven.xml
Element... ant:copy
Line...... 64
Column.... 97
Warning: Could not find file /tmp/jbosswiki/wiki-common/target/wiki-common-1.0.jar to copy.
Total time : 1 seconds
Finished at : Friday, December 9, 2005 4:38:50 PM CET


  • 1. Re: Error when trying to compile JBoss Wiki Beta
    Tomasz Szymanski Novice

    Hello,

    For building please type
    "maven all"

    or if you want to build it only
    "maven wiki:localbuild"

    "maven build" is made for building with whole labs infrastructure.

    Cheers,
    Tomek

  • 2. Re: Error when trying to compile JBoss Wiki Beta
    Satish Newbie

    When I try to do a 'maven build' I got the same error stated in the previous post.

    When I try maven wiki:localbuild, I get:
    org.codehaus.plexus.util.xml.pull.XmlPullParserException: Unrecognised tag: 'include' (position: START_TAG seen ...</directo
    ry>\r\n ... @25:26)

    When I try mave all, I get the same error.

    Can anyone please help me get on this? Thanks.

  • 3. Re: Error when trying to compile JBoss Wiki Beta
    Tomasz Szymanski Novice

    Satishvadamalai,

    What version of maven are you using ?

    Tomek

  • 4. Re: Error when trying to compile JBoss Wiki Beta
    Satish Newbie

    Currently I am using 1.0.2
    I got the same error with maven 1.1-beta-2
    When I try with maven 2.0 I get this error:
    [INFO] Scanning for projects...
    [INFO] Searching repository for plugin with prefix: 'wiki'.
    [INFO] ----------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ----------------------------------------------------------------------------
    [INFO] The plugin 'org.apache.maven.plugins:maven-wiki-plugin' does not exist or no valid version could be found
    [INFO] ----------------------------------------------------------------------------

    Thanks
    Satish

  • 5. Re: Error when trying to compile JBoss Wiki Beta
    osesm Newbie

    Anything ever come of this? I am unable to build it from source as well.

  • 6. Re: Error when trying to compile JBoss Wiki Beta
    Tomasz Szymanski Novice

    osesm,

    Are you using "maven wiki:localbuild" instead of "maven build" ?

    Remember also to use maven 1.0.2.

    If you do above please post your output.

    Tomek

  • 7. Re: Error when trying to compile JBoss Wiki Beta
    osesm Newbie

    The beginnings of my problems are here. How do you get jboss deps into your repository? I just downloaded maven 1.0.2, and changed MAVEN_HOME and PATH

    [jboss@bryanl jbosswiki]$ maven build
     __ __
    | \/ |__ _Apache__ ___
    | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
    |_| |_\__,_|\_/\___|_||_| v. 1.0.2
    
    Starting the reactor...
    Our processing order:
    Starting the reactor...
    Our processing order:
    Starting the reactor...
    Our processing order:
    
    BUILD FAILED
    File...... /home/jboss/dl/jbosswiki/maven.xml
    Element... ant:copy
    Line...... 64
    Column.... 97
    Warning: Could not find file /home/jboss/dl/jbosswiki/wiki-common/target/wiki-common-1.0.jar to copy.
    Total time: 3 seconds
    Finished at: Mon Jan 02 16:53:22 EST 2006
    
    [jboss@bryanl jbosswiki]$ maven wiki:localbuild
     __ __
    | \/ |__ _Apache__ ___
    | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
    |_| |_\__,_|\_/\___|_||_| v. 1.0.2
    
    Starting the reactor...
    Our processing order:
    Wiki common
    +----------------------------------------
    | Making wiki-common for the repo Wiki common
    | Memory: 7M/10M
    +----------------------------------------
    Attempting to download javax.servlet.jar.
    WARNING: Failed to download javax.servlet.jar.
    Attempting to download javax.servlet.jsp.jar.
    WARNING: Failed to download javax.servlet.jsp.jar.
    Attempting to download javasvn.jar.
    WARNING: Failed to download javasvn.jar.
    Attempting to download jsch.jar.
    WARNING: Failed to download jsch.jar.
    Attempting to download activation.jar.
    WARNING: Failed to download activation.jar.
    Attempting to download jboss-ejb3x.jar.
    WARNING: Failed to download jboss-ejb3x.jar.
    Attempting to download jboss-ejb3.jar.
    WARNING: Failed to download jboss-ejb3.jar.
    Attempting to download jboss-jmx.jar.
    WARNING: Failed to download jboss-jmx.jar.
    Attempting to download jboss-common.jar.
    WARNING: Failed to download jboss-common.jar.
    Attempting to download portal-common-lib.jar.
    WARNING: Failed to download portal-common-lib.jar.
    Attempting to download portal-core-lib.jar.
    WARNING: Failed to download portal-core-lib.jar.
    Attempting to download portal-portlet-lib.jar.
    WARNING: Failed to download portal-portlet-lib.jar.
    
    BUILD FAILED
    File...... /home/jboss/dl/jbosswiki/maven.xml
    Element... maven:reactor
    Line...... 48
    Column.... 56
    The build cannot continue because of the following unsatisfied dependencies:
    
    javax.servlet.jar
    javax.servlet.jsp.jar
    javasvn.jar
    jsch.jar
    activation.jar
    jboss-ejb3x.jar
    jboss-ejb3.jar
    jboss-jmx.jar
    jboss-common.jar
    portal-common-lib.jar
    portal-core-lib.jar
    portal-portlet-lib.jar
    
    Total time: 13 seconds
    Finished at: Mon Jan 02 16:53:48 EST 2006
    


  • 8. Re: Error when trying to compile JBoss Wiki Beta
    Tomasz Szymanski Novice

    Ok... i found why it wasn't working.

    Please go to http://labs.jboss.com/portal/index.html?ctrl:id=page.default.downloads&project=jbosswiki download new beta source package and before running "maven wiki:localbuild" run

    "maven prepare-repo"

    and it should compile just fine.

    Cheers and Happy New Year :)
    Tomek

  • 9. Re: Error when trying to compile JBoss Wiki Beta
    osesm Newbie

    The version of the software changed right before my eyes. I can now build it.

  • 10. Re: Error when trying to compile JBoss Wiki Beta
    Tomasz Szymanski Novice

    I I know... i changed it yesterday ;)

    The build was broken... but shhh! ;-)

    Cheers,
    Tomek