Cyclic dependency analysis for Java 8 - for use in an automated build

I'll working on a project that is using JDepend to automatically generate a report of cyclic package dependencies as part of our CI build. (I am mainly interested in package level dependencies, so I've been using a cut down version of the XSLT to get a more focused report - otherwise, though, it is vanilla JDepend.)

However we are about to move the project to Java 8 and I have found that JDepend does not work against code compiled with the JDK 1.8 compiler. JDepend no longer seems to be being actively updated.

I'm trying to find a replacement that:

  • Works with JDK 1.8 compiled class and/or jars.
  • Reports cyclic dependencies at the package and/or jar level.
  • Can be automated from Ant (command line executable would do).
  • Produces a report that can be linked from a project home page and opened in a browser (e.g. HTML or plain text output - not a desktop app).
  • Also (preferably) produces - or can be configured/tweaked to produce - a focused report of just the cyclic dependencies (as JDepend can, if you modify the XSLT).

-------------Problems Reply------------

Java 8 includes jdeps.exe in the /bin. Although this doesn't explicitly call out cyclic dependencies it does show all dependencies for a project's packages. It's good enough.

Category:java 8 Views:0 Time:2018-06-12

Related post

  • Location of the IBM Developer Kit for Java for iSeries (AS/400) Javadocs 2009-05-15

    Does anyone know where I can find the Javadoc for the IBM Developer Kit for Java for the iSeries? The information center doesn't seem to have it. All I could find was the Javadoc for iSeries-specific JAAS. Specifically, I'm looking for the Javadoc fo

  • Using script in automated build process 2010-12-16

    I have a Powershell script written, which will be used in an automated build process. Do I need to write exit code 0 when the script will take the correct path (e.g. doesn't go into the if blocks which indicate an error condition)? Also, what is the

  • How to create POM.xml for java projec using eclipse? 2012-01-11

    I already have small java project. i want to move it to maven. So i want to create POM.xml using eclipse so that i can build it using pom from command prompt.i have not worked on maven though worked on ant . Please let me know how i can create pom.xm

  • I am looking for good read-ups for Java programming using app-engine 2010-02-26

    I am trying to make a website using Java on google app-engine. Can you suggest any good readups to get me up to speed on this? --------------Solutions------------- The first thing to read is of course Google's own overview of Java for App Engine: Goo

  • Groovy as a substitute for Java when using BigDecimal? 2010-04-23

    I have just completed an evaluation of Java, Groovy and Scala. The factors I considered were: readability, precision The factors I would like to know: performance, ease of integration I needed a BigDecimal level of precision. Here are my results: Jav

  • which is the best IDE to use for java for beginner 2010-12-30

    i have just started learniing java. there are many IDEs available and i am confused which should i use. Can anyone recommend which IDE should i use which is helpful in long run and easy to use --------------Solutions------------- If you're a Java beg

  • xml serialization generator for java without using reflection 2012-01-23

    Is there an XML serialization framework for Java that does not use reflection, but instead generates static serialization code (Java source) from XSD ? --------------Solutions------------- I've never seen anything that does exactly what you are askin

  • Sonar plugin not working for projects that use ANT as a build script 2011-08-25

    Problem I have just installed the Sonar Jenkins plugin. I went into my configured job (a free style job) that produces a WAR file artifact through an ANT build and did as follows: Check the Sonar checkbox. (No problems here) Configure the install dir

  • Usage of SQL parsers for java for search scenerios 2012-01-18

    Can anyone suggest some good implementation examples or usage scenarios where SQL parsers can be used for java. I have an application where we need to filter data to be presented on UI based on certain parameters, sort criteria etc. I have some doubt

  • Good tutorials/books for Java for the programmer with python background 2012-04-17

    Lately I have come to realize that I should know some of Java for programming ( I want to program in android). When I read all the tutorials and some free e-books, they either assume no programming experience or assume the reader to come from C/C++ b

  • NetLogo - reading and writing to a text file for Java API use 2010-08-11

    I want to use the Java API in my NetLogo program. For that, I need to write to a text file and read input from a text file. How can this be done in NetLogo? Additionally - what are the ways by which I can integrate the Java API with NetLogo? --------

  • Build and Deploy Strategy for Java Project using Git 2017-12-22

    So I am creating a personal Java project with two other friends and we are using git for source control. And we want to just be able to commit changes to the repo which will be on a remote server(sort of staging environment) and then I want to be abl

  • What is the best api/library for Java to use Cassandra? 2010-07-12

    I'm looking for an API with the following requirements It's simple to use and is concise. It is not bloated. Works with Spring way of doing things, or is at least easy to make it work with Spring Has a Maven repository, preferably it's already in the

  • Some sort of master page for java servlet using css 2009-04-20

    Hi I am creating a web application using Netbeans and servlets. I have used some css into my pages. Is there a way how I can put the banner and menu which every servlet will have in one place so I do not need to rewrite this in every servlet? Thank y

  • Are there alternatives to JMagick and ImageBuffer/ImageIO for Java for resizing/cropping images? 2011-04-29

    I'm currently using ImageBuffer/ImageIO. It works just fine on Windows, but for some reason, it is failing for PNG files on Linux. I have no idea why. I think I just need to use another library. Because I develop on Windows, I'd like something that w

  • Look for pydoc analog for java for reading docs from command line 2011-11-11

    Pydoc can produce nice docs for Python module/function/class for reading from command line. This tools javadoc seems does not provide such capabilities. I use Emacs and look for ability quickly get docs about standard java library without leaving Ema

  • Dictionary Api For Java (for finding meaning for the word) 2011-10-18

    Hello everyone can anyone tell me how to access the dictionary in Java? I need API for that such that I can access all the dictionary words and meanings. --------------Solutions------------- JWKTL looks like a good place to start although I haven't t

  • How to specify lib folder for JARs when using Android-generated ant build file? 2010-04-09

    Im using an ant build file that has been generated by android. Our Android application requires a JAR file that lives inside the lib folder of our project, so I need to adjust the classpath that ant is using when it builds stuff. When I run: ant -lib

  • How do I license the data visualization components (charting) for the Flex SDK on an automated builder server? 2009-10-23

    I have a professional license of Flex 3.3. This allows me to create applications using the data visualization components (charts) without watermarks. However, all of release builds (test, production, etc) occur on our build server. The build server o

  • What are the pros and cons of using Java for a web site? 2010-10-22

    I had never heard that you can use Java for a web site. I just learned it today when my future employer told me. The web site in question runs @ 15,000 daily visitors and it's only the beginning, so is it faster than PHP? Why did they pick Java over

  • Does a framework like Factory Girl exist for Java? 2009-06-12

    Factory Girl is a handy framework in rails for easily creating instances of models for testing. From the Factory Girl home page: factory_girl allows you to quickly define prototypes for each of your models and ask for instances with properties that a

  • Looking for decent Git libraries for Java 2010-11-16

    I am looking for a decent Git library for Java for stand-alone applications. Can anyone recommend any? --------------Solutions------------- I believe you can use JGit in your Java application. The main page includes: JGit has very few dependencies, m

  • XML data binding for C++ like JAXB for java 2011-08-10

    I am writing this question as a complete **naive** in this field of "Use of data binding and parsing in c++". So, please bear with me . :) You may find this question as duplicate of THIS After doing a bit of googling I found that what C++ has similar

  • How is values() implemented for Java 6 enums? 2009-07-22

    In Java, you can create an enum as follows: public enum Letter { A, B, C, D, E, F, G; static { for(Letter letter : values()) { // do something with letter } } } This question concerns the "values()" method. Specifically, how is it implemented? Usuall

  • Is there a tool for Java similar to Microsoft's CHESS? 2009-10-27

    Is there an existing tool for Java that is similar to Microsoft's CHESS? Or is the CHESS source code open, so that I might try to convert it into Java? --------------Solutions------------- Google's Thread Weaver provides a somewhat similar capability

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.155 (s). 11 q(s)