Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
maven-thrift-plugin
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
maven-thrift-plugin
Commits
12bb12e2
Commit
12bb12e2
authored
Nov 24, 2011
by
David Trott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated notes on plugin versions.
parent
80c42418
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
54 additions
and
2 deletions
+54
-2
README
README
+54
-2
No files found.
README
View file @
12bb12e2
CAUTION: Plugin version 0.1.11 requires thrift compiler version 0.7.0 or newer.
***********************
*** VERSION WARNING ***
***********************
Drop to the command line and type:
thrift -version
To find out what version of the compiler you are using.
Older Compiler Versions (Less than 0.7.0)
===
You must use version 0.1.10 of this plugin.
+ Check out the source.
+ Switch to the old branch: git checkout -b old maven-thrift-plugin-0.1.10
And build/use that version.
Newer Compiler Versions (0.7.0 or newer)
===
0.7.0 should work fine with the latest version of this plugin.
However I have seen incompatibilities between the compiler and libthrift.
To resolve these check out the source for the compiler from the 0.7.0 branch (Do not trust the TAR BALLS)
svn co http://svn.apache.org/repos/asf/thrift/tags/thrift-0.7.0
That version should work fine with the maven version of lib thrift:
<dependency>
<groupId>org.apache.thrift</groupId>
<artifactId>libthrift</artifactId>
<version>0.7.0</version>
</dependency>
Note: If you have problems building on OSX you might want to look at this article:
http://lueb.be/2009/02/23/installing-apache-thrift-on-mac-os-x-105-leopard/
The fastest way to build the compiler is:
$ svn co http://svn.apache.org/repos/asf/thrift/tags/thrift-0.7.0
$ cd thrift-0.7.0
$ cp /usr/X11/share/aclocal/pkg.m4 aclocal/
$ ./bootstrap.sh
$ ./configure
$ cd compiler/cpp/
$ make
You must use plugin version 0.1.10 for older thrift versions.
***************************
*** Maven Thrift Plugin ***
...
...
@@ -32,6 +83,7 @@ A minimal configuration to invoke this plugin would be:
<plugin>
<groupId>org.apache.thrift.tools</groupId>
<artifactId>maven-thrift-plugin</artifactId>
<version>0.1.10</version>
<configuration>
<thriftExecutable>/usr/local/bin/thrift</thriftExecutable>
</configuration>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment