Hi, try to run maven with -e key
Also posting your pom.xml could help to figure out what is wrong.
Just silly question: does the path, you are trying to create, exist?
--
Oleksandr Huziy
2012/1/6 Alessandro Ferrucci <[email protected]>
> Hi, I'm trying to build geotools and I'm getting some really weird errors
> maybe someone can point out a really obvious solution:
> doesn't matter what I try to build in geotools (all or just 1 module) I
> get the following error. I have bolded the relevant line.
>
> Any idea why it's doing that?
> Thanks,
> Ale
>
> $ mvn install -Dmaven.test.skip=true
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building API interfaces
> [INFO] task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [svn-revision-number:revision {execution: default}]
> [INFO] inspecting C:\cira_svn\geotools-2.7.4-src\modules\library\api
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> C:\cira_svn\geotools-2.7.4-src\modules\library\api\src\main\resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 135 source files to
> C:\cira_svn\geotools-2.7.4-src\modules\library\api\target\classes
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> C:\cira_svn\geotools-2.7.4-src\modules\library\api\src\test\resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Not compiling test sources
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Tests are skipped.
> [INFO] [jar:jar {execution: default-jar}]
> [INFO] Building jar:
> C:\cira_svn\geotools-2.7.4-src\modules\library\api\target\gt-api-2.7.4.jar
> [INFO] Preparing source:jar
> [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> invocation.
> [INFO] [svn-revision-number:revision {execution: default}]
> [INFO] inspecting C:\cira_svn\geotools-2.7.4-src\modules\library\api
> [WARNING] the "build.repository" property is already defined, its value
> will be overwritten. Consider another value for the entry properties prefix.
> [WARNING] the "build.path" property is already defined, its value will be
> overwritten. Consider another value for the entry properties prefix.
> [WARNING] the "build.revision" property is already defined, its value will
> be overwritten. Consider another value for the entry properties prefix.
> [WARNING] the "build.mixedRevisions" property is already defined, its
> value will be overwritten. Consider another value for the entry properties
> prefix.
> [WARNING] the "build.committedRevision" property is already defined, its
> value will be overwritten. Consider another value for the entry properties
> prefix.
> [WARNING] the "build.status" property is already defined, its value will
> be overwritten. Consider another value for the entry properties prefix.
> [WARNING] the "build.specialStatus" property is already defined, its value
> will be overwritten. Consider another value for the entry properties prefix.
> [INFO] [source:jar {execution: attach-sources}]
> [INFO] Building jar:
> C:\cira_svn\geotools-2.7.4-src\modules\library\api\target\gt-api-2.7.4-sources.jar
> [INFO] [jar-collector:collect {execution: default}]
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> *[INFO] Failed to create target directory:
> C:\cira_svn\geotools-2.7.4-src\modules\library\api\${project.basedir}\target
> *
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 14 seconds
> [INFO] Finished at: Fri Jan 06 17:38:28 EST 2012
> [INFO] Final Memory: 20M/49M
>
>
> --
> Signed,
> Alessandro Ferrucci
>
>
> ------------------------------------------------------------------------------
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
>
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users