thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James E. King, III (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (THRIFT-4259) Thrift does not compile due to Ant Maven task errors
Date Thu, 11 Jan 2018 14:11:00 GMT

     [ https://issues.apache.org/jira/browse/THRIFT-4259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

James E. King, III updated THRIFT-4259:
---------------------------------------
    Environment: Fedora 25, Linux, any project docker image (all use ant 1.9.x)  (was: Fedora
25, Linux)

> Thrift does not compile due to Ant Maven task errors
> ----------------------------------------------------
>
>                 Key: THRIFT-4259
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4259
>             Project: Thrift
>          Issue Type: Bug
>          Components: Java - Compiler
>    Affects Versions: 0.9.3, 0.10.0, 0.11.0
>         Environment: Fedora 25, Linux, any project docker image (all use ant 1.9.x)
>            Reporter: Jacek Furmankiewicz
>            Priority: Blocker
>
> Cannot compile neither 0.9.3 nor 0.10.0
> They both fail with same errors in the Ant / Maven task....
> -----------------------------------------------------------------------------
> ./configure --without-ruby --without-cpp --without-nodejs --without-python --without-go
--without-c_glib 
> /usr/bin/ant 
> Buildfile: /home/jfurmank/Downloads/thrift-0.10.0/lib/java/build.xml
> setup.init:
> mvn.ant.tasks.check:
> proxy:
> mvn.ant.tasks.download:
>       [get] Getting: http://repo1.maven.org/maven2/org/apache/maven/maven-ant-tasks/2.1.3/maven-ant-tasks-2.1.3.jar
>       [get] To: /home/jfurmank/Downloads/thrift-0.10.0/lib/java/build/tools/maven-ant-tasks-2.1.3.jar
>       [get] Not modified - so not downloaded
> mvn.init:
> BUILD FAILED
> /home/jfurmank/Downloads/thrift-0.10.0/lib/java/build.xml:324: java.lang.NoSuchMethodError:
org.apache.maven.settings.RuntimeInfo.<init>(Lorg/apache/maven/settings/Settings;)V
> 	at org.apache.maven.artifact.ant.AbstractArtifactTask.loadSettings(AbstractArtifactTask.java:328)
> 	at org.apache.maven.artifact.ant.AbstractArtifactTask.initSettings(AbstractArtifactTask.java:278)
> 	at org.apache.maven.artifact.ant.AbstractArtifactTask.getSettings(AbstractArtifactTask.java:223)
> 	at org.apache.maven.artifact.ant.AbstractArtifactTask.getDefaultLocalRepository(AbstractArtifactTask.java:212)
> 	at org.apache.maven.artifact.ant.AbstractArtifactTask.getLocalRepository(AbstractArtifactTask.java:700)
> 	at org.apache.maven.artifact.ant.AbstractArtifactTask.createLocalArtifactRepository(AbstractArtifactTask.java:110)
> 	at org.apache.maven.artifact.ant.Pom.getMavenProject(Pom.java:272)
> 	at org.apache.maven.artifact.ant.Pom.setGroupId(Pom.java:560)
> 	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:498)
> 	at org.apache.tools.ant.IntrospectionHelper$AttributeSetter.setObject(IntrospectionHelper.java:1506)
> 	at org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHelper.java:411)
> 	at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:527)
> 	at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:463)
> 	at org.apache.tools.ant.Task.maybeConfigure(Task.java:202)
> 	at org.apache.tools.ant.UnknownElement.configure(UnknownElement.java:200)
> 	at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:164)
> 	at org.apache.tools.ant.Task.perform(Task.java:347)
> 	at org.apache.tools.ant.Target.execute(Target.java:435)
> 	at org.apache.tools.ant.Target.performTasks(Target.java:456)
> 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
> 	at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
> 	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
> 	at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
> 	at org.apache.tools.ant.Main.runBuild(Main.java:853)
> 	at org.apache.tools.ant.Main.startAnt(Main.java:235)
> 	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:285)
> 	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:112)
> Total time: 0 seconds
> Totally blocked, cannot install Thrift on my box, critical for our development.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message