You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by puschteblume <pu...@gmx.de> on 2005/07/01 10:53:54 UTC
m2 site plugin property not recognized
Hi
I have following entry in pom.xml:
<project>
....
<build>
<sourceDirectory>src/main</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<configuration>
<siteDirectory>${basedir}/www</siteDirectory>
</configuration>
</plugin>
</plugins>
</build>
</project>
But the site is deployed to /target directory. Do you know if I have
missed something?
Thanks Heiko
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: m2 site plugin property not recognized
Posted by puschteblume <pu...@gmx.de>.
Hm, this makes sense :)
You are completely right. And I am completely stupid.
Thanks for your help.
Dennis Geurts wrote:
>Hi Heiko,
> If I understand correctly, you run 'm2 site:site', and you wonder
>why the output ends up in 'target/site' instead of in '${basedir}/www'.
> shouldn't you specify the 'outputDirectory' property instead ??
> Dennis
>
> On 7/1/05, puschteblume <pu...@gmx.de> wrote:
>
>
>>Hi
>>
>>I have following entry in pom.xml:
>><project>
>>....
>><build>
>><sourceDirectory>src/main</sourceDirectory>
>><plugins>
>><plugin>
>><groupId>org.apache.maven.plugins</groupId>
>><artifactId>maven-site-plugin</artifactId>
>><configuration>
>><siteDirectory>${basedir}/www</siteDirectory>
>></configuration>
>></plugin>
>></plugins>
>></build>
>></project>
>>
>>But the site is deployed to /target directory. Do you know if I have
>>missed something?
>>
>>Thanks Heiko
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: m2 site plugin property not recognized
Posted by Dennis Geurts <de...@gmail.com>.
Hi Heiko,
If I understand correctly, you run 'm2 site:site', and you wonder
why the output ends up in 'target/site' instead of in '${basedir}/www'.
shouldn't you specify the 'outputDirectory' property instead ??
Dennis
On 7/1/05, puschteblume <pu...@gmx.de> wrote:
>
> Hi
>
> I have following entry in pom.xml:
> <project>
> ....
> <build>
> <sourceDirectory>src/main</sourceDirectory>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-site-plugin</artifactId>
> <configuration>
> <siteDirectory>${basedir}/www</siteDirectory>
> </configuration>
> </plugin>
> </plugins>
> </build>
> </project>
>
> But the site is deployed to /target directory. Do you know if I have
> missed something?
>
> Thanks Heiko
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: m2 site plugin property not recognized
Posted by Edwin Punzalan <ep...@exist.com>.
What goal did you specify? site:site? or site: deploy?
puschteblume wrote:
> Hi
>
> I have following entry in pom.xml:
> <project>
> ....
> <build>
> <sourceDirectory>src/main</sourceDirectory>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-site-plugin</artifactId>
> <configuration>
> <siteDirectory>${basedir}/www</siteDirectory>
> </configuration>
> </plugin>
> </plugins>
> </build>
> </project>
>
> But the site is deployed to /target directory. Do you know if I have
> missed something?
>
> Thanks Heiko
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: m2 site plugin property not recognized
Posted by Emmanuel Venisse <em...@venisse.net>.
In the next release, you'll can deploy in your scm tool (if it's
supported by maven-scm)
Emmanuel
puschteblume wrote:
> Hi Edwin
>
> Thanks for your explanation. I have solved the problem, but it is
> interesting what you told I haven't thought about. It is of course
> better to leave things where they are and "deploy" it to the right
> location. But I have a project that is under source control, and if you
> can't ssh/scp to the project you have to locally deploy and checkin the
> files. That what I am doing.
>
> Thanks Heiko
>
> Edwin Punzalan wrote:
>
>> Anyway, if you're deploying the site you should use site:deploy.
>>
>> Also, siteDirectory is where your site files are. The files in
>> siteDirectory are zipped into the workingDirectory.
>>
>> So, if you want to deploy your site to ${basedir}/www, you should put
>> that to workingDirectory like so:
>>
>> <groupId>org.apache.maven.plugins</groupId>
>> <artifactId>maven-site-plugin</artifactId>
>> <configuration>
>> <workingDirectory>${basedir}/www</workingDirectory>
>> </configuration>
>>
>> By default, the zipped file is sent to ${project.build.directory}
>> which is /target and that's what you got.
>>
>> puschteblume wrote:
>>
>>> Hi
>>>
>>> I have following entry in pom.xml:
>>> <project>
>>> ....
>>> <build>
>>> <sourceDirectory>src/main</sourceDirectory>
>>> <plugins>
>>> <plugin>
>>> <groupId>org.apache.maven.plugins</groupId>
>>> <artifactId>maven-site-plugin</artifactId>
>>> <configuration>
>>> <siteDirectory>${basedir}/www</siteDirectory>
>>> </configuration>
>>> </plugin>
>>> </plugins>
>>> </build>
>>> </project>
>>>
>>> But the site is deployed to /target directory. Do you know if I have
>>> missed something?
>>>
>>> Thanks Heiko
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
multproject
Posted by Ricardo de Souza Moura <ri...@hotmail.com>.
Hi guys.
Does anybody use some plugin in eclipse with multproject ?
I have been using the mevenide and I am not so confortable with the quantity
of projects that I have to create.
I have to create at least three projects for each application. One to create
a war, another to create business objects and a root project. Sometimes I
need to create a ear and a jar with my ejbs.
How do you safe this problem (have a lot of projects to only one
application) ?
Thanks in advance
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: m2 site plugin property not recognized
Posted by puschteblume <pu...@gmx.de>.
Hi Edwin
Thanks for your explanation. I have solved the problem, but it is
interesting what you told I haven't thought about. It is of course
better to leave things where they are and "deploy" it to the right
location. But I have a project that is under source control, and if you
can't ssh/scp to the project you have to locally deploy and checkin the
files. That what I am doing.
Thanks Heiko
Edwin Punzalan wrote:
> Anyway, if you're deploying the site you should use site:deploy.
>
> Also, siteDirectory is where your site files are. The files in
> siteDirectory are zipped into the workingDirectory.
>
> So, if you want to deploy your site to ${basedir}/www, you should put
> that to workingDirectory like so:
>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-site-plugin</artifactId>
> <configuration>
> <workingDirectory>${basedir}/www</workingDirectory>
> </configuration>
>
> By default, the zipped file is sent to ${project.build.directory}
> which is /target and that's what you got.
>
> puschteblume wrote:
>
>> Hi
>>
>> I have following entry in pom.xml:
>> <project>
>> ....
>> <build>
>> <sourceDirectory>src/main</sourceDirectory>
>> <plugins>
>> <plugin>
>> <groupId>org.apache.maven.plugins</groupId>
>> <artifactId>maven-site-plugin</artifactId>
>> <configuration>
>> <siteDirectory>${basedir}/www</siteDirectory>
>> </configuration>
>> </plugin>
>> </plugins>
>> </build>
>> </project>
>>
>> But the site is deployed to /target directory. Do you know if I have
>> missed something?
>>
>> Thanks Heiko
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: m2 site plugin property not recognized
Posted by Edwin Punzalan <ep...@exist.com>.
Anyway, if you're deploying the site you should use site:deploy.
Also, siteDirectory is where your site files are. The files in
siteDirectory are zipped into the workingDirectory.
So, if you want to deploy your site to ${basedir}/www, you should put
that to workingDirectory like so:
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<configuration>
<workingDirectory>${basedir}/www</workingDirectory>
</configuration>
By default, the zipped file is sent to ${project.build.directory} which
is /target and that's what you got.
puschteblume wrote:
> Hi
>
> I have following entry in pom.xml:
> <project>
> ....
> <build>
> <sourceDirectory>src/main</sourceDirectory>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-site-plugin</artifactId>
> <configuration>
> <siteDirectory>${basedir}/www</siteDirectory>
> </configuration>
> </plugin>
> </plugins>
> </build>
> </project>
>
> But the site is deployed to /target directory. Do you know if I have
> missed something?
>
> Thanks Heiko
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org