It fails for me:
[INFO] snapshot org.apache.struts:struts2-struts1-plugin:2.0.2-SNAPSHOT:
checking for updates from opensymphony
[INFO] [assembly:assembly]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error creating assembly
Embedded error: /projects/open-source/struts2/assembly/../target/site
isn't a directory.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 18 seconds
[INFO] Finished at: Tue Nov 28 10:02:03 EST 2006
[INFO] Final Memory: 8M/14M
[INFO]
------------------------------------------------------------------------
I'm assuming the first command should be
mvn install site -P all,pre-assembly
What is the pre-assembly profile? I can't find it in the parent pom or
in the assembly pom?
David
Ted Husted wrote:
Hmmm, if we might have a memory link during tests, then I'd want to be
sure that we don't have a leak during production as well. I'll setup
an integration test suite that we can run against the showcase
and/mailreader in a loop, and try to let it run overnight.
In the meantime, could someone else try running
$ mvn install -P all,pre-assembly
$ cd assembly
$ mvn assembly:assembly
so we confirm that it's a systemic build error, and not an issue with my
system.
-Ted.
On 11/28/06, Don Brown <[EMAIL PROTECTED]> wrote:
Ted Husted wrote:
> Another bit of strangeness is that I can't get a clean build from my
> usual checkout. It fails on the ActionTag tests. If I try from another
> struts2 checkout (not adjacent to my XWork working copy), it builds
> fine, up to the last mile.
I noticed that once or twice, I got an out of memory exception while
running the tests. Somewhere in all the Dispatcher and configuration
refactoring, we might have overlooked somewhere that is leaking memory
on the tests. This only happened to me when I tried to enable the xwork
and plugin profiles. When building core directly, it didn't have any
problems. I had this exception problem during the initial configuration
redesign of xwork2, but some cleanup in tearDown() and new objects in
setUp() fixed it.
Don
> -Ted.
>
> [INFO]
>
------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
>
------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: opensymphony
> ArtifactId: xwork
> Version: 2.0-beta2
>
> Reason: Unable to download the artifact from any repository
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=opensymphony -DartifactId=xwork \
> -Dversion=2.0-beta2 -Dpackaging=jar -Dfile=/path/to/file
>
>
> opensymphony:xwork:jar:2.0-beta2
>
> from the specified remote repositories:
> Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
> central (http://repo1.maven.org/maven2),
> opensymphony (http://maven.opensymphony.com),
> apache.snapshots
(http://people.apache.org/repo/m2-snapshot-repository),
> snapshots-maven-codehaus (http://snapshots.maven.codehaus.org/maven2)
>
>
> [INFO]
>
------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
>
------------------------------------------------------------------------
> [INFO] Total time: 3 seconds
> [INFO] Finished at: Mon Nov 27 22:24:45 EST 2006
> [INFO] Final Memory: 4M/7M
> [INFO]
>
------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]