Announcement Announcement Module
Collapse
No announcement yet.
maven build issues of surf. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • maven build issues of surf.

    Hi,

    Trying to build surf using maven 3.0.3 and the result is

    the pom file says DTD as maven 4.. but maven 4 does not seem to exist.

    Any pointers pl.

    Regards,
    Raja Nagendra Kumar,
    C.T.O
    www.tejasoft.com

    C:\temp\se-surf>mvn -e
    [INFO] Error stacktraces are turned on.
    [INFO] Scanning for projects...
    [ERROR] The build could not read 4 projects -> [Help 1]
    org.apache.maven.project.ProjectBuildingException: Some problems were encountere
    d while processing the POMs:
    [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found d
    uplicate declaration of plugin org.apache.maven.plugins:maven-resources-plugin @
    org.springframework.extensions.surf:spring-surf-parent:1.0.0.CI-SNAPSHOT, C:\te
    mp\se-surf\pom.xml, line 278, column 14
    [WARNING] 'reporting.plugins.plugin.version' for org.codehaus.mojo:cobertura-mav
    en-plugin is missing. @ org.springframework.extensions.surf:spring-surf-parent:1
    .0.0.CI-SNAPSHOT, C:\temp\se-surf\pom.xml, line 735, column 14
    [WARNING] 'reporting.plugins.plugin.version' for org.codehaus.mojo:cobertura-mav
    en-plugin is missing. @ org.springframework.extensions.surf:spring-surf-parent:1
    .0.0.CI-SNAPSHOT, C:\temp\se-surf\pom.xml, line 735, column 14

    [WARNING] The expression ${pom.version} is deprecated. Please use ${project.vers
    ion} instead. @
    [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-
    changelog-plugin is missing. @ line 757, column 14

    at org.apache.maven.project.DefaultProjectBuilder.bui ld(DefaultProjectBu
    ilder.java:339)
    at org.apache.maven.DefaultMaven.collectProjects(Defa ultMaven.java:632)
    at org.apache.maven.DefaultMaven.getProjectsForMavenR eactor(DefaultMaven
    .java:581)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMav en.java:233)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven .java:156)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.jav a:537)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java :196)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:1 41)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.codehaus.plexus.classworlds.launcher.Launcher. launchEnhanced(Laun
    cher.java:290)
    at org.codehaus.plexus.classworlds.launcher.Launcher. launch(Launcher.jav
    a:230)
    at org.codehaus.plexus.classworlds.launcher.Launcher. mainWithExitCode(La
    uncher.java:409)
    at org.codehaus.plexus.classworlds.launcher.Launcher. main(Launcher.java:
    352)
    [ERROR]
    [ERROR] The project org.springframework.extensions.surf:spring-webscripts-docu
    mentation:1.0.0.CI-SNAPSHOT (C:\temp\se-surf\spring-webscripts\spring-webscripts
    -documentation\pom.xml) has 2 errors
    [ERROR] 'build.plugins.plugin[org.springframework.extensions.surf:spring-sur
    f-doc-plugin].dependencies.dependency.scope' for javax.servlet.jsp:jsp-api:jar m
    ust be one of [compile, runtime, system] but is 'provided'. @ line 29, column 11

    [ERROR] 'build.plugins.plugin[org.springframework.extensions.surf:spring-sur
    f-doc-plugin].dependencies.dependency.scope' for javax.servlet:servlet-api:jar m
    ust be one of [compile, runtime, system] but is 'provided'. @ line 35, column 11

    [ERROR]
    [ERROR] The project org.springframework.extensions.surf:spring-surf-documentat
    ion:1.0.0.CI-SNAPSHOT (C:\temp\se-surf\spring-surf\spring-surf-documentation\pom
    .xml) has 2 errors
    [ERROR] 'build.plugins.plugin[org.springframework.extensions.surf:spring-sur
    f-doc-plugin].dependencies.dependency.scope' for javax.servlet.jsp:jsp-api:jar m
    ust be one of [compile, runtime, system] but is 'provided'. @ line 27, column 23

    [ERROR] 'build.plugins.plugin[org.springframework.extensions.surf:spring-sur
    f-doc-plugin].dependencies.dependency.scope' for javax.servlet:servlet-api:jar m
    ust be one of [compile, runtime, system] but is 'provided'. @ line 33, column 14

    [ERROR]
    [ERROR] The project org.springframework.extensions.surf:spring-surf-custom-sni
    ppets:1.0.0.CI-SNAPSHOT (C:\temp\se-surf\spring-surf-devtools\spring-surf-eclips
    e-extensions\spring-surf-custom-snippets\pom.xml) has 3 errors
    [ERROR] 'build.plugins.plugin[org.springframework.extensions.surf:spring-sur
    f-doc-plugin].dependencies.dependency.scope' for org.springframework.extensions.
    surf:spring-surf-api:jar must be one of [compile, runtime, system] but is 'provi
    ded'. @ line 63, column 14
    [ERROR] 'build.plugins.plugin[org.springframework.extensions.surf:spring-sur
    f-doc-plugin].dependencies.dependency.scope' for javax.servlet.jsp:jsp-api:jar m
    ust be one of [compile, runtime, system] but is 'provided'. @ line 69, column 14

    [ERROR] 'build.plugins.plugin[org.springframework.extensions.surf:spring-sur
    f-doc-plugin].dependencies.dependency.scope' for javax.servlet:servlet-api:jar m
    ust be one of [compile, runtime, system] but is 'provided'. @ line 75, column 14

    [ERROR]
    [ERROR] The project org.springframework.extensions.surf:spring-surf-jsdt-exten
    sions:1.0.0.CI-SNAPSHOT (C:\temp\se-surf\spring-surf-devtools\spring-surf-eclips
    e-extensions\spring-surf-jsdt-extensions\pom.xml) has 3 errors
    [ERROR] 'build.plugins.plugin[org.springframework.extensions.surf:spring-sur
    f-doc-plugin].dependencies.dependency.scope' for org.springframework.extensions.
    surf:spring-surf-api:jar must be one of [compile, runtime, system] but is 'provi
    ded'. @ line 79, column 14
    [ERROR] 'build.plugins.plugin[org.springframework.extensions.surf:spring-sur
    f-doc-plugin].dependencies.dependency.scope' for javax.servlet.jsp:jsp-api:jar m
    ust be one of [compile, runtime, system] but is 'provided'. @ line 85, column 14

    [ERROR] 'build.plugins.plugin[org.springframework.extensions.surf:spring-sur
    f-doc-plugin].dependencies.dependency.scope' for javax.servlet:servlet-api:jar m
    ust be one of [compile, runtime, system] but is 'provided'. @ line 91, column 14

    [ERROR]
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please rea
    d the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/d...ProjectBuildin
    gException
Working...
X