[TEXT] Problems with the site build

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[TEXT] Problems with the site build

Benedikt Ritter-4
Hi all,

I've tried to create the site for commons-text but the site build doesn't
work. It always prints out "maven.site.deploy.skip = true: Skipping site
deployment" [1]. I've tried to override this via -D but it doesn't work.
Can anybody help?

TIA!
Benedikt

[1]
https://github.com/apache/maven-plugins/blob/3b34d1bbf0ff0347fce83084ce4670755e1cee7c/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/AbstractDeployMojo.java#L162


--
http://people.apache.org/~britter/
http://www.systemoutprintln.de/
http://twitter.com/BenediktRitter
http://github.com/britter
Reply | Threaded
Open this post in threaded view
|

Re: [TEXT] Problems with the site build

sebb-2-2
TEXT is a Sandbox component, so it should inherit from the Commons-Sandbox POM.

That may or may not help, but ought to be done to prevent accidental deployment.

What exact commands have you used?


On 29 November 2014 at 11:31, Benedikt Ritter <[hidden email]> wrote:

> Hi all,
>
> I've tried to create the site for commons-text but the site build doesn't
> work. It always prints out "maven.site.deploy.skip = true: Skipping site
> deployment" [1]. I've tried to override this via -D but it doesn't work.
> Can anybody help?
>
> TIA!
> Benedikt
>
> [1]
> https://github.com/apache/maven-plugins/blob/3b34d1bbf0ff0347fce83084ce4670755e1cee7c/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/AbstractDeployMojo.java#L162
>
>
> --
> http://people.apache.org/~britter/
> http://www.systemoutprintln.de/
> http://twitter.com/BenediktRitter
> http://github.com/britter

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [TEXT] Problems with the site build

Benedikt Ritter-4
TEXT inherits from commons parent (like BeanUtils2 does) because the
sandbox parent pom only adds unnecessary complexity and yet another thing
we need to release. I updated BeanUtils2 to commons parent because I wanted
to use the new commons skin for example. Since the BeanUtils2 site build
works, I think it has nothing to do with the parent pom.

I'm trying to deploy the site with
mvn clean site-deploy
and
mvn clean site-deploy -Dmaven.site.deploy.skip=false

Thank you,
Benedikt

2014-11-29 12:55 GMT+01:00 sebb <[hidden email]>:

> TEXT is a Sandbox component, so it should inherit from the Commons-Sandbox
> POM.
>
> That may or may not help, but ought to be done to prevent accidental
> deployment.
>
> What exact commands have you used?
>
>
> On 29 November 2014 at 11:31, Benedikt Ritter <[hidden email]> wrote:
> > Hi all,
> >
> > I've tried to create the site for commons-text but the site build doesn't
> > work. It always prints out "maven.site.deploy.skip = true: Skipping site
> > deployment" [1]. I've tried to override this via -D but it doesn't work.
> > Can anybody help?
> >
> > TIA!
> > Benedikt
> >
> > [1]
> >
> https://github.com/apache/maven-plugins/blob/3b34d1bbf0ff0347fce83084ce4670755e1cee7c/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/AbstractDeployMojo.java#L162
> >
> >
> > --
> > http://people.apache.org/~britter/
> > http://www.systemoutprintln.de/
> > http://twitter.com/BenediktRitter
> > http://github.com/britter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
http://people.apache.org/~britter/
http://www.systemoutprintln.de/
http://twitter.com/BenediktRitter
http://github.com/britter
Reply | Threaded
Open this post in threaded view
|

Re: [TEXT] Problems with the site build

sebb-2-2
On 30 November 2014 at 18:23, Benedikt Ritter <[hidden email]> wrote:
> TEXT inherits from commons parent (like BeanUtils2 does) because the
> sandbox parent pom only adds unnecessary complexity and yet another thing

Using the sandbox pom instead of the normal pom does not affect the complexity.

> we need to release. I updated BeanUtils2 to commons parent because I wanted
> to use the new commons skin for example. Since the BeanUtils2 site build
> works, I think it has nothing to do with the parent pom.

The sandbox pom was designed for use with sandbox components.
If it no longer serves its purpose it should be retired, but using the
wrong parent pom may cause problems.

> I'm trying to deploy the site with
> mvn clean site-deploy
> and
> mvn clean site-deploy -Dmaven.site.deploy.skip=false

Does the same problem occur with other components?
Are they sandbox or proper?

> Thank you,
> Benedikt
>
> 2014-11-29 12:55 GMT+01:00 sebb <[hidden email]>:
>
>> TEXT is a Sandbox component, so it should inherit from the Commons-Sandbox
>> POM.
>>
>> That may or may not help, but ought to be done to prevent accidental
>> deployment.
>>
>> What exact commands have you used?
>>
>>
>> On 29 November 2014 at 11:31, Benedikt Ritter <[hidden email]> wrote:
>> > Hi all,
>> >
>> > I've tried to create the site for commons-text but the site build doesn't
>> > work. It always prints out "maven.site.deploy.skip = true: Skipping site
>> > deployment" [1]. I've tried to override this via -D but it doesn't work.
>> > Can anybody help?
>> >
>> > TIA!
>> > Benedikt
>> >
>> > [1]
>> >
>> https://github.com/apache/maven-plugins/blob/3b34d1bbf0ff0347fce83084ce4670755e1cee7c/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/AbstractDeployMojo.java#L162
>> >
>> >
>> > --
>> > http://people.apache.org/~britter/
>> > http://www.systemoutprintln.de/
>> > http://twitter.com/BenediktRitter
>> > http://github.com/britter
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>
>
> --
> http://people.apache.org/~britter/
> http://www.systemoutprintln.de/
> http://twitter.com/BenediktRitter
> http://github.com/britter

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [TEXT] Problems with the site build

Bruno P. Kinoshita
In reply to this post by Benedikt Ritter-4
Hi there, 
Tried the mvn clean site-deploy, and noticed a similar message.
kinow@chuva:~/java/apache/commons-text$ mvn clean site-deploy -e -XApache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T15:37:52-03:00)Maven home: /opt/apache-maven-3.2.1Java version: 1.7.0_65, vendor: Oracle CorporationJava home: /opt/jdk1.7.0_65/jreDefault locale: en_US, platform encoding: UTF-8OS name: "linux", version: "3.13.0-36-generic", arch: "amd64", family: "unix"
Looking at the commons-parent-35 pom.xml [1], it contains the following comment:
        <plugin>          <groupId>org.apache.maven.plugins</groupId>          <artifactId>maven-site-plugin</artifactId>          <version>${commons.site-plugin.version}</version>          <configuration>            <!-- don't deploy site with maven-site-plugin -->            <skipDeploy>true</skipDeploy>          </configuration>        </plugin>
So I guess that's why we are are presented with this message.
In another part of the commons-parent pom, it mentions the scm-publish. Maybe mvn clean scm-publish:publish-scm ? Just my 0.02 cents.HTH,Bruno
[1] https://svn.apache.org/repos/asf/commons/proper/commons-parent/tags/commons-parent-35/pom.xml
 
      From: Benedikt Ritter <[hidden email]>
 To: Commons Developers List <[hidden email]>
 Sent: Sunday, November 30, 2014 4:23 PM
 Subject: Re: [TEXT] Problems with the site build
   
TEXT inherits from commons parent (like BeanUtils2 does) because the
sandbox parent pom only adds unnecessary complexity and yet another thing
we need to release. I updated BeanUtils2 to commons parent because I wanted
to use the new commons skin for example. Since the BeanUtils2 site build
works, I think it has nothing to do with the parent pom.

I'm trying to deploy the site with
mvn clean site-deploy
and
mvn clean site-deploy -Dmaven.site.deploy.skip=false

Thank you,
Benedikt

2014-11-29 12:55 GMT+01:00 sebb <[hidden email]>:

> TEXT is a Sandbox component, so it should inherit from the Commons-Sandbox
> POM.
>
> That may or may not help, but ought to be done to prevent accidental
> deployment.
>
> What exact commands have you used?
>
>
> On 29 November 2014 at 11:31, Benedikt Ritter <[hidden email]> wrote:
> > Hi all,
> >
> > I've tried to create the site for commons-text but the site build doesn't
> > work. It always prints out "maven.site.deploy.skip = true: Skipping site
> > deployment" [1]. I've tried to override this via -D but it doesn't work.
> > Can anybody help?
> >
> > TIA!
> > Benedikt
> >
> > [1]
> >
> https://github.com/apache/maven-plugins/blob/3b34d1bbf0ff0347fce83084ce4670755e1cee7c/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/AbstractDeployMojo.java#L162
> >
> >
> > --
> > http://people.apache.org/~britter/
> > http://www.systemoutprintln.de/
> > http://twitter.com/BenediktRitter
> > http://github.com/britter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]


>
>


--
http://people.apache.org/~britter/
http://www.systemoutprintln.de/
http://twitter.com/BenediktRitter
http://github.com/britter


   
Reply | Threaded
Open this post in threaded view
|

Re: [TEXT] Problems with the site build

sebb-2-2
The CP35 says:

          <configuration>
            <!-- don't deploy site with maven-site-plugin -->
            <skipDeploy>true</skipDeploy>

...


           <phase>site-deploy</phase><!-- deploy site with
maven-scm-publish-plugin -->


Looks like

http://commons.apache.org/site-publish.html

needs updating for the single module component.


On 1 December 2014 at 01:24, Bruno P. Kinoshita
<[hidden email]> wrote:

> Hi there,
> Tried the mvn clean site-deploy, and noticed a similar message.
> kinow@chuva:~/java/apache/commons-text$ mvn clean site-deploy -e -XApache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T15:37:52-03:00)Maven home: /opt/apache-maven-3.2.1Java version: 1.7.0_65, vendor: Oracle CorporationJava home: /opt/jdk1.7.0_65/jreDefault locale: en_US, platform encoding: UTF-8OS name: "linux", version: "3.13.0-36-generic", arch: "amd64", family: "unix"
> Looking at the commons-parent-35 pom.xml [1], it contains the following comment:
>         <plugin>          <groupId>org.apache.maven.plugins</groupId>          <artifactId>maven-site-plugin</artifactId>          <version>${commons.site-plugin.version}</version>          <configuration>            <!-- don't deploy site with maven-site-plugin -->            <skipDeploy>true</skipDeploy>          </configuration>        </plugin>
> So I guess that's why we are are presented with this message.
> In another part of the commons-parent pom, it mentions the scm-publish. Maybe mvn clean scm-publish:publish-scm ? Just my 0.02 cents.HTH,Bruno
> [1] https://svn.apache.org/repos/asf/commons/proper/commons-parent/tags/commons-parent-35/pom.xml
>
>       From: Benedikt Ritter <[hidden email]>
>  To: Commons Developers List <[hidden email]>
>  Sent: Sunday, November 30, 2014 4:23 PM
>  Subject: Re: [TEXT] Problems with the site build
>
> TEXT inherits from commons parent (like BeanUtils2 does) because the
> sandbox parent pom only adds unnecessary complexity and yet another thing
> we need to release. I updated BeanUtils2 to commons parent because I wanted
> to use the new commons skin for example. Since the BeanUtils2 site build
> works, I think it has nothing to do with the parent pom.
>
> I'm trying to deploy the site with
> mvn clean site-deploy
> and
> mvn clean site-deploy -Dmaven.site.deploy.skip=false
>
> Thank you,
> Benedikt
>
> 2014-11-29 12:55 GMT+01:00 sebb <[hidden email]>:
>
>> TEXT is a Sandbox component, so it should inherit from the Commons-Sandbox
>> POM.
>>
>> That may or may not help, but ought to be done to prevent accidental
>> deployment.
>>
>> What exact commands have you used?
>>
>>
>> On 29 November 2014 at 11:31, Benedikt Ritter <[hidden email]> wrote:
>> > Hi all,
>> >
>> > I've tried to create the site for commons-text but the site build doesn't
>> > work. It always prints out "maven.site.deploy.skip = true: Skipping site
>> > deployment" [1]. I've tried to override this via -D but it doesn't work.
>> > Can anybody help?
>> >
>> > TIA!
>> > Benedikt
>> >
>> > [1]
>> >
>> https://github.com/apache/maven-plugins/blob/3b34d1bbf0ff0347fce83084ce4670755e1cee7c/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/AbstractDeployMojo.java#L162
>> >
>> >
>> > --
>> > http://people.apache.org/~britter/
>> > http://www.systemoutprintln.de/
>> > http://twitter.com/BenediktRitter
>> > http://github.com/britter
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>
>
>>
>>
>
>
> --
> http://people.apache.org/~britter/
> http://www.systemoutprintln.de/
> http://twitter.com/BenediktRitter
> http://github.com/britter
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [TEXT] Problems with the site build

Benedikt Ritter-4
2014-12-01 2:42 GMT+01:00 sebb <[hidden email]>:

> The CP35 says:
>
>           <configuration>
>             <!-- don't deploy site with maven-site-plugin -->
>             <skipDeploy>true</skipDeploy>
>
> ...
>
>
>            <phase>site-deploy</phase><!-- deploy site with
> maven-scm-publish-plugin -->
>
>
> Looks like
>
> http://commons.apache.org/site-publish.html
>
> needs updating for the single module component.
>

I'll need some time to understand this and play around with the site build.
I hope to have some time this weekend.

Thanks!
Benedikt


>
>
> On 1 December 2014 at 01:24, Bruno P. Kinoshita
> <[hidden email]> wrote:
> > Hi there,
> > Tried the mvn clean site-deploy, and noticed a similar message.
> > kinow@chuva:~/java/apache/commons-text$ mvn clean site-deploy -e
> -XApache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9;
> 2014-02-14T15:37:52-03:00)Maven home: /opt/apache-maven-3.2.1Java version:
> 1.7.0_65, vendor: Oracle CorporationJava home: /opt/jdk1.7.0_65/jreDefault
> locale: en_US, platform encoding: UTF-8OS name: "linux", version:
> "3.13.0-36-generic", arch: "amd64", family: "unix"
> > Looking at the commons-parent-35 pom.xml [1], it contains the following
> comment:
> >         <plugin>          <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-site-plugin</artifactId>
> <version>${commons.site-plugin.version}</version>          <configuration>
>           <!-- don't deploy site with maven-site-plugin -->
> <skipDeploy>true</skipDeploy>          </configuration>        </plugin>
> > So I guess that's why we are are presented with this message.
> > In another part of the commons-parent pom, it mentions the scm-publish.
> Maybe mvn clean scm-publish:publish-scm ? Just my 0.02 cents.HTH,Bruno
> > [1]
> https://svn.apache.org/repos/asf/commons/proper/commons-parent/tags/commons-parent-35/pom.xml
> >
> >       From: Benedikt Ritter <[hidden email]>
> >  To: Commons Developers List <[hidden email]>
> >  Sent: Sunday, November 30, 2014 4:23 PM
> >  Subject: Re: [TEXT] Problems with the site build
> >
> > TEXT inherits from commons parent (like BeanUtils2 does) because the
> > sandbox parent pom only adds unnecessary complexity and yet another thing
> > we need to release. I updated BeanUtils2 to commons parent because I
> wanted
> > to use the new commons skin for example. Since the BeanUtils2 site build
> > works, I think it has nothing to do with the parent pom.
> >
> > I'm trying to deploy the site with
> > mvn clean site-deploy
> > and
> > mvn clean site-deploy -Dmaven.site.deploy.skip=false
> >
> > Thank you,
> > Benedikt
> >
> > 2014-11-29 12:55 GMT+01:00 sebb <[hidden email]>:
> >
> >> TEXT is a Sandbox component, so it should inherit from the
> Commons-Sandbox
> >> POM.
> >>
> >> That may or may not help, but ought to be done to prevent accidental
> >> deployment.
> >>
> >> What exact commands have you used?
> >>
> >>
> >> On 29 November 2014 at 11:31, Benedikt Ritter <[hidden email]>
> wrote:
> >> > Hi all,
> >> >
> >> > I've tried to create the site for commons-text but the site build
> doesn't
> >> > work. It always prints out "maven.site.deploy.skip = true: Skipping
> site
> >> > deployment" [1]. I've tried to override this via -D but it doesn't
> work.
> >> > Can anybody help?
> >> >
> >> > TIA!
> >> > Benedikt
> >> >
> >> > [1]
> >> >
> >>
> https://github.com/apache/maven-plugins/blob/3b34d1bbf0ff0347fce83084ce4670755e1cee7c/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/deploy/AbstractDeployMojo.java#L162
> >> >
> >> >
> >> > --
> >> > http://people.apache.org/~britter/
> >> > http://www.systemoutprintln.de/
> >> > http://twitter.com/BenediktRitter
> >> > http://github.com/britter
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [hidden email]
> >> For additional commands, e-mail: [hidden email]
> >
> >
> >>
> >>
> >
> >
> > --
> > http://people.apache.org/~britter/
> > http://www.systemoutprintln.de/
> > http://twitter.com/BenediktRitter
> > http://github.com/britter
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
http://people.apache.org/~britter/
http://www.systemoutprintln.de/
http://twitter.com/BenediktRitter
http://github.com/britter