maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bing Shiao <bingsh...@gmail.com>
Subject Re: [DISCUSS] MDEPLOY-205: MavenProject with only attachments must have packaging "pom"
Date Tue, 12 Jan 2016 19:25:14 GMT
+1
On Jan 12, 2016 11:05 AM, "Dennis Lundberg" <dennisl.apache@gmail.com>
wrote:

> +1
> Den 11 jan 2016 22:37 skrev "Robert Scholte" <rfscholte@apache.org>:
>
> > this might be the root cause:
> >
> > MINSTALL-41 [1]:
> > I have a project wich I need to build only specifying a classifier (in
> > detail: a war project which I need to build with different profiles to
> > include different
> >  configurations. So I set up different filters and the package produces
> > different classified wars).
> >
> > So IMHO abuse of profiles, not a reason to support attachments without a
> > main artifact when packaging is 'war'.
> > Instead I would suggest extracting the configuration or if one *really*
> > wants to include configuration: use overlays per environment.
> >
> > thanks,
> > Robert
> >
> > [1] https://issues.apache.org/jira/browse/MINSTALL-41
> >
> > Op Sat, 09 Jan 2016 18:04:40 +0100 schreef Robert Scholte <
> > rfscholte@apache.org>:
> >
> > Hi,
> >>
> >> I've created MDEPLOY-205: MavenProject with only attachments must have
> >> packaging "pom"[1]
> >>
> >> If I apply such a change, tests written for MDEPLOY-45 and MDEPLOY-78
> >> fail.
> >>
> >> [ERROR] The following builds failed:
> >> [ERROR] *  mdeploy-45-test\pom.xml
> >> [ERROR] *  no-main-artifact-1\pom.xml
> >> [ERROR] *  no-main-artifact-2\pom.xml
> >> [ERROR] *  no-main-artifact-snapshot\pom.xml
> >>
> >> Original titles:
> >> MDEPLOY-45: Classifier not supported by deploy:deploy [2]
> >> MDEPLOY-78: Deploy with classifier does not deploy pom [3]
> >>
> >> Both sound valid as long *as the packaging is pom*
> >> For the hygiene of the repository if the packaging says jar there should
> >> always an artifactId-version.jar
> >>
> >> Anyone wants to convince me that I'm wrong?
> >>
> >> thanks,
> >> Robert
> >>
> >> [1] https://issues.apache.org/jira/browse/MDEPLOY-205
> >> [2] https://issues.apache.org/jira/browse/MDEPLOY-45
> >> [3] https://issues.apache.org/jira/browse/MDEPLOY-78
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: dev-help@maven.apache.org
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message