You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Naveen Swamy <mn...@gmail.com> on 2018/05/30 18:44:48 UTC

Parent not deployed/

Hi, I am trying to refactor our maven packages, we were publishing way too
many packages and I am fat jar which contains everything because that's how
our users use.

We are testing the package on the staging repo and running into issues
where it is asking for the parent pom file.
I wanted to know if we also have to publish the parent package or if there
is a way around it ? this would also we have recursively release all
parents packages?

The package in question is here, i want to only release the platform
specific packages.
https://github.com/nswamy/incubator-mxnet/tree/v1.2.0/scala-package/assembly


Appreciate your response on this.

Thanks, Naveen

Re: Parent not deployed/

Posted by Naveen Swamy <mn...@gmail.com>.
there is no problem in pushing the parent pom, just didn't want to have
many packages/pom in maven leading to confusion.
Do you see any issues?

On Wed, Jun 6, 2018 at 9:06 AM, Karl Heinz Marbaise <kh...@gmx.de>
wrote:

> Hi,
>
> On 30/05/18 20:44, Naveen Swamy wrote:
>
>> Hi, I am trying to refactor our maven packages, we were publishing way too
>> many packages and I am fat jar which contains everything because that's
>> how
>> our users use.
>>
>> We are testing the package on the staging repo and running into issues
>> where it is asking for the parent pom file.
>> I wanted to know if we also have to publish the parent package or if there
>> is a way around it ? this would also we have recursively release all
>> parents packages?
>>
>>
> The package in question is here, i want to only release the platform
>> specific packages.
>> https://github.com/nswamy/incubator-mxnet/tree/v1.2.0/scala-
>> package/assembly
>>
>
> What is the problem with deploying / releasing the parent poms as well?
> What is the issue with them?
>
> Kind regards
> Karl Heinz Marbaise
>

Re: Parent not deployed/

Posted by Karl Heinz Marbaise <kh...@gmx.de>.
Hi,

On 30/05/18 20:44, Naveen Swamy wrote:
> Hi, I am trying to refactor our maven packages, we were publishing way too
> many packages and I am fat jar which contains everything because that's how
> our users use.
> 
> We are testing the package on the staging repo and running into issues
> where it is asking for the parent pom file.
> I wanted to know if we also have to publish the parent package or if there
> is a way around it ? this would also we have recursively release all
> parents packages?
> 

> The package in question is here, i want to only release the platform
> specific packages.
> https://github.com/nswamy/incubator-mxnet/tree/v1.2.0/scala-package/assembly

What is the problem with deploying / releasing the parent poms as well? 
What is the issue with them?

Kind regards
Karl Heinz Marbaise

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Parent not deployed/

Posted by Naveen Swamy <mn...@gmail.com>.
Thanks Francois, I thought It would be cumbersome and probably confusing
users to publish poms and ended up using the flatten-maven-plugin and it
works fine now. Thanks, Naveen

On Thu, May 31, 2018 at 12:36 PM, Francois MAROT <fr...@gmail.com>
wrote:

> Hi,
>
> I have the same "problem" here which is not really a problem: I deploy the
> parent pom (and the parent's parent and so on) and voila. As parent are
> only
> pom, no real package or jars, this not really a problem.
> But I think the Flatten Maven Plugin
> https://www.mojohaus.org/flatten-maven-plugin/ may be what you are looking
> for. It flattens your pom so no parent pom is needed.
>
>
>
> --
> Sent from: http://maven.40175.n5.nabble.com/Maven-Users-f40176.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Parent not deployed/

Posted by Francois MAROT <fr...@gmail.com>.
Hi,

I have the same "problem" here which is not really a problem: I deploy the
parent pom (and the parent's parent and so on) and voila. As parent are only
pom, no real package or jars, this not really a problem.
But I think the Flatten Maven Plugin
https://www.mojohaus.org/flatten-maven-plugin/ may be what you are looking
for. It flattens your pom so no parent pom is needed.



--
Sent from: http://maven.40175.n5.nabble.com/Maven-Users-f40176.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org