You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Dion Gillard <di...@trongus.com> on 2007/06/19 07:19:26 UTC
Email Maven 2 Build failing under jdk 1.4?
Is this right?
When running mvn clean install on the current email trunk, I get:
[INFO] Compilation failure
C:\Documents and Settings\Dion
Gillard\workspace\email\src\test\org\apache\commons\mail\BaseEmailTestCase.java:[497,-1]
cannot access org.subethamail.smtp.server.SMTPServer
bad class file: C:\Documents and Settings\Dion
Gillard\.m2\repository\org\subethamail\subethasmtp-smtp\1.2\subethasmtp-s
mtp-1.2.jar(org/subethamail/smtp/server/SMTPServer.class)
class file has wrong version 49.0, should be 48.0
C:\Documents and Settings\Dion
Gillard\workspace\email\src\test\org\apache\commons\mail\BaseEmailTestCase.java:[497,-1]
cannot access org.subethamail.smtp.server.SMTPServer
bad class file: C:\Documents and Settings\Dion
Gillard\.m2\repository\org\subethamail\subethasmtp-smtp\1.2\subethasmtp-s
mtp-1.2.jar(org/subethamail/smtp/server/SMTPServer.class)
class file has wrong version 49.0, should be 48.0
Which means it can only build with 1.5. Is there some magic command
line trickery I need to get it to build under 1.4?
--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
Re: Email Maven 2 Build failing under jdk 1.4?
Posted by Dion Gillard <di...@trongus.com>.
It's still failing.
Did you miss the classification for subethasmtp-smtp-1.2.jar?
On 6/19/07, Ben Speakmon <bs...@apache.org> wrote:
>
> It's not picking up the java14 classifier on subethasmtp-smtp. Apparently
> the classifier doesn't propagate to the parent. I really need to get in
> the
> habit of removing my repository before signing off a pom.
>
> Fix checked in.
>
> On 6/18/07, Dion Gillard <di...@trongus.com> wrote:
> >
> > Is this right?
> >
> > When running mvn clean install on the current email trunk, I get:
> >
> > [INFO] Compilation failure
> > C:\Documents and Settings\Dion
> >
> >
> Gillard\workspace\email\src\test\org\apache\commons\mail\BaseEmailTestCase.java:[497,-1]
> > cannot access org.subethamail.smtp.server.SMTPServer
> > bad class file: C:\Documents and Settings\Dion
> >
> Gillard\.m2\repository\org\subethamail\subethasmtp-smtp\1.2\subethasmtp-s
> > mtp-1.2.jar(org/subethamail/smtp/server/SMTPServer.class)
> > class file has wrong version 49.0, should be 48.0
> >
> >
> >
> > C:\Documents and Settings\Dion
> >
> >
> Gillard\workspace\email\src\test\org\apache\commons\mail\BaseEmailTestCase.java:[497,-1]
> > cannot access org.subethamail.smtp.server.SMTPServer
> > bad class file: C:\Documents and Settings\Dion
> >
> Gillard\.m2\repository\org\subethamail\subethasmtp-smtp\1.2\subethasmtp-s
> > mtp-1.2.jar(org/subethamail/smtp/server/SMTPServer.class)
> > class file has wrong version 49.0, should be 48.0
> >
> >
> > Which means it can only build with 1.5. Is there some magic command
> > line trickery I need to get it to build under 1.4?
> >
> > --
> > dIon Gillard
> > Rule #131 of Acquisition: Information is Profit.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> >
> >
>
--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.
Re: Email Maven 2 Build failing under jdk 1.4?
Posted by Dion Gillard <di...@trongus.com>.
On 6/19/07, Ben Speakmon <bs...@apache.org> wrote:
>
> Couple of things going on. The Maven 2 POM has wiser-java14 depending on
> subethasmtp-java15, which is bad. I excluded it manually and got the
> java14
> version explicitly. The POM is also missing the runtime dependency on
> retrotranslator for the java14 artifact, so I explicitly depended on that
> as
> well. Then the maven 2 build finally ran okay start to finish. I just
> checked in that change and that should be okay.
>
> maven 1 has its own problem. repo1.maven.org/maven/org.subethamail only
> provides the default (java15) versions of subethamail and wiser. No idea
> why
> the source, javadoc or java14 jars aren't there. Also not sure who to ask
> about that.
>
> Did I mention I want to get rid of the maven 1 build? :)
As long as the mvn build works (i.e. builds the jar ok on jdk 1.2), feel
free to delete the project.xml :-)
On 6/18/07, Dion Gillard <di...@trongus.com> wrote:
> >
> > And the maven 1 build is still failing with the corresponding message.
> > Does
> > the project.xml need a change too?
> >
> > On 6/19/07, Ben Speakmon <bs...@apache.org> wrote:
> > >
> > > It's not picking up the java14 classifier on subethasmtp-smtp.
> > Apparently
> > > the classifier doesn't propagate to the parent. I really need to get
> in
> > > the
> > > habit of removing my repository before signing off a pom.
> > >
> > > Fix checked in.
> > >
> > > On 6/18/07, Dion Gillard <di...@trongus.com> wrote:
> > > >
> > > > Is this right?
> > > >
> > > > When running mvn clean install on the current email trunk, I get:
> > > >
> > > > [INFO] Compilation failure
> > > > C:\Documents and Settings\Dion
> > > >
> > > >
> > >
> >
> Gillard\workspace\email\src\test\org\apache\commons\mail\BaseEmailTestCase.java:[497,-1]
> > > > cannot access org.subethamail.smtp.server.SMTPServer
> > > > bad class file: C:\Documents and Settings\Dion
> > > >
> > >
> >
> Gillard\.m2\repository\org\subethamail\subethasmtp-smtp\1.2\subethasmtp-s
> > > > mtp-1.2.jar(org/subethamail/smtp/server/SMTPServer.class)
> > > > class file has wrong version 49.0, should be 48.0
> > > >
> > > >
> > > >
> > > > C:\Documents and Settings\Dion
> > > >
> > > >
> > >
> >
> Gillard\workspace\email\src\test\org\apache\commons\mail\BaseEmailTestCase.java:[497,-1]
> > > > cannot access org.subethamail.smtp.server.SMTPServer
> > > > bad class file: C:\Documents and Settings\Dion
> > > >
> > >
> >
> Gillard\.m2\repository\org\subethamail\subethasmtp-smtp\1.2\subethasmtp-s
> > > > mtp-1.2.jar(org/subethamail/smtp/server/SMTPServer.class)
> > > > class file has wrong version 49.0, should be 48.0
> > > >
> > > >
> > > > Which means it can only build with 1.5. Is there some magic command
> > > > line trickery I need to get it to build under 1.4?
> > > >
> > > > --
> > > > dIon Gillard
> > > > Rule #131 of Acquisition: Information is Profit.
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > dIon Gillard
> > Rule #131 of Acquisition: Information is Profit.
> >
>
--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.
Re: Email Maven 2 Build failing under jdk 1.4?
Posted by Dion Gillard <di...@trongus.com>.
mvn clean install now works for me!
On 6/19/07, Ben Speakmon <bs...@apache.org> wrote:
> Couple of things going on. The Maven 2 POM has wiser-java14 depending on
> subethasmtp-java15, which is bad. I excluded it manually and got the java14
> version explicitly. The POM is also missing the runtime dependency on
> retrotranslator for the java14 artifact, so I explicitly depended on that as
> well. Then the maven 2 build finally ran okay start to finish. I just
> checked in that change and that should be okay.
>
> maven 1 has its own problem. repo1.maven.org/maven/org.subethamail only
> provides the default (java15) versions of subethamail and wiser. No idea why
> the source, javadoc or java14 jars aren't there. Also not sure who to ask
> about that.
>
> Did I mention I want to get rid of the maven 1 build? :)
>
> On 6/18/07, Dion Gillard <di...@trongus.com> wrote:
> >
> > And the maven 1 build is still failing with the corresponding message.
> > Does
> > the project.xml need a change too?
> >
> > On 6/19/07, Ben Speakmon <bs...@apache.org> wrote:
> > >
> > > It's not picking up the java14 classifier on subethasmtp-smtp.
> > Apparently
> > > the classifier doesn't propagate to the parent. I really need to get in
> > > the
> > > habit of removing my repository before signing off a pom.
> > >
> > > Fix checked in.
> > >
> > > On 6/18/07, Dion Gillard <di...@trongus.com> wrote:
> > > >
> > > > Is this right?
> > > >
> > > > When running mvn clean install on the current email trunk, I get:
> > > >
> > > > [INFO] Compilation failure
> > > > C:\Documents and Settings\Dion
> > > >
> > > >
> > >
> > Gillard\workspace\email\src\test\org\apache\commons\mail\BaseEmailTestCase.java:[497,-1]
> > > > cannot access org.subethamail.smtp.server.SMTPServer
> > > > bad class file: C:\Documents and Settings\Dion
> > > >
> > >
> > Gillard\.m2\repository\org\subethamail\subethasmtp-smtp\1.2\subethasmtp-s
> > > > mtp-1.2.jar(org/subethamail/smtp/server/SMTPServer.class)
> > > > class file has wrong version 49.0, should be 48.0
> > > >
> > > >
> > > >
> > > > C:\Documents and Settings\Dion
> > > >
> > > >
> > >
> > Gillard\workspace\email\src\test\org\apache\commons\mail\BaseEmailTestCase.java:[497,-1]
> > > > cannot access org.subethamail.smtp.server.SMTPServer
> > > > bad class file: C:\Documents and Settings\Dion
> > > >
> > >
> > Gillard\.m2\repository\org\subethamail\subethasmtp-smtp\1.2\subethasmtp-s
> > > > mtp-1.2.jar(org/subethamail/smtp/server/SMTPServer.class)
> > > > class file has wrong version 49.0, should be 48.0
> > > >
> > > >
> > > > Which means it can only build with 1.5. Is there some magic command
> > > > line trickery I need to get it to build under 1.4?
> > > >
> > > > --
> > > > dIon Gillard
> > > > Rule #131 of Acquisition: Information is Profit.
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > dIon Gillard
> > Rule #131 of Acquisition: Information is Profit.
> >
>
--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
Re: Email Maven 2 Build failing under jdk 1.4?
Posted by Ben Speakmon <bs...@apache.org>.
Couple of things going on. The Maven 2 POM has wiser-java14 depending on
subethasmtp-java15, which is bad. I excluded it manually and got the java14
version explicitly. The POM is also missing the runtime dependency on
retrotranslator for the java14 artifact, so I explicitly depended on that as
well. Then the maven 2 build finally ran okay start to finish. I just
checked in that change and that should be okay.
maven 1 has its own problem. repo1.maven.org/maven/org.subethamail only
provides the default (java15) versions of subethamail and wiser. No idea why
the source, javadoc or java14 jars aren't there. Also not sure who to ask
about that.
Did I mention I want to get rid of the maven 1 build? :)
On 6/18/07, Dion Gillard <di...@trongus.com> wrote:
>
> And the maven 1 build is still failing with the corresponding message.
> Does
> the project.xml need a change too?
>
> On 6/19/07, Ben Speakmon <bs...@apache.org> wrote:
> >
> > It's not picking up the java14 classifier on subethasmtp-smtp.
> Apparently
> > the classifier doesn't propagate to the parent. I really need to get in
> > the
> > habit of removing my repository before signing off a pom.
> >
> > Fix checked in.
> >
> > On 6/18/07, Dion Gillard <di...@trongus.com> wrote:
> > >
> > > Is this right?
> > >
> > > When running mvn clean install on the current email trunk, I get:
> > >
> > > [INFO] Compilation failure
> > > C:\Documents and Settings\Dion
> > >
> > >
> >
> Gillard\workspace\email\src\test\org\apache\commons\mail\BaseEmailTestCase.java:[497,-1]
> > > cannot access org.subethamail.smtp.server.SMTPServer
> > > bad class file: C:\Documents and Settings\Dion
> > >
> >
> Gillard\.m2\repository\org\subethamail\subethasmtp-smtp\1.2\subethasmtp-s
> > > mtp-1.2.jar(org/subethamail/smtp/server/SMTPServer.class)
> > > class file has wrong version 49.0, should be 48.0
> > >
> > >
> > >
> > > C:\Documents and Settings\Dion
> > >
> > >
> >
> Gillard\workspace\email\src\test\org\apache\commons\mail\BaseEmailTestCase.java:[497,-1]
> > > cannot access org.subethamail.smtp.server.SMTPServer
> > > bad class file: C:\Documents and Settings\Dion
> > >
> >
> Gillard\.m2\repository\org\subethamail\subethasmtp-smtp\1.2\subethasmtp-s
> > > mtp-1.2.jar(org/subethamail/smtp/server/SMTPServer.class)
> > > class file has wrong version 49.0, should be 48.0
> > >
> > >
> > > Which means it can only build with 1.5. Is there some magic command
> > > line trickery I need to get it to build under 1.4?
> > >
> > > --
> > > dIon Gillard
> > > Rule #131 of Acquisition: Information is Profit.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> > >
> > >
> >
>
>
>
> --
> dIon Gillard
> Rule #131 of Acquisition: Information is Profit.
>
Re: Email Maven 2 Build failing under jdk 1.4?
Posted by Dion Gillard <di...@trongus.com>.
And the maven 1 build is still failing with the corresponding message. Does
the project.xml need a change too?
On 6/19/07, Ben Speakmon <bs...@apache.org> wrote:
>
> It's not picking up the java14 classifier on subethasmtp-smtp. Apparently
> the classifier doesn't propagate to the parent. I really need to get in
> the
> habit of removing my repository before signing off a pom.
>
> Fix checked in.
>
> On 6/18/07, Dion Gillard <di...@trongus.com> wrote:
> >
> > Is this right?
> >
> > When running mvn clean install on the current email trunk, I get:
> >
> > [INFO] Compilation failure
> > C:\Documents and Settings\Dion
> >
> >
> Gillard\workspace\email\src\test\org\apache\commons\mail\BaseEmailTestCase.java:[497,-1]
> > cannot access org.subethamail.smtp.server.SMTPServer
> > bad class file: C:\Documents and Settings\Dion
> >
> Gillard\.m2\repository\org\subethamail\subethasmtp-smtp\1.2\subethasmtp-s
> > mtp-1.2.jar(org/subethamail/smtp/server/SMTPServer.class)
> > class file has wrong version 49.0, should be 48.0
> >
> >
> >
> > C:\Documents and Settings\Dion
> >
> >
> Gillard\workspace\email\src\test\org\apache\commons\mail\BaseEmailTestCase.java:[497,-1]
> > cannot access org.subethamail.smtp.server.SMTPServer
> > bad class file: C:\Documents and Settings\Dion
> >
> Gillard\.m2\repository\org\subethamail\subethasmtp-smtp\1.2\subethasmtp-s
> > mtp-1.2.jar(org/subethamail/smtp/server/SMTPServer.class)
> > class file has wrong version 49.0, should be 48.0
> >
> >
> > Which means it can only build with 1.5. Is there some magic command
> > line trickery I need to get it to build under 1.4?
> >
> > --
> > dIon Gillard
> > Rule #131 of Acquisition: Information is Profit.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> >
> >
>
--
dIon Gillard
Rule #131 of Acquisition: Information is Profit.
Re: Email Maven 2 Build failing under jdk 1.4?
Posted by Ben Speakmon <bs...@apache.org>.
It's not picking up the java14 classifier on subethasmtp-smtp. Apparently
the classifier doesn't propagate to the parent. I really need to get in the
habit of removing my repository before signing off a pom.
Fix checked in.
On 6/18/07, Dion Gillard <di...@trongus.com> wrote:
>
> Is this right?
>
> When running mvn clean install on the current email trunk, I get:
>
> [INFO] Compilation failure
> C:\Documents and Settings\Dion
>
> Gillard\workspace\email\src\test\org\apache\commons\mail\BaseEmailTestCase.java:[497,-1]
> cannot access org.subethamail.smtp.server.SMTPServer
> bad class file: C:\Documents and Settings\Dion
> Gillard\.m2\repository\org\subethamail\subethasmtp-smtp\1.2\subethasmtp-s
> mtp-1.2.jar(org/subethamail/smtp/server/SMTPServer.class)
> class file has wrong version 49.0, should be 48.0
>
>
>
> C:\Documents and Settings\Dion
>
> Gillard\workspace\email\src\test\org\apache\commons\mail\BaseEmailTestCase.java:[497,-1]
> cannot access org.subethamail.smtp.server.SMTPServer
> bad class file: C:\Documents and Settings\Dion
> Gillard\.m2\repository\org\subethamail\subethasmtp-smtp\1.2\subethasmtp-s
> mtp-1.2.jar(org/subethamail/smtp/server/SMTPServer.class)
> class file has wrong version 49.0, should be 48.0
>
>
> Which means it can only build with 1.5. Is there some magic command
> line trickery I need to get it to build under 1.4?
>
> --
> dIon Gillard
> Rule #131 of Acquisition: Information is Profit.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>