Date Created: Fri 13-May-2011

Related Document Categories:


    org.apache.maven.project.ProjectBuildingException

    13/05/11 18:46:26 BST: Maven Builder: FULL_BUILD requireFullBuild
    13/05/11 18:46:26 BST: Build errors for gwtspring; org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
    [ERROR] 'dependencies.dependency.version' for org.springframework:spring-orm:jar must be a valid version but is '${org.springframework.version}'. @ line 56, column 15
    [ERROR] 'dependencies.dependency.version' for org.springframework:spring-web:jar must be a valid version but is '${org.springframework.version}'. @ line 61, column 15
    [ERROR] 'dependencies.dependency.version' for org.hibernate:hibernate-core:jar must be a valid version but is '${org.hibernate.version}'. @ line 66, column 15
    [ERROR] 'dependencies.dependency.version' for org.hibernate:hibernate-annotations:jar must be a valid version but is '${org.hibernate.version}'. @ line 71, column 15
    [ERROR] 'dependencies.dependency.version' for org.hibernate:hibernate-entitymanager:jar must be a valid version but is '${org.hibernate.version}'. @ line 76, column 15
    [ERROR] 'dependencies.dependency.version' for org.slf4j:slf4j-log4j12:jar must not contain any of these characters \/:"<>|?* but found : @ line 86, column 15

    Sometimes the pom.xml editor in Eclipse doesn't save the properties, add this property to the pom.xml if you are using version number variables


    <org.springframework.version>3.0.5</org.springframework.version>

    Example dependancies in pom.xml

    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-orm </artifactId>
    <version>${org.springframework.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-web</artifactId>
    <version>${org.springframework.version}</version>
    </dependency>

Middleware Mentor - Steven Charles Robinson

About Me

Steve Robinson has been working in IT for over 15 years and has provided solutions for many large-enterprise corporate companies across the world. Steve specialises in Java and Middleware consulting. Steve comes from both an administration and development background.

Before moving to JEE, Steve was an accomplished developer and consultant for both IBM Lotus Notes and Microsoft .NET Technologies.

Follow Steve as @stevencrobinson on twitter.

Read my books?

IBM WebSphere Application Server 8.0 Administration Guide

IBM WebSphere Application Server 8.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Categories

Oracle WebLogic Categories

JBoss Categories

Other Categories