kriegaex opened a new pull request, #132:
URL: https://github.com/apache/xalan-java/pull/132

   @jkesselm The new profiles
     - `create-docs` for Stylebook docs and
     - `create-distros` for source and binary assemblies
   
   are both active by default, but can be deactivated on the Maven command line 
or from an IDE to achieve faster development builds, e.g. if in the future a 
developer just wants to change some source code, compile and test it. He does 
not need any documentation or distros for that, so he can just build with 
something like:
   
   ```text
   mvn [goal|phase] -P !create-docs,!create-distros
   ```
   
   Relates to https://issues.apache.org/jira/browse/XALANJ-2708.
   
   P.S.: I think, the fact that the Xalan JAR (not the distro, just the single 
module) contains dependency classes is not nice. When using Xalan as a library, 
it would be better to let Maven or Gradle pull the transitive dependencies. To 
replicate the old behaviour, we have to use Maven Shade, which is not just 
slow, but IMO also replicates an old Xalan problem: The dependency classes are 
included with their original package names, i.e. `org.apache.bcel`. If 
including them at all would make any sense, they should be relocatedin order to 
avoid clashes for users who happen to use e.g. BCEL in their own applications, 
possibly in another version. Classpath conflics are pre-programmed like this. 
But I guess, that issue deserves its own issue and its own discussion.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@xalan.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@xalan.apache.org
For additional commands, e-mail: dev-h...@xalan.apache.org

Reply via email to