[ http://jira.codehaus.org/browse/MPREPO-12?page=comments#action_54318 ] 

Bengt-Erik Fröberg commented on MPREPO-12:
------------------------------------------

So the repository manager is taking care of this issue?

About the sun jars: I don't mind installing them manually, because it's the 
deal when it comes to sun jars and this is clearly stated in the docs.

'what bothers me is things like

required artifacts missing:
  generama:qdox:jar:20051211.114207
  xpp3:xpp3:jar:1.1.3.4-RC8_min
  groovy:groovy-all:jar:1.0-jsr-04
  xdoclet-plugins:xdoclet-plugin-qtags:jar:${pom.currentVersion}
  freemarker:freemarker:jar:2.3

A quick check tells me that 
directory generama/qdox does not exist and probably never will exist in 
repository
file groovy/groovy-all/1.0-jsr-04 does not exist in repository
file freemarker/freemarker/ hasn't got a 2.3 directory in repository

but still someone has been allowed to upload a version/POM/whatever that 
depends on them.
I might add that my POM is very(!) simple, no fancy stuff there, just the 
latest version of xdoclet2/xdoclet-hibernate-plugin.

So now I add an issue to JIRA and a patch correcting this?





> Repository plugin should not publish and upload unless all dependencies exist 
> in repository
> -------------------------------------------------------------------------------------------
>
>          Key: MPREPO-12
>          URL: http://jira.codehaus.org/browse/MPREPO-12
>      Project: maven-repository-plugin
>         Type: Improvement

>  Environment: Windows XP, Java 1.5
>     Reporter: Bengt-Erik Fröberg
>     Assignee: Brett Porter

>
>
> Today there are a lot of errors and non-available transitive dependencies in 
> some POMs. This result in failed builds etc from the Maven2 environment, and 
> makes one of Mavens top features, handling of dependencies, worthless.
> repository:bundle-create should check that the dependencies of the project 
> are valid and exist in repository.
> After this validation, the bundle can be created and uploaded. This would 
> prevent a lot of annoying warnings, not-founds and broken dependencies.
> Better the goal is aborted with a message to fix the dependencies of the 
> bundle you want to publish. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to