FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Java

 
 
LinkBack Thread Tools
 
Old 09-13-2012, 09:19 AM
Mathieu Malaterre
 
Default Packaging Perf4j (mh_make)

Hi all,

I am trying to package Perf4j using mh_make. It seems to work quite
well. Steps:

$ wget https://github.com/perf4j/perf4j/tarball/perf4j-0.9.16
$ tar xvfz [...]
$ mh_make
Environment variable DEBLICENSE not set, using GPL-3+ by default

Enter the name of the new Debian source package. If empty, it will
defaults to perf4j
>

Enter the name of the binary package. If empty, it will defaults to
libperf4j-java
>

Run tests while building the package?
[y]/n > y

Generate the Javadoc while building the package?
[y]/n > y

Checking that apt-file is installed and has been configured...
[ok]

Checking that licensecheck is installed...
[ok]

Solving dependencies for package libperf4j-java (tests are included)
(documentation is included)
Analysing pom.xml...
Enter the upstream version for the package. If you press <Enter> it
will default to 0.9.16
>

Version of org.perf4jerf4j is 0.9.16
Choose how it will be transformed:
[1] - Replace all versions starting by 0. with 0.x
2 - Change the version to the symbolic 'debian' version
3 - Keep the version
4 - Custom rule
>
Resolving log4j:log4j:jar:1.2.14 of scope compile...
Sep 13, 2012 9:16:29 AM
org.debian.maven.packager.DependenciesSolver$ToRes olve resolve
SEVERE: Cannot resolve dependencies in ./pom.xml: Dangling meta
character '+' near index 0
+).(.*)/$1.$2.x/
^
java.util.regex.PatternSyntaxException: Dangling meta character '+' near index 0
+).(.*)/$1.$2.x/
^
at java.util.regex.Pattern.error(Pattern.java:1730)
at java.util.regex.Pattern.sequence(Pattern.java:1895 )
at java.util.regex.Pattern.expr(Pattern.java:1769)
at java.util.regex.Pattern.compile(Pattern.java:1477)
at java.util.regex.Pattern.<init>(Pattern.java:1150)
at java.util.regex.Pattern.compile(Pattern.java:840)
at org.debian.maven.repo.Rule.<init>(Rule.java:44)
at org.debian.maven.repo.DependencyRule.<init>(Depend encyRule.java:41)
at org.debian.maven.repo.POMInfo.getPublishedRules(PO MInfo.java:275)
at org.debian.maven.repo.Repository.searchMatchingPOM (Repository.java:130)
at org.debian.maven.packager.DependenciesSolver.resol veDependency(DependenciesSolver.java:987)
at org.debian.maven.packager.DependenciesSolver.resol veDependency(DependenciesSolver.java:883)
at org.debian.maven.packager.DependenciesSolver.resol veDependencies(DependenciesSolver.java:878)
at org.debian.maven.packager.DependenciesSolver.acces s$000(DependenciesSolver.java:56)
at org.debian.maven.packager.DependenciesSolver$ToRes olve.resolve(DependenciesSolver.java:353)
at org.debian.maven.packager.DependenciesSolver.resol veDependenciesNow(DependenciesSolver.java:864)
at org.debian.maven.packager.DependenciesSolver.solve Dependencies(DependenciesSolver.java:598)
at org.debian.maven.packager.DependenciesSolver.main( DependenciesSolver.java:1420)
Resolving org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.2
of scope runtime...
Dependency org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.2
found in package libmaven-compiler-plugin-java
[ok]

Resolving org.apache.maven.plugins:maven-release-plugin:maven-plugin:2.2.1
of scope runtime...

In pom.xml:
This plugin is not useful for the build or its use is against Debian
policies. Ignore this plugin?
org.apache.maven.plugins:maven-release-plugin:maven-plugin:2.2.1



Should I ignore the error message (with stacktrace) or not ?

Thanks much.


--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/CA+7wUsyVF5TGy8PqamEem_Hey-MSRFCV501youg76r4h=Evc-w@mail.gmail.com
 
Old 09-18-2012, 08:41 PM
Ludovic Claude
 
Default Packaging Perf4j (mh_make)

Hello Mathieu,

It looks like a bug in maven-debian-helper, can you file a bug and I
will look at it next month, as I'm on holidays now.


Thanks,
Ludovic


Le 13/09/2012 11:19, Mathieu Malaterre a écrit :

Hi all,

I am trying to package Perf4j using mh_make. It seems to work quite
well. Steps:

$ wget https://github.com/perf4j/perf4j/tarball/perf4j-0.9.16
$ tar xvfz [...]
$ mh_make
Environment variable DEBLICENSE not set, using GPL-3+ by default

Enter the name of the new Debian source package. If empty, it will
defaults to perf4j




Enter the name of the binary package. If empty, it will defaults to
libperf4j-java




Run tests while building the package?
[y]/n > y

Generate the Javadoc while building the package?
[y]/n > y

Checking that apt-file is installed and has been configured...
[ok]

Checking that licensecheck is installed...
[ok]

Solving dependencies for package libperf4j-java (tests are included)
(documentation is included)
Analysing pom.xml...
Enter the upstream version for the package. If you press <Enter> it
will default to 0.9.16




Version of org.perf4jerf4j is 0.9.16
Choose how it will be transformed:
[1] - Replace all versions starting by 0. with 0.x
2 - Change the version to the symbolic 'debian' version
3 - Keep the version
4 - Custom rule



Resolving log4j:log4j:jar:1.2.14 of scope compile...
Sep 13, 2012 9:16:29 AM
org.debian.maven.packager.DependenciesSolver$ToRes olve resolve
SEVERE: Cannot resolve dependencies in ./pom.xml: Dangling meta
character '+' near index 0
+).(.*)/$1.$2.x/
^
java.util.regex.PatternSyntaxException: Dangling meta character '+' near index 0
+).(.*)/$1.$2.x/
^
at java.util.regex.Pattern.error(Pattern.java:1730)
at java.util.regex.Pattern.sequence(Pattern.java:1895 )
at java.util.regex.Pattern.expr(Pattern.java:1769)
at java.util.regex.Pattern.compile(Pattern.java:1477)
at java.util.regex.Pattern.<init>(Pattern.java:1150)
at java.util.regex.Pattern.compile(Pattern.java:840)
at org.debian.maven.repo.Rule.<init>(Rule.java:44)
at org.debian.maven.repo.DependencyRule.<init>(Depend encyRule.java:41)
at org.debian.maven.repo.POMInfo.getPublishedRules(PO MInfo.java:275)
at org.debian.maven.repo.Repository.searchMatchingPOM (Repository.java:130)
at org.debian.maven.packager.DependenciesSolver.resol veDependency(DependenciesSolver.java:987)
at org.debian.maven.packager.DependenciesSolver.resol veDependency(DependenciesSolver.java:883)
at org.debian.maven.packager.DependenciesSolver.resol veDependencies(DependenciesSolver.java:878)
at org.debian.maven.packager.DependenciesSolver.acces s$000(DependenciesSolver.java:56)
at org.debian.maven.packager.DependenciesSolver$ToRes olve.resolve(DependenciesSolver.java:353)
at org.debian.maven.packager.DependenciesSolver.resol veDependenciesNow(DependenciesSolver.java:864)
at org.debian.maven.packager.DependenciesSolver.solve Dependencies(DependenciesSolver.java:598)
at org.debian.maven.packager.DependenciesSolver.main( DependenciesSolver.java:1420)
Resolving org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.2
of scope runtime...
Dependency org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.2
found in package libmaven-compiler-plugin-java
[ok]

Resolving org.apache.maven.plugins:maven-release-plugin:maven-plugin:2.2.1
of scope runtime...

In pom.xml:
This plugin is not useful for the build or its use is against Debian
policies. Ignore this plugin?
org.apache.maven.plugins:maven-release-plugin:maven-plugin:2.2.1



Should I ignore the error message (with stacktrace) or not ?

Thanks much.





--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 5058DC7C.6070105@laposte.net">http://lists.debian.org/5058DC7C.6070105@laposte.net
 

Thread Tools




All times are GMT. The time now is 07:20 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org