Git Product home page Git Product logo

Comments (2)

HenryCaiHaiying avatar HenryCaiHaiying commented on August 17, 2024

I saw those plugin warnings in my local build, but that doesn't stop the
compilation. I don't see any problems downloading that libthrift:

[INFO] --- maven-finagle-thrift-plugin:0.0.9:compile (thrift-sources) @
secor ---

Downloading:
https://mavenrepo-external.pinadmin.com/thirdparty/thrift/libthrift/0.5.0/libthrift-0.5.0.pom

What's your mvn version? Mine is 3.3.1

On Fri, Aug 14, 2015 at 9:40 PM, Richard Lee [email protected]
wrote:

There appears to be something wrong wit the pom.xml file. A number of
warnings are emitted, and then the build fails unable to find the
com.twitter.finagle.thrift package.

[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.pinterest:secor:jar:0.2-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.codehaus.mojo:exec-maven-plugin @ line 269, column 21
[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]

...

[WARNING] Checksum validation failed, no checksums available from the repository for http://maven.twttr.com/org/apache/thrift/libthrift/0.5.0/libthrift-0.5.0.pom

...

[WARNING] Checksum validation failed, no checksums available from the repository for http://maven.twttr.com/thrift/libthrift/0.5.0/libthrift-0.5.0.jar

...

[ERROR] COMPILATION ERROR :
[ERROR] /home/build/jenkins_tempdir/workspace/secor/target/generated-sources/thrift/gen-java/com/pinterest/secor/thrift/TestMessage.java:[35,33] error: package com.twitter.finagle.thrift does not exist

Oddly, it appears to build without incident on OSX 10.10.5


Reply to this email directly or view it on GitHub
#122.

from secor.

llamahunter avatar llamahunter commented on August 17, 2024

After much experimenting with maven versions, I’ve gotten it to build using maven 3.0.4. I was previously using 3.2.2. I did not try 3.3.1, but did try 3.3.3. Did not build due to some sort of catastrophic type resolution error.

Seems like the pom is very maven-version sensitive.

Richard
Key ID: 3BDED925D4F316B3

On Aug 15, 2015, at 3:01 PM, Henry Haiying Cai [email protected] wrote:

I saw those plugin warnings in my local build, but that doesn't stop the
compilation. I don't see any problems downloading that libthrift:

[INFO] --- maven-finagle-thrift-plugin:0.0.9:compile (thrift-sources) @
secor ---

Downloading:
https://mavenrepo-external.pinadmin.com/thirdparty/thrift/libthrift/0.5.0/libthrift-0.5.0.pom

What's your mvn version? Mine is 3.3.1

On Fri, Aug 14, 2015 at 9:40 PM, Richard Lee [email protected]
wrote:

There appears to be something wrong wit the pom.xml file. A number of
warnings are emitted, and then the build fails unable to find the
com.twitter.finagle.thrift package.

[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.pinterest:secor:jar:0.2-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.codehaus.mojo:exec-maven-plugin @ line 269, column 21
[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]

...

[WARNING] Checksum validation failed, no checksums available from the repository for http://maven.twttr.com/org/apache/thrift/libthrift/0.5.0/libthrift-0.5.0.pom

...

[WARNING] Checksum validation failed, no checksums available from the repository for http://maven.twttr.com/thrift/libthrift/0.5.0/libthrift-0.5.0.jar

...

[ERROR] COMPILATION ERROR :
[ERROR] /home/build/jenkins_tempdir/workspace/secor/target/generated-sources/thrift/gen-java/com/pinterest/secor/thrift/TestMessage.java:[35,33] error: package com.twitter.finagle.thrift does not exist

Oddly, it appears to build without incident on OSX 10.10.5


Reply to this email directly or view it on GitHub
#122.


Reply to this email directly or view it on GitHub #122 (comment).

from secor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.