release profile broken?

View: New views
3 Messages — Rating Filter:   Alert me  

release profile broken?

by Francesco Vivoli :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

Giacomo has noticed that running

mvn -Prelease -Dmaven.test.skip=true assembly:assembly

fails with the following message:

[INFO] The specified web.xml file '/Users/villo/Documents/projects/atalaya/trunk/atalaya-web/target/web.xml' does not exist

as I see
<webxml.location>${project.build.directory}/web.xml</webxml.location>
in the "release" profile, and I don't find anywhere where web.xml is
copied in target...

Running with -Prelease,[testdb|emptydb] works instead, and
after this, also -Prelease works, as web.xml is effectively copied in target.

Any idea?
thanks a lot, cheers
F

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Atalaya-developer mailing list
Atalaya-developer@...
https://lists.sourceforge.net/lists/listinfo/atalaya-developer

Re: release profile broken?

by Roman Kalyakin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

The thing is that it doesn't make sense to run maven with pure 'release' profile. You should specify one more along with it. It depends on what database you want to be shipped with the release: empty or with test data, so the second case (-Prelease,[testdb|emptydb]) is correct.

What was the reason of running it with 'release' profile only?

-R


On Mon, Mar 31, 2008 at 11:00 AM, Francesco Vivoli <f.vivoli@...> wrote:
Hi

Giacomo has noticed that running

mvn -Prelease -Dmaven.test.skip=true assembly:assembly

fails with the following message:

[INFO] The specified web.xml file '/Users/villo/Documents/projects/atalaya/trunk/atalaya-web/target/web.xml' does not exist

as I see
<webxml.location>${project.build.directory}/web.xml</webxml.location>
in the "release" profile, and I don't find anywhere where web.xml is
copied in target...

Running with -Prelease,[testdb|emptydb] works instead, and
after this, also -Prelease works, as web.xml is effectively copied in target.

Any idea?
thanks a lot, cheers
F


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Atalaya-developer mailing list
Atalaya-developer@...
https://lists.sourceforge.net/lists/listinfo/atalaya-developer

Re: release profile broken?

by Francesco Vivoli :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

how do we produce the -war package then?
the one described in http://atalayasec.org/wiki/PackageAtalaya
used to work afair...
F

On Mon, Mar 31, 2008 at 2:06 PM, Roman Kalyakin <theorm@...> wrote:
Hi,

The thing is that it doesn't make sense to run maven with pure 'release' profile. You should specify one more along with it. It depends on what database you want to be shipped with the release: empty or with test data, so the second case (-Prelease,[testdb|emptydb]) is correct.

What was the reason of running it with 'release' profile only?

-R



On Mon, Mar 31, 2008 at 11:00 AM, Francesco Vivoli <f.vivoli@...> wrote:
Hi

Giacomo has noticed that running

mvn -Prelease -Dmaven.test.skip=true assembly:assembly

fails with the following message:

[INFO] The specified web.xml file '/Users/villo/Documents/projects/atalaya/trunk/atalaya-web/target/web.xml' does not exist

as I see
<webxml.location>${project.build.directory}/web.xml</webxml.location>
in the "release" profile, and I don't find anywhere where web.xml is
copied in target...

Running with -Prelease,[testdb|emptydb] works instead, and
after this, also -Prelease works, as web.xml is effectively copied in target.

Any idea?
thanks a lot, cheers
F



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Atalaya-developer mailing list
Atalaya-developer@...
https://lists.sourceforge.net/lists/listinfo/atalaya-developer