Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Upgrade of class connector's configuration file

...

Proposed configuration:

No Format
<dataSource>
	    <groupId>org.apache.maven.diagram.connectors</groupId>
	    <artifactId>classes-diagram</artifactId>
	    <version>1.0</version>
    <configuration>
		<dependencySets> 			<dependencySet>
				<groupId></groupId>
				<artifactId></artifactId>
				<classifier></classifier>
				<type></type>
			</dependencySet>
			<!-- ... -->
		</dependencySets>
	</configuration>
	<filtering>
		<includes>
			<include>.*</include><!-Default->
		</includes>
		<excludes>
			<exclude>org\.bad_package\..*</exclude>
		</excludes>
	</filtering>
</       <dependencies>
            <dependency>
                <groupId></groupId>
                <artifactId></artifactId>
                <classifier></classifier>
                <type></type>
            </dependency>
            ...
        </dependencies>

        <includes>
                <include>org\.codehaus\.ClassName</include>
                <include>org\.apache\.**</include>
                <include><!--regexp--></include>
        </includes>
        <excludes>
           <!-- keepEdges means: nodes: A,B,C; graph: A-B-C,
                result of "exclude B" with keepEdges: A-C.
                result of "exclude B' without keepEdges: A-C
                The first rule wins.
                (default: false)
              -->
           <exclude keepEdges="true/false">org\.apache\.maven.*<\exclude>
        </excludes>

        <nodes>
            <!--if a class contains x,getX, setX, it will be represented only as "&lt;property&gt; x" -->
            <compressJavaBeanProperties>true/false (default true)<compressJavaBeanProperties>

            <!-- if a superclass of a class contains (public or protected) methods - should the methods be visible in the inherited class -->
            <propagateInheritedMethods>true/false (default false)</propagateInheritedMethods>

            <!-- if a superclass of a class contains (public or protected) fields - should the fields be visible in the inherited class -->
            <propagateInheritedFields>true/false (default false)</propagateInheritedFields>
        </nodes>

        <edges>
           <inheritance/>
           <implemmenting/>
           <aggregating/>
        </edges>
    </configuration>

</dataSource>






Dependency connector

...