Re: Adding an add-on jar to a project

2015-09-07 Thread Niraj Chaudhary
Please confirm if this link is useful?

http://onjavahell.blogspot.in/2009/12/releasing-multi-module-project-using.html

Cheers,
Niraj

On Mon, Sep 7, 2015 at 2:18 AM, Russell Gold  wrote:

> Hi,
>
> I am trying to update my library, Simplestub with an optional add-on jar,
> simplestub-asm. It seemed to me that the simplest thing would be to covert
> it to a multi-module project, so I moved the original project down a level,
> created a parent pom in its place, and the add-on as a second nested
> module. It builds and tests just fine, but when I attempt to do mvn
> release:perform, I get failures:
>
> > [INFO]
> 
> > [INFO] Reactor Summary:
> > [INFO]
> > [INFO] SimpleStub . SUCCESS
> [02:09 min]
> > [INFO] SimpleStub Jar . FAILURE
> [ 20.757 s]
> > [INFO] SimpleStub ASM extension ... SKIPPED
> > [INFO]
> 
> > [INFO] BUILD FAILURE
> > [INFO]
> 
> > [INFO] Total time: 02:30 min
> > [INFO] Finished at: 2015-09-06T16:29:13-04:00
> > [INFO] Final Memory: 40M/160M
> > [INFO]
> 
> > [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-scm-publish-plugin:1.0-beta-2:publish-scm
> (scm-publish) on project simplestub: Configured content directory does not
> exist:
> /Users/russgold/projects/simplestub/target/checkout/simplestub/target/staging
> -> [Help 1]
>
>
> What am I missing, here?
>
> I have considered putting the add-on into a separate GitHub repo; it
> contributes nothing to the web site, and I could certainly release it
> separately; I’m just troubled at having to do that. Multi-module projects
> should work, and I have gotten them working the past, but I seem to be
> overlooking something.
>
> Any suggestions?
>
> The repo is at https://github.com/meterware/simplestub <
> https://github.com/meterware/simplestub>
>
> Thanks,
> Russ
>
>
>
> -
> Author, Getting Started with Apache Maven <
> http://www.packtpub.com/getting-started-with-apache-maven/video>
> Author, HttpUnit  and SimpleStub <
> http://simplestub.meterware.com>
>
> Come read my webnovel, Take a Lemon ,
> and listen to the Misfile radio play <
> http://www.fuzzyfacetheater.com/misfile/>!
>
>
>
>
>
>
>
>
>


Re: Adding an add-on jar to a project

2015-09-07 Thread Adrien Rivard
Try building directly the tag of the version you  are releasing, it seems
it is missing a directory compared to your trunk version.



On Mon, Sep 7, 2015 at 9:55 AM, Niraj Chaudhary  wrote:

> Please confirm if this link is useful?
>
>
> http://onjavahell.blogspot.in/2009/12/releasing-multi-module-project-using.html
>
> Cheers,
> Niraj
>
> On Mon, Sep 7, 2015 at 2:18 AM, Russell Gold  wrote:
>
> > Hi,
> >
> > I am trying to update my library, Simplestub with an optional add-on jar,
> > simplestub-asm. It seemed to me that the simplest thing would be to
> covert
> > it to a multi-module project, so I moved the original project down a
> level,
> > created a parent pom in its place, and the add-on as a second nested
> > module. It builds and tests just fine, but when I attempt to do mvn
> > release:perform, I get failures:
> >
> > > [INFO]
> > 
> > > [INFO] Reactor Summary:
> > > [INFO]
> > > [INFO] SimpleStub . SUCCESS
> > [02:09 min]
> > > [INFO] SimpleStub Jar . FAILURE
> > [ 20.757 s]
> > > [INFO] SimpleStub ASM extension ... SKIPPED
> > > [INFO]
> > 
> > > [INFO] BUILD FAILURE
> > > [INFO]
> > 
> > > [INFO] Total time: 02:30 min
> > > [INFO] Finished at: 2015-09-06T16:29:13-04:00
> > > [INFO] Final Memory: 40M/160M
> > > [INFO]
> > 
> > > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-scm-publish-plugin:1.0-beta-2:publish-scm
> > (scm-publish) on project simplestub: Configured content directory does
> not
> > exist:
> >
> /Users/russgold/projects/simplestub/target/checkout/simplestub/target/staging
> > -> [Help 1]
> >
> >
> > What am I missing, here?
> >
> > I have considered putting the add-on into a separate GitHub repo; it
> > contributes nothing to the web site, and I could certainly release it
> > separately; I’m just troubled at having to do that. Multi-module projects
> > should work, and I have gotten them working the past, but I seem to be
> > overlooking something.
> >
> > Any suggestions?
> >
> > The repo is at https://github.com/meterware/simplestub <
> > https://github.com/meterware/simplestub>
> >
> > Thanks,
> > Russ
> >
> >
> >
> > -
> > Author, Getting Started with Apache Maven <
> > http://www.packtpub.com/getting-started-with-apache-maven/video>
> > Author, HttpUnit  and SimpleStub <
> > http://simplestub.meterware.com>
> >
> > Come read my webnovel, Take a Lemon ,
> > and listen to the Misfile radio play <
> > http://www.fuzzyfacetheater.com/misfile/>!
> >
> >
> >
> >
> >
> >
> >
> >
> >
>



-- 
Adrien Rivard


Re: Adding an add-on jar to a project

2015-09-07 Thread Russell Gold
I’ve tried that. Note that the missing directory is under target, meaning that 
it is generated. I have not been able to determine what the “staging” directory 
is. I suspect that there is a problem in the site generation.

Thanks,
Russ

> On Sep 7, 2015, at 4:07 AM, Adrien Rivard  wrote:
> 
> Try building directly the tag of the version you  are releasing, it seems
> it is missing a directory compared to your trunk version.
> 
> 
> 
> On Mon, Sep 7, 2015 at 9:55 AM, Niraj Chaudhary > wrote:
> 
>> Please confirm if this link is useful?
>> 
>> 
>> http://onjavahell.blogspot.in/2009/12/releasing-multi-module-project-using.html
>> 
>> Cheers,
>> Niraj
>> 
>> On Mon, Sep 7, 2015 at 2:18 AM, Russell Gold  wrote:
>> 
>>> Hi,
>>> 
>>> I am trying to update my library, Simplestub with an optional add-on jar,
>>> simplestub-asm. It seemed to me that the simplest thing would be to
>> covert
>>> it to a multi-module project, so I moved the original project down a
>> level,
>>> created a parent pom in its place, and the add-on as a second nested
>>> module. It builds and tests just fine, but when I attempt to do mvn
>>> release:perform, I get failures:
>>> 
[INFO]
>>> 
[INFO] Reactor Summary:
[INFO]
[INFO] SimpleStub . SUCCESS
>>> [02:09 min]
[INFO] SimpleStub Jar . FAILURE
>>> [ 20.757 s]
[INFO] SimpleStub ASM extension ... SKIPPED
[INFO]
>>> 
[INFO] BUILD FAILURE
[INFO]
>>> 
[INFO] Total time: 02:30 min
[INFO] Finished at: 2015-09-06T16:29:13-04:00
[INFO] Final Memory: 40M/160M
[INFO]
>>> 
[ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-scm-publish-plugin:1.0-beta-2:publish-scm
>>> (scm-publish) on project simplestub: Configured content directory does
>> not
>>> exist:
>>> 
>> /Users/russgold/projects/simplestub/target/checkout/simplestub/target/staging
>>> -> [Help 1]
>>> 
>>> 
>>> What am I missing, here?
>>> 
>>> I have considered putting the add-on into a separate GitHub repo; it
>>> contributes nothing to the web site, and I could certainly release it
>>> separately; I’m just troubled at having to do that. Multi-module projects
>>> should work, and I have gotten them working the past, but I seem to be
>>> overlooking something.
>>> 
>>> Any suggestions?
>>> 
>>> The repo is at https://github.com/meterware/simplestub <
>>> https://github.com/meterware/simplestub>
>>> 
>>> Thanks,
>>> Russ
>>> 
>>> 
>>> 
>>> -
>>> Author, Getting Started with Apache Maven <
>>> http://www.packtpub.com/getting-started-with-apache-maven/video>
>>> Author, HttpUnit  and SimpleStub <
>>> http://simplestub.meterware.com>
>>> 
>>> Come read my webnovel, Take a Lemon ,
>>> and listen to the Misfile radio play <
>>> http://www.fuzzyfacetheater.com/misfile/>!
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>> 
> 
> 
> 
> -- 
> Adrien Rivard

-
Author, Getting Started with Apache Maven 

Author, HttpUnit  and SimpleStub 


Come read my webnovel, Take a Lemon , 
and listen to the Misfile radio play !









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



Re: Adding an add-on jar to a project

2015-09-07 Thread Russell Gold
No, sadly. At least it doesn’t appear to help my problem.

> On Sep 7, 2015, at 3:55 AM, Niraj Chaudhary  
> wrote:
> 
> Please confirm if this link is useful?
> 
> http://onjavahell.blogspot.in/2009/12/releasing-multi-module-project-using.html
> 
> Cheers,
> Niraj
> 
> On Mon, Sep 7, 2015 at 2:18 AM, Russell Gold  wrote:
> 
>> Hi,
>> 
>> I am trying to update my library, Simplestub with an optional add-on jar,
>> simplestub-asm. It seemed to me that the simplest thing would be to covert
>> it to a multi-module project, so I moved the original project down a level,
>> created a parent pom in its place, and the add-on as a second nested
>> module. It builds and tests just fine, but when I attempt to do mvn
>> release:perform, I get failures:
>> 
>>>[INFO]
>> 
>>>[INFO] Reactor Summary:
>>>[INFO]
>>>[INFO] SimpleStub . SUCCESS
>> [02:09 min]
>>>[INFO] SimpleStub Jar . FAILURE
>> [ 20.757 s]
>>>[INFO] SimpleStub ASM extension ... SKIPPED
>>>[INFO]
>> 
>>>[INFO] BUILD FAILURE
>>>[INFO]
>> 
>>>[INFO] Total time: 02:30 min
>>>[INFO] Finished at: 2015-09-06T16:29:13-04:00
>>>[INFO] Final Memory: 40M/160M
>>>[INFO]
>> 
>>>[ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-scm-publish-plugin:1.0-beta-2:publish-scm
>> (scm-publish) on project simplestub: Configured content directory does not
>> exist:
>> /Users/russgold/projects/simplestub/target/checkout/simplestub/target/staging
>> -> [Help 1]
>> 
>> 
>> What am I missing, here?
>> 
>> I have considered putting the add-on into a separate GitHub repo; it
>> contributes nothing to the web site, and I could certainly release it
>> separately; I’m just troubled at having to do that. Multi-module projects
>> should work, and I have gotten them working the past, but I seem to be
>> overlooking something.
>> 
>> Any suggestions?
>> 
>> The repo is at https://github.com/meterware/simplestub <
>> https://github.com/meterware/simplestub>
>> 
>> Thanks,
>> Russ
>> 
>> 
>> 
>> -
>> Author, Getting Started with Apache Maven <
>> http://www.packtpub.com/getting-started-with-apache-maven/video>
>> Author, HttpUnit  and SimpleStub <
>> http://simplestub.meterware.com>
>> 
>> Come read my webnovel, Take a Lemon ,
>> and listen to the Misfile radio play <
>> http://www.fuzzyfacetheater.com/misfile/>!

-
Author, Getting Started with Apache Maven 

Author, HttpUnit  and SimpleStub 


Come read my webnovel, Take a Lemon , 
and listen to the Misfile radio play !









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