Re: Uploading files created by assembly to server

2009-01-19 Thread Michael Decker
Hi,

I build some runable distribution files (zip, tar.gz etc.).

I didn't solved it by attaching wagin-maven-plugin to a lifecycle. I tried 
deploy and install, but nothing happens, it seamed that wagin-maven-plugin 
didn't start. So I've solved it hardcoded:

--- SNIP ---
build
  plugins
...
plugin
  groupIdorg.codehaus.mojo/groupId
  artifactIdwagon-maven-plugin/artifactId
  version1.0-beta-1/version
  configuration
fromDirtarget/fromDir
includes*.zip,*.jar,*.tar.gz,*.tar.bz2/includes
!-- excludespom.xml/excludes --
urlsftp://${sfUsername}:${sfpasswo...@frs.sourceforge.net//url
toDir${sfFrsPath}/toDir
  /configuration
/plugin
...
plugin
  artifactIdmaven-release-plugin/artifactId
  configuration
tagBasehttps://.../tags/tagBase
allowTimestampedSnapshotstrue/allowTimestampedSnapshots
goalsassembly:assembly site-deploy wagon:upload/goals
username${sfUsername}/username
password${sfPassword}/password
  /configuration
/plugin
...
  /plugins
/build
--- SNAP ---

I would prefere to use attaching to lifecycles and get different executions, 
so I've the option to use different wagon-maven-plugin actions.

If you have some idea, I would like to test them.

On Monday 19 January 2009 06:55:21 Dan Tran wrote:
 Use build-helper-maven-plugin to attached your specific files to
 maven, so that they can be deploy with the rest of other built
 artifacts

 However, if you want to upload your files to somewhere else rather
 maven repo, then use wagin-maven-plugin at deploy phase


 -D

 On Sat, Jan 17, 2009 at 6:56 AM, Michael Decker m...@inspire-mind.de 
wrote:
 Hi,
 
  I want to modify my release:perform goal, so it will automatically
  upload my assemblies to sourceforge, so I can easily provide them on the
  sourceforge download page.
 
  Yet I can build the assemblies and upload the site on using
  release:perform by using this:
 --- SNIP ---
 plugin
   artifactIdmaven-release-plugin/artifactId
   configuration
 tagBasehttps:/tagBase
 allowTimestampedSnapshotstrue/allowTimestampedSnapshots
 goalsassembly:assembly site-deploy/goals
   /configuration
 /plugin
   /plugins
  /build
 --- SNAP ---
 
  So I wonder, how I can perform uploading of four files.
 
  There is Maven Wagon without any documentation:
  http://maven.apache.org/wagon/index.html
 
  And I found Maven Upload Plugin, that can upload a whole directory, but I
  want only four files saved in target directory:
  http://docs.atlassian.com/maven-upload-plugin/1.1/usage.html
 
  Perhaps someone can me help me on this.
 
  Thanks a lot.
 
  With regards


signature.asc
Description: This is a digitally signed message part.


Re: Uploading files created by assembly to server (on release:perform)

2009-01-18 Thread Michael Decker
Hi,

I try to use wagon-maven-plugin to solve my problem:
http://mojo.codehaus.org/wagon-maven-plugin/

But I do something wrong. I call the goal release:perform, but nothing 
happens.

Here my add to pom.xml:
--- SNIP ---
build
plugins
plugin
  groupIdorg.codehaus.mojo/groupId
  artifactIdwagon-maven-plugin/artifactId
  version1.0-beta-1/version
  executions
execution
  idupload-to-sourceforge-releasing/id
  phaserelease:perform/phase
  goals
goalupload/goal
  /goals
  configuration
fromDirtarget//fromDir
includes*.zip,*.jar,*.tar.gz,*.tar.bz2/includes
!-- excludespom.xml/excludes --
urlsftp://${sfUsername}:${sfpasswo...@frs.sourceforge.net//url
toDiruploads//toDir
  /configuration
/execution
  /executions
/plugin
--- SNAP ---

What is my failure?

Tanks a lot.

On Thursday 15 January 2009 23:30:49 News Assi wrote:
   Hi,

 I want to modify my release:perform goal, so it will automatically upload
 my assemblies to sourceforge, so I can easily provide them on the
 sourceforge download page.

 Yet I can build the assemblies and upload the site on using
 release:perform by using this:
   --- SNIP ---
 plugin
   artifactIdmaven-release-plugin/artifactId
   configuration
 tagBasehttps:/tagBase
 allowTimestampedSnapshotstrue/allowTimestampedSnapshots
 goalsassembly:assembly site-deploy/goals
   /configuration
 /plugin
   /plugins
 /build
   --- SNAP ---

 So I wonder, how I can perform uploading of four files.

 There is Maven Wagon without any documentation:
 http://maven.apache.org/wagon/index.html

 And I found Maven Upload Plugin, that can upload a whole directory, but I
 want only four files saved in target directory:
 http://docs.atlassian.com/maven-upload-plugin/1.1/usage.html

 Perhaps someone can me help me on this.

 Thanks a lot.

 With regards


signature.asc
Description: This is a digitally signed message part.


Uploading files created by assembly to server

2009-01-18 Thread Michael Decker
Hi,

I want to modify my release:perform goal, so it will automatically upload my 
assemblies to sourceforge, so I can easily provide them on the sourceforge 
download page.

Yet I can build the assemblies and upload the site on using release:perform 
by using this:
--- SNIP ---
plugin
  artifactIdmaven-release-plugin/artifactId
  configuration
tagBasehttps:/tagBase
allowTimestampedSnapshotstrue/allowTimestampedSnapshots
goalsassembly:assembly site-deploy/goals
  /configuration
/plugin
  /plugins
/build
--- SNAP ---

So I wonder, how I can perform uploading of four files.

There is Maven Wagon without any documentation:
http://maven.apache.org/wagon/index.html

And I found Maven Upload Plugin, that can upload a whole directory, but I want 
only four files saved in target directory:
http://docs.atlassian.com/maven-upload-plugin/1.1/usage.html

Perhaps someone can me help me on this.

Thanks a lot.

With regards


signature.asc
Description: This is a digitally signed message part.


Re: Uploading files created by assembly to server

2009-01-18 Thread Dan Tran
Use build-helper-maven-plugin to attached your specific files to
maven, so that they can be deploy with the rest of other built
artifacts

However, if you want to upload your files to somewhere else rather
maven repo, then use wagin-maven-plugin at deploy phase


-D

On Sat, Jan 17, 2009 at 6:56 AM, Michael Decker m...@inspire-mind.de wrote:
Hi,

 I want to modify my release:perform goal, so it will automatically upload my
 assemblies to sourceforge, so I can easily provide them on the sourceforge
 download page.

 Yet I can build the assemblies and upload the site on using release:perform
 by using this:
--- SNIP ---
plugin
  artifactIdmaven-release-plugin/artifactId
  configuration
tagBasehttps:/tagBase
allowTimestampedSnapshotstrue/allowTimestampedSnapshots
goalsassembly:assembly site-deploy/goals
  /configuration
/plugin
  /plugins
 /build
--- SNAP ---

 So I wonder, how I can perform uploading of four files.

 There is Maven Wagon without any documentation:
 http://maven.apache.org/wagon/index.html

 And I found Maven Upload Plugin, that can upload a whole directory, but I want
 only four files saved in target directory:
 http://docs.atlassian.com/maven-upload-plugin/1.1/usage.html

 Perhaps someone can me help me on this.

 Thanks a lot.

 With regards


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



Re: Uploading files created by assembly to server

2009-01-18 Thread Dan Tran
using a profile ofcourse

-D

On Sun, Jan 18, 2009 at 9:55 PM, Dan Tran dant...@gmail.com wrote:
 Use build-helper-maven-plugin to attached your specific files to
 maven, so that they can be deploy with the rest of other built
 artifacts

 However, if you want to upload your files to somewhere else rather
 maven repo, then use wagin-maven-plugin at deploy phase


 -D

 On Sat, Jan 17, 2009 at 6:56 AM, Michael Decker m...@inspire-mind.de wrote:
Hi,

 I want to modify my release:perform goal, so it will automatically upload 
 my
 assemblies to sourceforge, so I can easily provide them on the sourceforge
 download page.

 Yet I can build the assemblies and upload the site on using release:perform
 by using this:
--- SNIP ---
plugin
  artifactIdmaven-release-plugin/artifactId
  configuration
tagBasehttps:/tagBase
allowTimestampedSnapshotstrue/allowTimestampedSnapshots
goalsassembly:assembly site-deploy/goals
  /configuration
/plugin
  /plugins
 /build
--- SNAP ---

 So I wonder, how I can perform uploading of four files.

 There is Maven Wagon without any documentation:
 http://maven.apache.org/wagon/index.html

 And I found Maven Upload Plugin, that can upload a whole directory, but I 
 want
 only four files saved in target directory:
 http://docs.atlassian.com/maven-upload-plugin/1.1/usage.html

 Perhaps someone can me help me on this.

 Thanks a lot.

 With regards



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



Uploading files created by assembly to server

2009-01-15 Thread News Assi
Hi,

I want to modify my release:perform goal, so it will automatically upload my 
assemblies to sourceforge, so I can easily provide them on the sourceforge 
download page.

Yet I can build the assemblies and upload the site on using release:perform 
by using this:
--- SNIP ---
plugin
  artifactIdmaven-release-plugin/artifactId
  configuration
tagBasehttps:/tagBase
allowTimestampedSnapshotstrue/allowTimestampedSnapshots
goalsassembly:assembly site-deploy/goals
  /configuration
/plugin
  /plugins
/build
--- SNAP ---

So I wonder, how I can perform uploading of four files.

There is Maven Wagon without any documentation:
http://maven.apache.org/wagon/index.html

And I found Maven Upload Plugin, that can upload a whole directory, but I want 
only four files saved in target directory:
http://docs.atlassian.com/maven-upload-plugin/1.1/usage.html

Perhaps someone can me help me on this.

Thanks a lot.

With regards


signature.asc
Description: This is a digitally signed message part.