[hibernate-issues] [Hibernate-JIRA] Commented: (HV-414) Assembly plugin fails with maven 3.0.1
Hardy Ferentschik (JIRA)
noreply at atlassian.com
Sat Jan 15 09:31:05 EST 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HV-414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=39644#action_39644 ]
Hardy Ferentschik commented on HV-414:
--------------------------------------
I think including optional dependencies makes sense. The Core dist bundle does it as well. Admittedly it's a fine line.
There is a difference between Joda time and JSR 223 though. The latter is already part of the JDK and you only need it as dependency if you are using JDK 5 and you want to use @ScriptAssert. Maybe we should change the structure to:
{noformat}
/required
...
/jdk5
...
/optional
...
/jdk5
...
{noformat}
> Assembly plugin fails with maven 3.0.1
> --------------------------------------
>
> Key: HV-414
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-414
> Project: Hibernate Validator
> Issue Type: Bug
> Components: build
> Affects Versions: 4.1.0.Final
> Reporter: Hardy Ferentschik
> Assignee: Hardy Ferentschik
> Fix For: 4.2.0.Beta2
>
>
> When trying to run the assembly plugin (_mvn package assembly:assembly_) using maven 3.0.1 the build fails due to _ClassNotFoundException_s. The problem seems to be that when the assembly plugin forks for its build transitive dependencies are not getting included.
> As a workaround one can build with a maven 2.x version.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list