cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Buiding Activiti from source

ullas
Champ in-the-making
Champ in-the-making
Hello,

    I am trying to build activiti. I have downloaded the latest source and cd to distro directory. Run the ant clean distro command.

    However I am getting the following error. ( i am building it on Mac)

    Buildfile: /Developer/CustomBuilds/Activiti/distro/build.xml

clean:

build.modules:
     [exec] [INFO] Scanning for projects…
     [exec] [WARNING] The POM for org.apache.maven:maven-project:jar:2.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
     [exec] [WARNING] The POM for org.codehaus.plexusSmiley Tonguelexus-archiver:jar:1.0-alpha-7 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
     [exec] [WARNING] The POM for org.apache.maven:maven-artifact:jar:2.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
     [exec] [WARNING] The POM for org.apache.maven.shared:maven-dependency-tree:jar:1.2 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
     [exec] [WARNING] The POM for org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
     [exec] [WARNING] The POM for org.codehaus.plexusSmiley Tonguelexus-utils:jar:1.4.7 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
     [exec] [ERROR] Invalid extension descriptor for org.apache.felix:maven-bundle-plugin:2.1.0: error in opening zip file
     [exec] [ERROR] The build could not read 3 projects -> [Help 1]
     [exec] [ERROR]  
     [exec] [ERROR]   The project org.activiti:activiti-osgi:5.11-SNAPSHOT (/Developer/CustomBuilds/Activiti/modules/activiti-osgi/pom.xml) has 1 error
     [exec] [ERROR]     Unknown packaging: bundle @ line 8, column 14
     [exec] [ERROR]  
     [exec] [ERROR]   The project org.activiti:activiti-camel:5.11-SNAPSHOT (/Developer/CustomBuilds/Activiti/modules/activiti-camel/pom.xml) has 1 error
     [exec] [ERROR]     Unknown packaging: bundle @ line 9, column 14
     [exec] [ERROR]  
     [exec] [ERROR]   The project org.activiti:activiti-cdi:5.11-SNAPSHOT (/Developer/CustomBuilds/Activiti/modules/activiti-cdi/pom.xml) has 4 errors
     [exec] [ERROR]     Non-parseable POM /Users/maptell/.m2/repository/org/jboss/weld/weld-core-bom/1.1.5.Final/weld-core-bom-1.1.5.Final.pom: end tag name </HEAD> must be the same as start tag <META> from line 1 (position: START_TAG seen …d/weld-core-bom/1.1.5.Final/weld-core-bom-1.1.5.Final.pom"></HEAD>… @1:399)  @ /Users/maptell/.m2/repository/org/jboss/weld/weld-core-bom/1.1.5.Final/weld-core-bom-1.1.5.Final.pom, line 1, column 399 -> [Help 2]
     [exec] [ERROR]     'dependencies.dependency.version' for org.jboss.weld:weld-core:jar is missing. @ line 66, column 21
     [exec] [ERROR]     'dependencies.dependency.version' for org.jboss.weld:weld-api:jar is missing. @ line 71, column 21
     [exec] [ERROR]     'dependencies.dependency.version' for org.slf4j:slf4j-simple:jar is missing. @ line 76, column 21
     [exec] [ERROR]
     [exec] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
     [exec] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
     [exec] [ERROR]
     [exec] [ERROR] For more information about the errors and possible solutions, please read the following articles:
     [exec] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
     [exec] [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException

BUILD FAILED
/Developer/CustomBuilds/Activiti/distro/build.xml:47: exec returned: 1

Total time: 4 seconds

Any help is appreciated
1 REPLY 1

frederikherema1
Star Contributor
Star Contributor
Seems like the POM-file for weld in your maven repo is invalid. It probably contains html-response from the Maven Repo/Nexus with an error-message. Probabily you'll get a good hint on what's wrong when you look into that file…

/Users/maptell/.m2/repository/org/jboss/weld/weld-core-bom/1.1.5.Final/weld-core-bom-1.1.5.Final.pom: