Hi,

I refreshed my OJ sources with TortoiseSVN before trying to build  and "own_oj" 
is a full copy of the "trunk" directory including pom.xml.
Log file attached.

-Jukka-


-----Alkuperäinen viesti-----
Lähettäjä: edgar.sol...@web.de [mailto:edgar.sol...@web.de] 
Lähetetty: 9. elokuuta 2017 13:56
Vastaanottaja: jump devel
Aihe: Re: [JPP-Devel] Errors with building OJ snapshot

Jukka,

if you want to use maven for building you have to checkout the sources via svn. 
how did you retrieve the sources?

if you did use svn, maybe a fresh checkout helps? please attach the full log 
next time.

..ede


On 09.08.2017 12:23, Rahkonen Jukka (MML) wrote:
> Hi,
> 
>  
> 
> I tried to build a snapshot from revision r5484. I am using a Windows bat 
> that used to work:
> 
>  
> 
> set maven_home=C:\ohjelmat\apache-maven-3.5.0
> 
> set path=%path%;C:\ohjelmat\apache-maven-3.5.0\bin
> 
> set java_home=C:\ohjelmat\jdk8\jre
> 
> C:\ohjelmat\apache-maven-3.5.0\bin\mvn package -P snapshot
> 
>  
> 
> However, now I am getting a couple or warnings and two  errors. The 
> warnings are about deegree2
> 
>  
> 
> [WARNING] Failure to transfer 
> org.deegree2:deegree2-core:2.6-pre2-SNAPSHOT/maven
> 
> -metadata.xml from http://maven.ch.cam.ac.uk/m2repo/ was cached in the 
> local rep
> 
> ository, resolution will not be reattempted until the update interval 
> of cam has
> 
> elapsed or updates are forced. Original error: Could not transfer metadata 
> org.
> 
> deegree2:deegree2-core:2.6-pre2-SNAPSHOT/maven-metadata.xml from/to 
> cam (http://
> 
> maven.ch.cam.ac.uk/m2repo/): Connect to maven.ch.cam.ac.uk:80 
> [maven.ch.cam.ac.u
> 
> k/193.60.92.99] failed: Connection timed out: connect
> 
> Downloading: 
> http://maven.ch.cam.ac.uk/m2repo/org/deegree2/deegree2-base/2.6-pre
> 
> 2-SNAPSHOT/maven-metadata.xml
> 
>  
> 
> The errors are:
> 
>  
> 
> [ERROR] Failed to execute goal 
> org.codehaus.mojo:buildnumber-maven-plugin:1.4:create (generate-buildnumber) 
> on project OpenJUMP: Cannot get the revision information from the scm 
> repository :
> 
> [ERROR] Exception while executing SCM command.: svn: E155007: 
> 'C:\temp\own_oj' is not a working copy
> 
>  
> 
> Any advice for making the build to success?
> 
>  
> 
> -Jukka Rahkonen-
> 
> 
> 
> ----------------------------------------------------------------------
> -------- Check out the vibrant tech community on one of the world's 
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> 
> 
> 
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech 
sites, Slashdot.org! http://sdm.link/slashdot 
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
C:\temp\own_oj>set maven_home=C:\ohjelmat\apache-maven-3.5.0 

C:\temp\own_oj>set 
path=C:\ProgramData\Oracle\Java\javapath;C:\oracle\OraClient11g\bin;C:\oracle\OraClient10g101\bin;c:\windows\system32;c:\windows;c:\windows\system32\wbem;c:\windows\system32\windowspowershell\v1.0";C:\ohjelmat\TortoiseSVN\bin;C:\ohjelmat\apache-maven-3.3.1\bin;C:\ohjelmat\apache-maven-3.3.1\bin;C:\ohjelmat\apache-maven-3.3.1\bin;C:\ohjelmat\apache-maven-3.3.1\bin;C:\ohjelmat\apache-maven-3.5.0\bin;C:\ohjelmat\apache-maven-3.5.0\bin;C:\ohjelmat\apache-maven-3.5.0\bin;C:\ohjelmat\apache-maven-3.5.0\bin;C:\ohjelmat\apache-maven-3.5.0\bin;C:\ohjelmat\apache-maven-3.5.0\bin;C:\ohjelmat\apache-maven-3.5.0\bin;C:\ohjelmat\apache-maven-3.5.0\bin
 

C:\temp\own_oj>set java_home=C:\ohjelmat\jdk8\jre 

C:\temp\own_oj>C:\ohjelmat\apache-maven-3.5.0\bin\mvn package -P snapshot -e 
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.openjump:OpenJUMP:jar:snapshot
[WARNING] 'version' contains an expression but should be a constant. @ 
org.openjump:OpenJUMP:${version.release}, C:\temp\own_oj\pom.xml, line 7, 
column 14
[WARNING] 'dependencies.dependency.systemPath' for 
com.yuvimasory:orange-extensions:jar should not point at files within the 
project directory, ${project.basedir}/lib/OrangeExtensions-1.2.jar will be 
unresolvable by dependent projects @ org.openjump:OpenJUMP:${version.release}, 
C:\temp\own_oj\pom.xml, line 972, column 25
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten 
the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support 
building such malformed projects.
[WARNING] 
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenJUMP snapshot
[INFO] ------------------------------------------------------------------------
Downloading: 
http://maven.ch.cam.ac.uk/m2repo/org/deegree2/deegree2-core/2.6-pre2-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata 
org.deegree2:deegree2-core:2.6-pre2-SNAPSHOT/maven-metadata.xml from/to cam 
(http://maven.ch.cam.ac.uk/m2repo/): Connect to maven.ch.cam.ac.uk:80 
[maven.ch.cam.ac.uk/193.60.92.99] failed: Connection timed out: connect
[WARNING] Failure to transfer 
org.deegree2:deegree2-core:2.6-pre2-SNAPSHOT/maven-metadata.xml from 
http://maven.ch.cam.ac.uk/m2repo/ was cached in the local repository, 
resolution will not be reattempted until the update interval of cam has elapsed 
or updates are forced. Original error: Could not transfer metadata 
org.deegree2:deegree2-core:2.6-pre2-SNAPSHOT/maven-metadata.xml from/to cam 
(http://maven.ch.cam.ac.uk/m2repo/): Connect to maven.ch.cam.ac.uk:80 
[maven.ch.cam.ac.uk/193.60.92.99] failed: Connection timed out: connect
Downloading: 
http://maven.ch.cam.ac.uk/m2repo/org/deegree2/deegree2-base/2.6-pre2-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata 
org.deegree2:deegree2-base:2.6-pre2-SNAPSHOT/maven-metadata.xml from/to cam 
(http://maven.ch.cam.ac.uk/m2repo/): Connect to maven.ch.cam.ac.uk:80 
[maven.ch.cam.ac.uk/193.60.92.99] failed: Connection timed out: connect
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create (generate-buildnumber) @ 
OpenJUMP ---
[INFO] Change the default 'svn' provider implementation to 'javasvn'.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 43.353 s
[INFO] Finished at: 2017-08-09T14:00:57+03:00
[INFO] Final Memory: 11M/27M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.codehaus.mojo:buildnumber-maven-plugin:1.4:create (generate-buildnumber) on 
project OpenJUMP: Cannot get the revision information from the scm repository : 
[ERROR] Exception while executing SCM command.: svn: E155007: 'C:\temp\own_oj' 
is not a working copy
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.codehaus.mojo:buildnumber-maven-plugin:1.4:create (generate-buildnumber) on 
project OpenJUMP: Cannot get the revision information from the scm repository : 
Exception while executing SCM command.
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
        at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot get the 
revision information from the scm repository : 
Exception while executing SCM command.
        at org.codehaus.mojo.build.CreateMojo.getRevision(CreateMojo.java:685)
        at org.codehaus.mojo.build.CreateMojo.execute(CreateMojo.java:397)
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        ... 20 more
Caused by: org.apache.maven.scm.ScmException: Exception while executing SCM 
command.
        at 
org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:63)
        at 
org.apache.maven.scm.provider.svn.AbstractSvnScmProvider.executeCommand(AbstractSvnScmProvider.java:428)
        at 
org.apache.maven.scm.provider.svn.AbstractSvnScmProvider.info(AbstractSvnScmProvider.java:451)
        at 
org.codehaus.mojo.build.AbstractScmMojo.info(AbstractScmMojo.java:284)
        at 
org.codehaus.mojo.build.AbstractScmMojo.getScmRevision(AbstractScmMojo.java:293)
        at org.codehaus.mojo.build.CreateMojo.getRevision(CreateMojo.java:670)
        ... 23 more
Caused by: org.apache.maven.scm.ScmException: svn: E155007: 'C:\temp\own_oj' is 
not a working copy
        at 
org.apache.maven.scm.provider.svn.svnjava.command.info.SvnJavaInfoCommand.executeSingleInfoCommand(SvnJavaInfoCommand.java:110)
        at 
org.apache.maven.scm.provider.svn.svnjava.command.info.SvnJavaInfoCommand.executeInfoCommand(SvnJavaInfoCommand.java:71)
        at 
org.apache.maven.scm.provider.svn.svnjava.command.info.SvnJavaInfoCommand.executeCommand(SvnJavaInfoCommand.java:48)
        at 
org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
        ... 28 more
Caused by: org.tmatesoft.svn.core.SVNException: svn: E155007: 'C:\temp\own_oj' 
is not a working copy
        at 
org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
        at 
org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
        at 
org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.parseDir(SVNWCDb.java:1886)
        at 
org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.parseDir(SVNWCDb.java:1777)
        at 
org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.readConflicts(SVNWCDb.java:3308)
        at 
org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.readConflicts(SVNWCDb.java:3281)
        at 
org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.opReadTreeConflict(SVNWCDb.java:2723)
        at 
org.tmatesoft.svn.core.internal.wc2.ng.SvnNgGetInfo.run(SvnNgGetInfo.java:72)
        at 
org.tmatesoft.svn.core.internal.wc2.ng.SvnNgGetInfo.run(SvnNgGetInfo.java:51)
        at 
org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20)
        at 
org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20)
        at 
org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1149)
        at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
        at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2485)
        at 
org.apache.maven.scm.provider.svn.svnjava.command.info.SvnJavaInfoCommand.executeSingleInfoCommand(SvnJavaInfoCommand.java:88)
        ... 31 more
[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 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to