Re: Prevent Install of Assembly SOLVED

2009-07-28 Thread Jim Collings
Jim Collings wrote:
 OK, looks like the assembly building twice is an actual maven bug.
 
 On Fri, Jul 24, 2009 at 11:31 AM, Jim Collingsjlistn...@gmail.com wrote:
 OK, thanks!  That keeps if from installing.  Now if I can just keep it
 from building the assembly twice. I'll have it made. ;-/

 Jim C.

 On Fri, Jul 24, 2009 at 11:14 AM, Mohan KRkmoh@gmail.com wrote:
 set the attachfalse/attach in the plugin config.

OK, so basically, I had an execution for install and another for
package. I only needed package because install calls package. This is
why the assemblies were running twice.


Jim C.



signature.asc
Description: OpenPGP digital signature


Re: Prevent Install of Assembly

2009-07-24 Thread Jim Collings
Yes. I've been reading this page. Can you be more specific?

On Thu, Jul 23, 2009 at 11:50 AM, Nord, Jamesjn...@nds.com wrote:
 http://maven.apache.org/plugins/maven-assembly-plugin/single-mojo.html#attach

 -Original Message-
 From: Jim Collings [mailto:jlistn...@gmail.com]
 Sent: 23 July 2009 16:43
 To: Maven Users List
 Subject: Re: Prevent Install of Assembly

 Didn't work. Neither did changing appendAssemblyId to false.
 Anybody have additional ideas?

 On Thu, Jul 23, 2009 at 11:25 AM, Jim
 Collingsjlistn...@gmail.com wrote:
  http://maven.apache.org/plugins/maven-assembly-plugin/usage.html
 
  So the docs I found at the link above had this to say:
 
  When the assembly is created it will use the assemblyId as the
  artifact's classifier and will attach the created assembly to the
  project and will be uploaded into the repository on an install and
  deploy goal.'
 
  So in theory all I have to do is change the assemblyId?
 
  I'll see if I can figure out how to do this and try a test.
 
  On Thu, Jul 23, 2009 at 11:18 AM, Jim
 Collingsjlistn...@gmail.com wrote:
  So I have a sub module that has an assembly.  It is
 associated with
  the package goal. Each time I run install though, the zip file
  created is placed in the repository. There is no need for
 this.  How
  can I prevent it?
 
 
  Jim C.
 
 

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



 **
 This message is confidential and intended only for the addressee. If you have 
 received this message in error, please immediately notify the 
 postmas...@nds.com and delete it from your system as well as any copies. The 
 content of e-mails as well as traffic data may be monitored by NDS for 
 employment and security purposes. To protect the environment please do not 
 print this e-mail unless necessary.

 NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 
 4EX, United Kingdom. A company registered in England and Wales. Registered 
 no. 3080780. VAT no. GB 603 8808 40-00
 **

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



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



RE: Prevent Install of Assembly

2009-07-24 Thread Mohan KR
set the attachfalse/attach in the plugin config.


Thanks,
mohan kr

-Original Message-
From: Jim Collings [mailto:jlistn...@gmail.com] 
Sent: Friday, July 24, 2009 9:52 AM
To: Maven Users List
Subject: Re: Prevent Install of Assembly

Yes. I've been reading this page. Can you be more specific?

On Thu, Jul 23, 2009 at 11:50 AM, Nord, Jamesjn...@nds.com wrote:

http://maven.apache.org/plugins/maven-assembly-plugin/single-mojo.html#attac
h

 -Original Message-
 From: Jim Collings [mailto:jlistn...@gmail.com]
 Sent: 23 July 2009 16:43
 To: Maven Users List
 Subject: Re: Prevent Install of Assembly

 Didn't work. Neither did changing appendAssemblyId to false.
 Anybody have additional ideas?

 On Thu, Jul 23, 2009 at 11:25 AM, Jim
 Collingsjlistn...@gmail.com wrote:
  http://maven.apache.org/plugins/maven-assembly-plugin/usage.html
 
  So the docs I found at the link above had this to say:
 
  When the assembly is created it will use the assemblyId as the
  artifact's classifier and will attach the created assembly to the
  project and will be uploaded into the repository on an install and
  deploy goal.'
 
  So in theory all I have to do is change the assemblyId?
 
  I'll see if I can figure out how to do this and try a test.
 
  On Thu, Jul 23, 2009 at 11:18 AM, Jim
 Collingsjlistn...@gmail.com wrote:
  So I have a sub module that has an assembly.  It is
 associated with
  the package goal. Each time I run install though, the zip file
  created is placed in the repository. There is no need for
 this.  How
  can I prevent it?
 
 
  Jim C.
 
 

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





**
 This message is confidential and intended only for the addressee. If you
have received this message in error, please immediately notify the
postmas...@nds.com and delete it from your system as well as any copies. The
content of e-mails as well as traffic data may be monitored by NDS for
employment and security purposes. To protect the environment please do not
print this e-mail unless necessary.

 NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18
4EX, United Kingdom. A company registered in England and Wales. Registered
no. 3080780. VAT no. GB 603 8808 40-00


**

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



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


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



Re: Prevent Install of Assembly

2009-07-24 Thread Jim Collings
OK, thanks!  That keeps if from installing.  Now if I can just keep it
from building the assembly twice. I'll have it made. ;-/

Jim C.

On Fri, Jul 24, 2009 at 11:14 AM, Mohan KRkmoh@gmail.com wrote:
 set the attachfalse/attach in the plugin config.

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



Re: Prevent Install of Assembly

2009-07-24 Thread Dan Tran
http://maven.apache.org/plugins/maven-assembly-plugin/single-mojo.html#skipAssembly

On Fri, Jul 24, 2009 at 8:31 AM, Jim Collingsjlistn...@gmail.com wrote:
 OK, thanks!  That keeps if from installing.  Now if I can just keep it
 from building the assembly twice. I'll have it made. ;-/

 Jim C.

 On Fri, Jul 24, 2009 at 11:14 AM, Mohan KRkmoh@gmail.com wrote:
 set the attachfalse/attach in the plugin config.

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



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



Re: Prevent Install of Assembly

2009-07-24 Thread Jim Collings
OK, looks like the assembly building twice is an actual maven bug.

On Fri, Jul 24, 2009 at 11:31 AM, Jim Collingsjlistn...@gmail.com wrote:
 OK, thanks!  That keeps if from installing.  Now if I can just keep it
 from building the assembly twice. I'll have it made. ;-/

 Jim C.

 On Fri, Jul 24, 2009 at 11:14 AM, Mohan KRkmoh@gmail.com wrote:
 set the attachfalse/attach in the plugin config.


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



Re: Prevent Install of Assembly

2009-07-24 Thread Jim Collings
Well, I tried this in the configuration section of the assembly but
it didn't seem to change anything.

skipAssemblyinstall/skipAssembly

In the documentation it metions an expression: ${skipAssembly}
What does this represent?


Jim C.

On Fri, Jul 24, 2009 at 12:16 PM, Dan Trandant...@gmail.com wrote:
 http://maven.apache.org/plugins/maven-assembly-plugin/single-mojo.html#skipAssembly

 On Fri, Jul 24, 2009 at 8:31 AM, Jim Collingsjlistn...@gmail.com wrote:
 OK, thanks!  That keeps if from installing.  Now if I can just keep it
 from building the assembly twice. I'll have it made. ;-/

 Jim C.

 On Fri, Jul 24, 2009 at 11:14 AM, Mohan KRkmoh@gmail.com wrote:
 set the attachfalse/attach in the plugin config.

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



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



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



Re: Prevent Install of Assembly

2009-07-23 Thread Jim Collings
http://maven.apache.org/plugins/maven-assembly-plugin/usage.html

So the docs I found at the link above had this to say:

When the assembly is created it will use the assemblyId as the
artifact's classifier and will attach the created assembly to the
project and will be uploaded into the repository on an install and
deploy goal.'

So in theory all I have to do is change the assemblyId?

I'll see if I can figure out how to do this and try a test.

On Thu, Jul 23, 2009 at 11:18 AM, Jim Collingsjlistn...@gmail.com wrote:
 So I have a sub module that has an assembly.  It is associated with
 the package goal. Each time I run install though, the zip file
 created is placed in the repository. There is no need for this.  How
 can I prevent it?


 Jim C.


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



Re: Prevent Install of Assembly

2009-07-23 Thread Jim Collings
Didn't work. Neither did changing appendAssemblyId to false.
Anybody have additional ideas?

On Thu, Jul 23, 2009 at 11:25 AM, Jim Collingsjlistn...@gmail.com wrote:
 http://maven.apache.org/plugins/maven-assembly-plugin/usage.html

 So the docs I found at the link above had this to say:

 When the assembly is created it will use the assemblyId as the
 artifact's classifier and will attach the created assembly to the
 project and will be uploaded into the repository on an install and
 deploy goal.'

 So in theory all I have to do is change the assemblyId?

 I'll see if I can figure out how to do this and try a test.

 On Thu, Jul 23, 2009 at 11:18 AM, Jim Collingsjlistn...@gmail.com wrote:
 So I have a sub module that has an assembly.  It is associated with
 the package goal. Each time I run install though, the zip file
 created is placed in the repository. There is no need for this.  How
 can I prevent it?


 Jim C.



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



RE: Prevent Install of Assembly

2009-07-23 Thread Nord, James
http://maven.apache.org/plugins/maven-assembly-plugin/single-mojo.html#attach 

 -Original Message-
 From: Jim Collings [mailto:jlistn...@gmail.com] 
 Sent: 23 July 2009 16:43
 To: Maven Users List
 Subject: Re: Prevent Install of Assembly
 
 Didn't work. Neither did changing appendAssemblyId to false.
 Anybody have additional ideas?
 
 On Thu, Jul 23, 2009 at 11:25 AM, Jim 
 Collingsjlistn...@gmail.com wrote:
  http://maven.apache.org/plugins/maven-assembly-plugin/usage.html
 
  So the docs I found at the link above had this to say:
 
  When the assembly is created it will use the assemblyId as the 
  artifact's classifier and will attach the created assembly to the 
  project and will be uploaded into the repository on an install and 
  deploy goal.'
 
  So in theory all I have to do is change the assemblyId?
 
  I'll see if I can figure out how to do this and try a test.
 
  On Thu, Jul 23, 2009 at 11:18 AM, Jim 
 Collingsjlistn...@gmail.com wrote:
  So I have a sub module that has an assembly.  It is 
 associated with 
  the package goal. Each time I run install though, the zip file 
  created is placed in the repository. There is no need for 
 this.  How 
  can I prevent it?
 
 
  Jim C.
 
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org
 
 

**
This message is confidential and intended only for the addressee. If you have 
received this message in error, please immediately notify the 
postmas...@nds.com and delete it from your system as well as any copies. The 
content of e-mails as well as traffic data may be monitored by NDS for 
employment and security purposes. To protect the environment please do not 
print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, 
United Kingdom. A company registered in England and Wales. Registered no. 
3080780. VAT no. GB 603 8808 40-00
**

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