You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Werner Guttmann <we...@gmx.net> on 2007/08/31 11:37:41 UTC
Test resources in final release ?
Hi,
a few days ago, I have made available a new (snapshot) release of a
Castor module using Maven 2. A user just pointed out to me that the JAR
file in question
http://repository.codehaus.org/org/codehaus/castor/spring-orm/1.1/spring-orm-1.1.jar
includes a few resources at the root level that it should not include by
default.
A short investigation revealed that the JAR file indeed includes e.g. a
castor.properties file that within the project happens to be living in
src/test/resources, viewable at
http://svn.castor.codehaus.org/browse/castor/castor-spring/trunk/src/test/resources
As far as I remember, I have built this release using Maven 2.0.7. Can
anybody please try to explain what has gone wrong.
Werner
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Test resources in final release ?
Posted by Michael McCallum <gh...@apache.org>.
be careful that your ide is not putting resources into the target directory...
eclipse should default to bin/ which is fine...
On Tuesday 04 September 2007 14:01, Wayne Fay wrote:
> Try "mvn help:effective-pom" to see all the various configuration
> options you've set. Also try "mvn -U package" to perhaps update some
> of your plugins.
>
> It sounds like you have something special going on in your
> environment. I just did a test run myself, and the resources from test
> are definitely not included in target/classes nor are they included in
> the JAR. So I think you have some non-standard configuration options
> affecting your build.
>
> Wayne
>
> On 9/3/07, Werner Guttmann <we...@gmx.net> wrote:
> > Hi,
> >
> > did a 'mvn clean' folowed by a 'mvn package', and the JAR file in target
> > still contains the various resources as stored in src/test/resources.
> >
> > Werner
> >
> > Werner Guttmann wrote:
> > > Damien,
> > >
> > > Damien Lecan wrote:
> > >> When you do mvn package, what is the content of your artifact ?
> > >
> > > Let me get back to you with a reply to this question tomomrrow
> > > afternoon.
> > >
> > >> Do you have any special profiles activated when releasing ?
> > >
> > > No, no profiles. I basically did a standard 'mvn deploy'.
> > >
> > >> You have got another problem : your app has been released with
> > >> SNAPSHOT dependencies.
> > >
> > > I have got an awareness of this. Thanks for pointing this out again.
> > >
> > >> Look at :
> > >> <dependency>
> > >> <groupId>org.codehaus.castor</groupId>
> > >> <artifactId>castor-jdo</artifactId>
> > >> <version>1.1.3-SNAPSHOT</version>
> > >> </dependency>
> > >>
> > >> I was not able to found spring-orm 1.1 tag in your svn
> > >> (http://svn.castor.codehaus.org/browse/castor/castor-spring/tags)
> > >
> > > This is because I have used a 'mvn deploy' to deploy the artefacts to
> > > the Codehaus snapshot repo.
> > >
> > >> Damien
> > >>
> > >> 2007/9/3, Werner Guttmann <we...@gmx.net>:
> > >>> Hi,
> > >>>
> > >>> let me just restate my own question(s) below. I have had a look at
> > >>> existing Jira issues, and I cannot find anything that relates to my
> > >>> problem.
> > >>>
> > >>> As stated below, I have recently made available a final release of
> > >>> the Spring ORM for Castor JDO using Maven 2 (standard 'mvn deploy'),
> > >>> and to my surprise the JAR file uploaded to
> > >>>
> > >>> http://repository.codehaus.org/org/codehaus/castor/spring-orm/1.1/
> > >>>
> > >>> included test artefacts as pointed out below - which it should not.
> > >>> And which is causing quite some problems with our users.
> > >>>
> > >>> Is anybody aware of a problem like this (where test resources are
> > >>> included with a deployed JAR) ?
> > >>>
> > >>> Werner
> > >>>
> > >>> Werner Guttmann wrote:
> > >>>> Hi,
> > >>>>
> > >>>> a few days ago, I have made available a new (snapshot) release of a
> > >>>> Castor module using Maven 2. A user just pointed out to me that the
> > >>>> JAR file in question
> >
> > http://repository.codehaus.org/org/codehaus/castor/spring-orm/1.1/spring-
> >orm-1.1.jar
> >
> > >>>> includes a few resources at the root level that it should not
> > >>>> include by
> > >>>> default.
> > >>>>
> > >>>> A short investigation revealed that the JAR file indeed includes
> > >>>> e.g. a castor.properties file that within the project happens to be
> > >>>> living in src/test/resources, viewable at
> >
> > http://svn.castor.codehaus.org/browse/castor/castor-spring/trunk/src/test
> >/resources
> >
> > >>>> As far as I remember, I have built this release using Maven 2.0.7.
> > >>>> Can anybody please try to explain what has gone wrong.
> > >>>>
> > >>>> Werner
> > >>>>
> > >>>>
> > >>>>
> > >>>> --------------------------------------------------------------------
> > >>>>- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > >>>> For additional commands, e-mail: users-help@maven.apache.org
> > >>>
> > >>> ---------------------------------------------------------------------
> > >>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > >>> For additional commands, e-mail: users-help@maven.apache.org
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > >> For additional commands, e-mail: users-help@maven.apache.org
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
--
Michael McCallum
Enterprise Engineer
mailto:gholam@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Test resources in final release ?
Posted by Werner Guttmann <we...@gmx.net>.
Wayne,
It looks like 'mvn -U package' followed by a 'mvn clean' and a 'mvn
package' again did the trick.
Thanks for your help.
Werner
Wayne Fay wrote:
> Try "mvn help:effective-pom" to see all the various configuration
> options you've set. Also try "mvn -U package" to perhaps update some
> of your plugins.
>
> It sounds like you have something special going on in your
> environment. I just did a test run myself, and the resources from test
> are definitely not included in target/classes nor are they included in
> the JAR. So I think you have some non-standard configuration options
> affecting your build.
>
> Wayne
>
> On 9/3/07, Werner Guttmann <we...@gmx.net> wrote:
>> Hi,
>>
>> did a 'mvn clean' folowed by a 'mvn package', and the JAR file in target
>> still contains the various resources as stored in src/test/resources.
>>
>> Werner
>>
>> Werner Guttmann wrote:
>>> Damien,
>>>
>>> Damien Lecan wrote:
>>>> When you do mvn package, what is the content of your artifact ?
>>> Let me get back to you with a reply to this question tomomrrow afternoon.
>>>> Do you have any special profiles activated when releasing ?
>>> No, no profiles. I basically did a standard 'mvn deploy'.
>>>
>>>> You have got another problem : your app has been released with
>>>> SNAPSHOT dependencies.
>>> I have got an awareness of this. Thanks for pointing this out again.
>>>
>>>> Look at :
>>>> <dependency>
>>>> <groupId>org.codehaus.castor</groupId>
>>>> <artifactId>castor-jdo</artifactId>
>>>> <version>1.1.3-SNAPSHOT</version>
>>>> </dependency>
>>>>
>>>> I was not able to found spring-orm 1.1 tag in your svn
>>>> (http://svn.castor.codehaus.org/browse/castor/castor-spring/tags)
>>> This is because I have used a 'mvn deploy' to deploy the artefacts to
>>> the Codehaus snapshot repo.
>>>> Damien
>>>>
>>>> 2007/9/3, Werner Guttmann <we...@gmx.net>:
>>>>> Hi,
>>>>>
>>>>> let me just restate my own question(s) below. I have had a look at
>>>>> existing Jira issues, and I cannot find anything that relates to my
>>>>> problem.
>>>>>
>>>>> As stated below, I have recently made available a final release of the
>>>>> Spring ORM for Castor JDO using Maven 2 (standard 'mvn deploy'), and to
>>>>> my surprise the JAR file uploaded to
>>>>>
>>>>> http://repository.codehaus.org/org/codehaus/castor/spring-orm/1.1/
>>>>>
>>>>> included test artefacts as pointed out below - which it should not. And
>>>>> which is causing quite some problems with our users.
>>>>>
>>>>> Is anybody aware of a problem like this (where test resources are
>>>>> included with a deployed JAR) ?
>>>>>
>>>>> Werner
>>>>>
>>>>> Werner Guttmann wrote:
>>>>>> Hi,
>>>>>>
>>>>>> a few days ago, I have made available a new (snapshot) release of a
>>>>>> Castor module using Maven 2. A user just pointed out to me that the JAR
>>>>>> file in question
>>>>>>
>>>>>>
>> http://repository.codehaus.org/org/codehaus/castor/spring-orm/1.1/spring-orm-1.1.jar
>>>>>>
>>>>>>
>>>>>> includes a few resources at the root level that it should not
>>>>>> include by
>>>>>> default.
>>>>>>
>>>>>> A short investigation revealed that the JAR file indeed includes e.g. a
>>>>>> castor.properties file that within the project happens to be living in
>>>>>> src/test/resources, viewable at
>>>>>>
>>>>>>
>> http://svn.castor.codehaus.org/browse/castor/castor-spring/trunk/src/test/resources
>>>>>>
>>>>>>
>>>>>>
>>>>>> As far as I remember, I have built this release using Maven 2.0.7. Can
>>>>>> anybody please try to explain what has gone wrong.
>>>>>>
>>>>>> Werner
>>>>>>
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>>>
>>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>>
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Test resources in final release ?
Posted by Wayne Fay <wa...@gmail.com>.
Try "mvn help:effective-pom" to see all the various configuration
options you've set. Also try "mvn -U package" to perhaps update some
of your plugins.
It sounds like you have something special going on in your
environment. I just did a test run myself, and the resources from test
are definitely not included in target/classes nor are they included in
the JAR. So I think you have some non-standard configuration options
affecting your build.
Wayne
On 9/3/07, Werner Guttmann <we...@gmx.net> wrote:
> Hi,
>
> did a 'mvn clean' folowed by a 'mvn package', and the JAR file in target
> still contains the various resources as stored in src/test/resources.
>
> Werner
>
> Werner Guttmann wrote:
> > Damien,
> >
> > Damien Lecan wrote:
> >> When you do mvn package, what is the content of your artifact ?
> > Let me get back to you with a reply to this question tomomrrow afternoon.
> >> Do you have any special profiles activated when releasing ?
> > No, no profiles. I basically did a standard 'mvn deploy'.
> >
> >> You have got another problem : your app has been released with
> >> SNAPSHOT dependencies.
> > I have got an awareness of this. Thanks for pointing this out again.
> >
> >> Look at :
> >> <dependency>
> >> <groupId>org.codehaus.castor</groupId>
> >> <artifactId>castor-jdo</artifactId>
> >> <version>1.1.3-SNAPSHOT</version>
> >> </dependency>
> >>
> >> I was not able to found spring-orm 1.1 tag in your svn
> >> (http://svn.castor.codehaus.org/browse/castor/castor-spring/tags)
> > This is because I have used a 'mvn deploy' to deploy the artefacts to
> > the Codehaus snapshot repo.
> >>
> >> Damien
> >>
> >> 2007/9/3, Werner Guttmann <we...@gmx.net>:
> >>> Hi,
> >>>
> >>> let me just restate my own question(s) below. I have had a look at
> >>> existing Jira issues, and I cannot find anything that relates to my
> >>> problem.
> >>>
> >>> As stated below, I have recently made available a final release of the
> >>> Spring ORM for Castor JDO using Maven 2 (standard 'mvn deploy'), and to
> >>> my surprise the JAR file uploaded to
> >>>
> >>> http://repository.codehaus.org/org/codehaus/castor/spring-orm/1.1/
> >>>
> >>> included test artefacts as pointed out below - which it should not. And
> >>> which is causing quite some problems with our users.
> >>>
> >>> Is anybody aware of a problem like this (where test resources are
> >>> included with a deployed JAR) ?
> >>>
> >>> Werner
> >>>
> >>> Werner Guttmann wrote:
> >>>> Hi,
> >>>>
> >>>> a few days ago, I have made available a new (snapshot) release of a
> >>>> Castor module using Maven 2. A user just pointed out to me that the JAR
> >>>> file in question
> >>>>
> >>>>
> http://repository.codehaus.org/org/codehaus/castor/spring-orm/1.1/spring-orm-1.1.jar
> >>>>
> >>>>
> >>>>
> >>>> includes a few resources at the root level that it should not
> >>>> include by
> >>>> default.
> >>>>
> >>>> A short investigation revealed that the JAR file indeed includes e.g. a
> >>>> castor.properties file that within the project happens to be living in
> >>>> src/test/resources, viewable at
> >>>>
> >>>>
> http://svn.castor.codehaus.org/browse/castor/castor-spring/trunk/src/test/resources
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> As far as I remember, I have built this release using Maven 2.0.7. Can
> >>>> anybody please try to explain what has gone wrong.
> >>>>
> >>>> Werner
> >>>>
> >>>>
> >>>>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>>> For additional commands, e-mail: users-help@maven.apache.org
> >>>>
> >>>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>> For additional commands, e-mail: users-help@maven.apache.org
> >>>
> >>>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Test resources in final release ?
Posted by Werner Guttmann <we...@gmx.net>.
Hi,
did a 'mvn clean' folowed by a 'mvn package', and the JAR file in target
still contains the various resources as stored in src/test/resources.
Werner
Werner Guttmann wrote:
> Damien,
>
> Damien Lecan wrote:
>> When you do mvn package, what is the content of your artifact ?
> Let me get back to you with a reply to this question tomomrrow afternoon.
>> Do you have any special profiles activated when releasing ?
> No, no profiles. I basically did a standard 'mvn deploy'.
>
>> You have got another problem : your app has been released with
>> SNAPSHOT dependencies.
> I have got an awareness of this. Thanks for pointing this out again.
>
>> Look at :
>> <dependency>
>> <groupId>org.codehaus.castor</groupId>
>> <artifactId>castor-jdo</artifactId>
>> <version>1.1.3-SNAPSHOT</version>
>> </dependency>
>>
>> I was not able to found spring-orm 1.1 tag in your svn
>> (http://svn.castor.codehaus.org/browse/castor/castor-spring/tags)
> This is because I have used a 'mvn deploy' to deploy the artefacts to
> the Codehaus snapshot repo.
>>
>> Damien
>>
>> 2007/9/3, Werner Guttmann <we...@gmx.net>:
>>> Hi,
>>>
>>> let me just restate my own question(s) below. I have had a look at
>>> existing Jira issues, and I cannot find anything that relates to my
>>> problem.
>>>
>>> As stated below, I have recently made available a final release of the
>>> Spring ORM for Castor JDO using Maven 2 (standard 'mvn deploy'), and to
>>> my surprise the JAR file uploaded to
>>>
>>> http://repository.codehaus.org/org/codehaus/castor/spring-orm/1.1/
>>>
>>> included test artefacts as pointed out below - which it should not. And
>>> which is causing quite some problems with our users.
>>>
>>> Is anybody aware of a problem like this (where test resources are
>>> included with a deployed JAR) ?
>>>
>>> Werner
>>>
>>> Werner Guttmann wrote:
>>>> Hi,
>>>>
>>>> a few days ago, I have made available a new (snapshot) release of a
>>>> Castor module using Maven 2. A user just pointed out to me that the JAR
>>>> file in question
>>>>
>>>> http://repository.codehaus.org/org/codehaus/castor/spring-orm/1.1/spring-orm-1.1.jar
>>>>
>>>>
>>>>
>>>> includes a few resources at the root level that it should not
>>>> include by
>>>> default.
>>>>
>>>> A short investigation revealed that the JAR file indeed includes e.g. a
>>>> castor.properties file that within the project happens to be living in
>>>> src/test/resources, viewable at
>>>>
>>>> http://svn.castor.codehaus.org/browse/castor/castor-spring/trunk/src/test/resources
>>>>
>>>>
>>>>
>>>>
>>>> As far as I remember, I have built this release using Maven 2.0.7. Can
>>>> anybody please try to explain what has gone wrong.
>>>>
>>>> Werner
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Test resources in final release ?
Posted by Werner Guttmann <we...@gmx.net>.
Yes, I am aware of this. It was meant to be a proper release, with just
an announcement missing (which I am now holding back).
Werner
Damien Lecan wrote:
> Hello,
>
>>> You have got another problem : your app has been released with
>>> SNAPSHOT dependencies.
>> I have got an awareness of this. Thanks for pointing this out again.
>
>>> I was not able to found spring-orm 1.1 tag in your svn
>>> (http://svn.castor.codehaus.org/browse/castor/castor-spring/tags)
>> This is because I have used a 'mvn deploy' to deploy the artefacts to
>> the Codehaus snapshot repo.
>
> Do you know that your artifact is widely available ?
> http://repo1.maven.org/maven2/org/codehaus/castor/spring-orm/1.1/
> Not just for testing purpose ...
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Test resources in final release ?
Posted by Damien Lecan <ml...@dlecan.com>.
Hello,
> > You have got another problem : your app has been released with
> > SNAPSHOT dependencies.
> I have got an awareness of this. Thanks for pointing this out again.
> > I was not able to found spring-orm 1.1 tag in your svn
> > (http://svn.castor.codehaus.org/browse/castor/castor-spring/tags)
> This is because I have used a 'mvn deploy' to deploy the artefacts to
> the Codehaus snapshot repo.
Do you know that your artifact is widely available ?
http://repo1.maven.org/maven2/org/codehaus/castor/spring-orm/1.1/
Not just for testing purpose ...
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Test resources in final release ?
Posted by Werner Guttmann <we...@gmx.net>.
Damien,
Damien Lecan wrote:
> When you do mvn package, what is the content of your artifact ?
Let me get back to you with a reply to this question tomomrrow afternoon.
> Do you have any special profiles activated when releasing ?
No, no profiles. I basically did a standard 'mvn deploy'.
> You have got another problem : your app has been released with
> SNAPSHOT dependencies.
I have got an awareness of this. Thanks for pointing this out again.
> Look at :
> <dependency>
> <groupId>org.codehaus.castor</groupId>
> <artifactId>castor-jdo</artifactId>
> <version>1.1.3-SNAPSHOT</version>
> </dependency>
>
> I was not able to found spring-orm 1.1 tag in your svn
> (http://svn.castor.codehaus.org/browse/castor/castor-spring/tags)
This is because I have used a 'mvn deploy' to deploy the artefacts to
the Codehaus snapshot repo.
>
> Damien
>
> 2007/9/3, Werner Guttmann <we...@gmx.net>:
>> Hi,
>>
>> let me just restate my own question(s) below. I have had a look at
>> existing Jira issues, and I cannot find anything that relates to my
>> problem.
>>
>> As stated below, I have recently made available a final release of the
>> Spring ORM for Castor JDO using Maven 2 (standard 'mvn deploy'), and to
>> my surprise the JAR file uploaded to
>>
>> http://repository.codehaus.org/org/codehaus/castor/spring-orm/1.1/
>>
>> included test artefacts as pointed out below - which it should not. And
>> which is causing quite some problems with our users.
>>
>> Is anybody aware of a problem like this (where test resources are
>> included with a deployed JAR) ?
>>
>> Werner
>>
>> Werner Guttmann wrote:
>>> Hi,
>>>
>>> a few days ago, I have made available a new (snapshot) release of a
>>> Castor module using Maven 2. A user just pointed out to me that the JAR
>>> file in question
>>>
>>> http://repository.codehaus.org/org/codehaus/castor/spring-orm/1.1/spring-orm-1.1.jar
>>>
>>>
>>> includes a few resources at the root level that it should not include by
>>> default.
>>>
>>> A short investigation revealed that the JAR file indeed includes e.g. a
>>> castor.properties file that within the project happens to be living in
>>> src/test/resources, viewable at
>>>
>>> http://svn.castor.codehaus.org/browse/castor/castor-spring/trunk/src/test/resources
>>>
>>>
>>>
>>> As far as I remember, I have built this release using Maven 2.0.7. Can
>>> anybody please try to explain what has gone wrong.
>>>
>>> Werner
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Test resources in final release ?
Posted by Damien Lecan <ml...@dlecan.com>.
When you do mvn package, what is the content of your artifact ?
Do you have any special profiles activated when releasing ?
You have got another problem : your app has been released with
SNAPSHOT dependencies.
Look at :
<dependency>
<groupId>org.codehaus.castor</groupId>
<artifactId>castor-jdo</artifactId>
<version>1.1.3-SNAPSHOT</version>
</dependency>
I was not able to found spring-orm 1.1 tag in your svn
(http://svn.castor.codehaus.org/browse/castor/castor-spring/tags)
Damien
2007/9/3, Werner Guttmann <we...@gmx.net>:
> Hi,
>
> let me just restate my own question(s) below. I have had a look at
> existing Jira issues, and I cannot find anything that relates to my
> problem.
>
> As stated below, I have recently made available a final release of the
> Spring ORM for Castor JDO using Maven 2 (standard 'mvn deploy'), and to
> my surprise the JAR file uploaded to
>
> http://repository.codehaus.org/org/codehaus/castor/spring-orm/1.1/
>
> included test artefacts as pointed out below - which it should not. And
> which is causing quite some problems with our users.
>
> Is anybody aware of a problem like this (where test resources are
> included with a deployed JAR) ?
>
> Werner
>
> Werner Guttmann wrote:
> > Hi,
> >
> > a few days ago, I have made available a new (snapshot) release of a
> > Castor module using Maven 2. A user just pointed out to me that the JAR
> > file in question
> >
> > http://repository.codehaus.org/org/codehaus/castor/spring-orm/1.1/spring-orm-1.1.jar
> >
> >
> > includes a few resources at the root level that it should not include by
> > default.
> >
> > A short investigation revealed that the JAR file indeed includes e.g. a
> > castor.properties file that within the project happens to be living in
> > src/test/resources, viewable at
> >
> > http://svn.castor.codehaus.org/browse/castor/castor-spring/trunk/src/test/resources
> >
> >
> >
> > As far as I remember, I have built this release using Maven 2.0.7. Can
> > anybody please try to explain what has gone wrong.
> >
> > Werner
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Test resources in final release ?
Posted by Werner Guttmann <we...@gmx.net>.
Hi,
let me just restate my own question(s) below. I have had a look at
existing Jira issues, and I cannot find anything that relates to my
problem.
As stated below, I have recently made available a final release of the
Spring ORM for Castor JDO using Maven 2 (standard 'mvn deploy'), and to
my surprise the JAR file uploaded to
http://repository.codehaus.org/org/codehaus/castor/spring-orm/1.1/
included test artefacts as pointed out below - which it should not. And
which is causing quite some problems with our users.
Is anybody aware of a problem like this (where test resources are
included with a deployed JAR) ?
Werner
Werner Guttmann wrote:
> Hi,
>
> a few days ago, I have made available a new (snapshot) release of a
> Castor module using Maven 2. A user just pointed out to me that the JAR
> file in question
>
> http://repository.codehaus.org/org/codehaus/castor/spring-orm/1.1/spring-orm-1.1.jar
>
>
> includes a few resources at the root level that it should not include by
> default.
>
> A short investigation revealed that the JAR file indeed includes e.g. a
> castor.properties file that within the project happens to be living in
> src/test/resources, viewable at
>
> http://svn.castor.codehaus.org/browse/castor/castor-spring/trunk/src/test/resources
>
>
>
> As far as I remember, I have built this release using Maven 2.0.7. Can
> anybody please try to explain what has gone wrong.
>
> Werner
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org