I couldn't help but notice a series of articles being published on InformIT covering XDoclet. Since I've written a little something about XDoclet myself, I decided to take a peak and see what this author (who, although not clearly identified, appears to be Steven Haines) has to say.
It didn't take long before I felt a sense of deja vu. Much of the example code is similar to the example code from my book. In fact, if you compare Listing 21 from this article with Listing 3.1 in XDoclet in Action, you'll find that they're identical. Not just similar--identical. The target names are the same. The XDoclet subtasks are the same and in the same order. Even the name of the Ant sub-build file is the same as mine.
May I vent a little?
In some ways I'm flattered that someone found my code useful and is sharing it with others. On the other hand, can we give some credit where credit is due? I'm going to stop short of calling this plagiarism, because it's not a complete copy of what's in my book (at least he had the decency to come up with a different problem domain for his example). But you'd think that the very least that they could do is to mention XDoclet in Action and perhaps put a link to Amazon.