Started by timer Running as SYSTEM Building in workspace /home/services/jenkins/jobs/aptina/workspace Updating https://www.seasar.org/svn/aptina/trunk/aptina at revision '2022-09-08T05:30:00.556 +0900' At revision 76 No changes for https://www.seasar.org/svn/aptina/trunk/aptina since the previous build Parsing POMs Established TCP socket on 41258 [aptina] $ /home/services/jenkins/tools/hudson.model.JDK/JDK-1.6/bin/java -cp /home/services/jenkins/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.13.jar:/home/services/jenkins/tools/hudson.tasks.Maven_MavenInstallation/MAVEN-2.0/boot/classworlds-1.1.jar hudson.maven.agent.Main /home/services/jenkins/tools/hudson.tasks.Maven_MavenInstallation/MAVEN-2.0 /var/cache/jenkins/war/WEB-INF/lib/remoting-4.13.3.jar /home/services/jenkins/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.13.jar 41258 Exception in thread "main" java.lang.UnsupportedClassVersionError: hudson/remoting/Launcher : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195) at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255) at hudson.maven.agent.Main.main(Main.java:145) at hudson.maven.agent.Main.main(Main.java:69) ERROR: ================================================================================ ERROR: Invalid project setup: Connection reset ERROR: [JENKINS-18403][JENKINS-28294] JDK 'JDK-1.6' not supported to run Maven projects. ERROR: Maven projects have to be launched with a Java version greater or equal to the minimum version required by the controller. ERROR: Use the Maven JDK Toolchains (plugin) to build your maven project with an older JDK. ERROR: Retrying with agent Java and setting compile/test properties to point to /home/services/jenkins/tools/hudson.model.JDK/JDK-1.6. ERROR: ================================================================================ Established TCP socket on 39457 [aptina] $ /usr/local/java/amazon-corretto-8.322.06.2-linux-x64/jre/bin/java -cp /home/services/jenkins/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.13.jar:/home/services/jenkins/tools/hudson.tasks.Maven_MavenInstallation/MAVEN-2.0/boot/classworlds-1.1.jar hudson.maven.agent.Main /home/services/jenkins/tools/hudson.tasks.Maven_MavenInstallation/MAVEN-2.0 /var/cache/jenkins/war/WEB-INF/lib/remoting-4.13.3.jar /home/services/jenkins/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.13.jar 39457 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /home/services/jenkins/jobs/aptina/workspace/aptina/pom.xml clean install [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Aptina [INFO] Aptina Commons [INFO] Aptina Unit [INFO] Aptina Beans [INFO] Aptina Downloads WAGON_VERSION: 1.0-beta-2 [INFO] ------------------------------------------------------------------------ [INFO] Building Aptina [INFO] task-segment: [clean, install] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] [site:attach-descriptor] [INFO] Preparing source:jar [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [INFO] No goals needed for project - skipping [INFO] [source:jar {execution: source-jar}] [INFO] [install:install] [INFO] Installing /home/services/jenkins/jobs/aptina/workspace/aptina/pom.xml to /home/services/jenkins/.m2/repository/org/seasar/aptina/aptina-project/1.0.0/aptina-project-1.0.0.pom ERROR: Could not find local repository for 2.0.11 Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds [INFO] ------------------------------------------------------------------------ [INFO] Building Aptina Commons [INFO] task-segment: [clean, install] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] Deleting directory /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-commons/target [INFO] [resources:resources] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 0 resource [INFO] [compiler:compile] [INFO] Compiling 18 source files to /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-commons/target/classes [INFO] [resources:testResources] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 1 resource [INFO] [compiler:testCompile] [INFO] Compiling 9 source files to /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-commons/target/test-classes [INFO] [surefire:test] [INFO] Surefire report directory: /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-commons/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.seasar.aptina.commons.util.ClassUtilsTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec Running org.seasar.aptina.commons.message.EnumMessageTextFormatterTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec Running org.seasar.aptina.commons.message.EnumMessageResourceBundleTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec Running org.seasar.aptina.commons.util.IOUtilsTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec Running org.seasar.aptina.commons.message.EnumMessageFormatterTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec Running org.seasar.aptina.commons.util.ModifiersUtilsTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec Running org.seasar.aptina.commons.util.StringUtilsTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec Results : Tests run: 18, Failures: 0, Errors: 0, Skipped: 0 [JENKINS] Recording test results [INFO] [jar:jar] [INFO] Building jar: /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-commons/target/aptina-commons-1.0.0.jar [INFO] Preparing source:jar [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [INFO] No goals needed for project - skipping [INFO] [source:jar {execution: source-jar}] [INFO] Building jar: /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-commons/target/aptina-commons-1.0.0-sources.jar [INFO] [install:install] [INFO] Installing /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-commons/target/aptina-commons-1.0.0.jar to /home/services/jenkins/.m2/repository/org/seasar/aptina/aptina-commons/1.0.0/aptina-commons-1.0.0.jar [INFO] Installing /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-commons/target/aptina-commons-1.0.0-sources.jar to /home/services/jenkins/.m2/repository/org/seasar/aptina/aptina-commons/1.0.0/aptina-commons-1.0.0-sources.jar ERROR: Could not find local repository for 2.0.11 Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds [INFO] ------------------------------------------------------------------------ [INFO] Building Aptina Unit [INFO] task-segment: [clean, install] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] Deleting directory /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-unit/target [INFO] [resources:resources] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 0 resource [INFO] [compiler:compile] [INFO] Compiling 6 source files to /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-unit/target/classes [INFO] [resources:testResources] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 1 resource [INFO] [compiler:testCompile] [INFO] Compiling 12 source files to /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-unit/target/test-classes [INFO] [surefire:test] [INFO] Surefire report directory: /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-unit/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.seasar.aptina.unit.TestProcessor Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec Running org.seasar.aptina.unit.TestDiagnosticsProcessor Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec Running org.seasar.aptina.unit.InMemoryJavaFileObjectTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec Running org.seasar.aptina.unit.PrintingProcessorTest /** * コンパイル対象の {@link Element} 階層をコンソールに出力する {@link Processor} です. * <p> * {@link AptinaTestCase} のサブクラスで, * {@link AptinaTestCase#addProcessor(Processor...)} にこのクラスを加えることで, コンパイル対象の * {@link Element} 階層を確認することができます. * </p> * * <p> * 次のサンプルは, {@code src/test/java} フォルダにある {@code TestSource.java} をコンパイルし, * {@code PrintingProcessor} で {@link Element} 階層をコンソールに出力するテストクラスです. * </p> * * <pre> * public class XxxProcessorTest extends AptinaTestCase { * * &#x40;Override * protected void setUp() throws Exception { * super.setUp(); * // ソースパスを追加 * addSourcePath("src/test/java"); * } * * public void test() throws Exception { * // PrintingProcessor を生成して追加 * addProcessor(new PrintingProcessor()); * * // コンパイル対象を追加 * addCompilationUnit(TestSource.class); * * // コンパイル実行 * compile(); * } * } * </pre> * * @author koichik */ CLASS org.seasar.aptina.unit.PrintingProcessor { /** * {@link Element} の階層をトラバースしてコンソールに出力する {@link ElementVisitor} です. * * @author koichik */ CLASS org.seasar.aptina.unit.PrintingProcessor.PrintingVisitor { CONSTRUCTOR PrintingVisitor() { } METHOD visitPackage(javax.lang.model.element.PackageElement,java.lang.Void) { PARAMETER e { } PARAMETER p { } } METHOD visitType(javax.lang.model.element.TypeElement,java.lang.Void) { PARAMETER e { } PARAMETER p { } } METHOD visitVariable(javax.lang.model.element.VariableElement,java.lang.Void) { PARAMETER e { } PARAMETER p { } } METHOD visitExecutable(javax.lang.model.element.ExecutableElement,java.lang.Void) { PARAMETER e { } PARAMETER p { } } METHOD visitTypeParameter(javax.lang.model.element.TypeParameterElement,java.lang.Void) { PARAMETER e { } PARAMETER p { } } METHOD enter(javax.lang.model.element.Element) { PARAMETER e { } } METHOD leave(javax.lang.model.element.Element) { PARAMETER e { } } } /** * インデント用の空白 (100 文字) */ FIELD SPACES { } /** * 出力先 */ FIELD out { } /** * 階層の深さ */ FIELD depth { } /** * インスタンスを構築します. */ CONSTRUCTOR PrintingProcessor() { } /** * インスタンスを構築します. * * @param out * 出力先 */ CONSTRUCTOR PrintingProcessor(java.io.PrintWriter) { PARAMETER out { } } METHOD process(java.util.Set<? extends javax.lang.model.element.TypeElement>,javax.annotation.processing.RoundEnvironment) { PARAMETER annotations { } PARAMETER roundEnv { } } /** * {@link Element}が開始されたことを出力します. * * @param e * {@link Element} */ METHOD printEnterMessage(javax.lang.model.element.Element) { PARAMETER e { } } /** * {@link Element}が終了したことを出力します. * * @param e * {@link Element} */ METHOD printLeaveMessage(javax.lang.model.element.Element) { PARAMETER e { } } /** * インデントを出力します. * * @param depth * インデントの深さ */ METHOD indent(int) { PARAMETER depth { } } } Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.42 sec Running org.seasar.aptina.commons.util.ElementUtilsTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.085 sec Running org.seasar.aptina.unit.AptinaTestCaseTest Note: hoge Note: hoge Note: hoge src/test/java/org/seasar/aptina/unit/TestSource.java:26: foo src/test/java/org/seasar/aptina/unit/TestSource.java:26: warning: bar Note: hoge Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.158 sec Running org.seasar.aptina.commons.util.TypeMirrorUtilsTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec Running org.seasar.aptina.unit.TestingJavaFileManagerTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec Results : Tests run: 18, Failures: 0, Errors: 0, Skipped: 0 [JENKINS] Recording test results [INFO] [jar:jar] [INFO] Building jar: /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-unit/target/aptina-unit-1.0.0.jar [INFO] Preparing source:jar [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [INFO] No goals needed for project - skipping [INFO] [source:jar {execution: source-jar}] [INFO] Building jar: /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-unit/target/aptina-unit-1.0.0-sources.jar [INFO] [shade:shade {execution: default}] [INFO] Including org.seasar.aptina:aptina-commons:jar:1.0.0 in the shaded jar. [INFO] Excluding junit:junit:jar:3.8.2 from the shaded jar. [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-unit/target/aptina-unit-1.0.0.jar with /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-unit/target/aptina-unit-1.0.0-shaded.jar [INFO] [install:install] [INFO] Installing /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-unit/target/aptina-unit-1.0.0.jar to /home/services/jenkins/.m2/repository/org/seasar/aptina/aptina-unit/1.0.0/aptina-unit-1.0.0.jar [INFO] Installing /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-unit/target/aptina-unit-1.0.0-sources.jar to /home/services/jenkins/.m2/repository/org/seasar/aptina/aptina-unit/1.0.0/aptina-unit-1.0.0-sources.jar ERROR: Could not find local repository for 2.0.11 Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds [INFO] ------------------------------------------------------------------------ [INFO] Building Aptina Beans [INFO] task-segment: [clean, install] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] Deleting directory /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-beans/target [INFO] [resources:resources] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 1 resource [INFO] [compiler:compile] [INFO] Compiling 15 source files to /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-beans/target/classes [INFO] [resources:testResources] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 26 resources [INFO] [compiler:testCompile] [INFO] Compiling 9 source files to /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-beans/target/test-classes [INFO] [surefire:test] [INFO] Surefire report directory: /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-beans/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.seasar.aptina.beans.internal.BeansProcessorTest package org.seasar.aptina.beans.example; /** * ほげ * * @author koichik */ @org.seasar.aptina.beans.JavaBean @javax.annotation.Generated({"Aptina Beans", "org.seasar.aptina", "aptina-beans", "DEV"}) public class FooBean extends org.seasar.aptina.beans.example.FooBeanState { public FooBean() { super(); } /** * Return the {@literal a}. * * @return the {@literal a}. */ public int getA() { return a; } /** * Set the {@literal a}. * * @param * the {@literal a}. */ public void setA(int a) { this.a = a; } /** * Return the {@literal b}. * * @return the {@literal b}. */ public java.lang.String getB() { return b; } } src/test/java/org/seasar/aptina/beans/example/BarBeanState.java:52: warning: package org.seasar.aptina.beans.example; /** * テスト * * @author koichik * @param <E> * @param <T> */ @org.seasar.aptina.beans.JavaBean @javax.annotation.Generated({"Aptina Beans", "org.seasar.aptina", "aptina-beans", "DEV"}) public class BarBean<E, T extends java.util.List<E> & java.io.Serializable> extends org.seasar.aptina.beans.example.BarBeanState<E, T> { /** * インスタンスを構築します。 * * @param aaa * あああ */ protected BarBean(T aaa) { super(aaa); } /** * インスタンスを構築します。 * * @param <S> * いいいの型 * @param bbb * いいい * @param hoge * ほげ * @throws NullPointerException * 何かが{@literal null}だった場合 */ <S> BarBean(T[] bbb, S hoge) throws java.lang.NullPointerException { super(bbb, hoge); } /** * インスタンスを構築します。 * * @param aaa * あああ * @param bbb * いいい * @param ccc * ううう */ public BarBean(T aaa, T[] bbb, java.util.List<? extends T> ccc) { super(aaa, bbb, ccc); } /** * Return the {@literal あああ}. * * @return the {@literal あああ}. */ public T getAaa() { return aaa; } /** * Set the {@literal あああ}. * * @param * the {@literal あああ}. */ public void setAaa(T aaa) { this.aaa = aaa; } /** * Return the {@literal いいい}. * * @return the {@literal いいい}. */ public T[] getBbb() { return bbb; } /** * Return the nth いいい. * * @param n the index of the {@literal いいい} to get. * @return the {@literal n}<sup>th</sup> {@literal いいい}. * @throws ArrayIndexOutOfBoundsException an index is used that is outside the current array bounds */ public T getBbb(int n) throws ArrayIndexOutOfBoundsException { return bbb[n]; } /** * Set the {@literal いいい}. * * @param * the {@literal いいい}. */ public void setBbb(T[] bbb) { this.bbb = bbb; } /** * Set the {@literal n}<sup>th</sup> {@literal いいい}. * * @param n {@literal n}<sup>th</sup> of the {@literal いいい} to set. * @param * {@literal いいい} * @throws ArrayIndexOutOfBoundsException an index is used that is outside the current array bounds */ public void setBbb(int n, T bbb) throws ArrayIndexOutOfBoundsException { this.bbb[n] = bbb; } /** * Return the {@literal ううう}. * * @return the {@literal ううう}. */ public java.util.List<? extends T> getCcc() { return ccc; } /** * Set the {@literal ううう}. * * @param * the {@literal ううう}. */ public void setCcc(java.util.List<? extends T> ccc) { this.ccc = ccc; } } package org.seasar.aptina.beans.example; /** * * @author koichik */ @org.seasar.aptina.beans.JavaBean @javax.annotation.Generated({"Aptina Beans", "org.seasar.aptina", "aptina-beans", "DEV"}) public class BoundBean extends org.seasar.aptina.beans.example.BoundBeanState { java.beans.PropertyChangeSupport propertyChangeSupport = new java.beans.PropertyChangeSupport(this); public BoundBean() { super(); } /** * Add a {@link java.beans.PropertyChangeListener} to the listener list. * * @param listener The {@literal java.beans.PropertyChangeListener} to be added */ public void addPropertyChangeListener(java.beans.PropertyChangeListener listener) { propertyChangeSupport.addPropertyChangeListener(listener); } /** * Add a {@link java.beans.PropertyChangeListener} for a specific property. * * @param propertyName The name of the property to listen on. * @param listener The {@link java.beans.PropertyChangeListener} to be added */ public void addPropertyChangeListener(String propertyName, java.beans.PropertyChangeListener listener) { propertyChangeSupport.addPropertyChangeListener(propertyName, listener); } /** * Remove a {@link java.beans.PropertyChangeListener} from the listener list. * * @param listener The {@link java.beans.PropertyChangeListener} to be removed */ public void removePropertyChangeListener(java.beans.PropertyChangeListener listener) { propertyChangeSupport.removePropertyChangeListener(listener); } /** * Remove a {@link java.beans.PropertyChangeListener} for a specific property. * * @param propertyName The name of the property that was listened on. * @param listener The {@link java.beans.PropertyChangeListener} to be removed */ public void removePropertyChangeListener(String propertyName, java.beans.PropertyChangeListener listener) { propertyChangeSupport.removePropertyChangeListener(propertyName, listener); } /** * Return the {@literal aaa}. * * @return the {@literal aaa}. */ public java.lang.String getAaa() { return aaa; } /** * Return the {@literal bbb}. * * @return the {@literal bbb}. */ public java.lang.String getBbb() { return bbb; } /** * Set the {@literal bbb}. * * @param * the {@literal bbb}. */ public void setBbb(java.lang.String bbb) { java.lang.String oldBbb = this.bbb; this.bbb = bbb; propertyChangeSupport.firePropertyChange("bbb", oldBbb, bbb); } /** * Add a {@link java.beans.PropertyChangeListener} for the {@literal bbb}. * * @param listener The {@link java.beans.PropertyChangeListener} to be added */ public void addBbbChangeListener(java.beans.PropertyChangeListener listener) { propertyChangeSupport.addPropertyChangeListener("bbb", listener); } /** * Remove a {@link java.beans.PropertyChangeListener} for the {@literal bbb}. * * @param listener The {@link java.beans.PropertyChangeListener} to be removed */ public void removeBbbChangeListener(java.beans.PropertyChangeListener listener) { propertyChangeSupport.removePropertyChangeListener("bbb", listener); } /** * Return the {@literal ccc}. * * @return the {@literal ccc}. */ public java.lang.String[] getCcc() { return ccc; } /** * Return the nth ccc. * * @param n the index of the {@literal ccc} to get. * @return the {@literal n}<sup>th</sup> {@literal ccc}. * @throws ArrayIndexOutOfBoundsException an index is used that is outside the current array bounds */ public java.lang.String getCcc(int n) throws ArrayIndexOutOfBoundsException { return ccc[n]; } /** * Set the {@literal ccc}. * * @param * the {@literal ccc}. */ public void setCcc(java.lang.String[] ccc) { java.lang.String[] oldCcc = this.ccc; this.ccc = ccc; propertyChangeSupport.firePropertyChange("ccc", oldCcc, ccc); } /** * Set the {@literal n}<sup>th</sup> {@literal ccc}. * * @param n {@literal n}<sup>th</sup> of the {@literal ccc} to set. * @param * {@literal ccc} * @throws ArrayIndexOutOfBoundsException an index is used that is outside the current array bounds */ public void setCcc(int n, java.lang.String ccc) throws ArrayIndexOutOfBoundsException { java.lang.String oldCcc = this.ccc[n]; this.ccc[n] = ccc; propertyChangeSupport.fireIndexedPropertyChange("ccc", n, oldCcc, ccc); } /** * Add a {@link java.beans.PropertyChangeListener} for the {@literal ccc}. * * @param listener The {@link java.beans.PropertyChangeListener} to be added */ public void addCccChangeListener(java.beans.PropertyChangeListener listener) { propertyChangeSupport.addPropertyChangeListener("ccc", listener); } /** * Remove a {@link java.beans.PropertyChangeListener} for the {@literal ccc}. * * @param listener The {@link java.beans.PropertyChangeListener} to be removed */ public void removeCccChangeListener(java.beans.PropertyChangeListener listener) { propertyChangeSupport.removePropertyChangeListener("ccc", listener); } } package org.seasar.aptina.beans.example; /** * * @author koichik */ @org.seasar.aptina.beans.JavaBean @javax.annotation.Generated({"Aptina Beans", "org.seasar.aptina", "aptina-beans", "DEV"}) public class ConstrainedBean extends org.seasar.aptina.beans.example.ConstrainedBeanState { java.beans.VetoableChangeSupport vetoableChangeSupport = new java.beans.VetoableChangeSupport(this); public ConstrainedBean() { super(); } /** * Add a {@link java.beans.VetoableChangeListener} to the listener list. * * @param listener The {@literal java.beans.VetoableChangeListener} to be added */ public void addVetoableChangeListener(java.beans.VetoableChangeListener listener) { vetoableChangeSupport.addVetoableChangeListener(listener); } /** * Add a {@link java.beans.VetoableChangeListener} for a specific property. * * @param propertyName The name of the property to listen on. * @param listener The {@link java.beans.VetoableChangeListener} to be added */ public void addVetoableChangeListener(String propertyName, java.beans.VetoableChangeListener listener) { vetoableChangeSupport.addVetoableChangeListener(propertyName, listener); } /** * Remove a {@link java.beans.VetoableChangeListener} from the listener list. * * @param listener The {@link java.beans.VetoableChangeListener} to be removed */ public void removeVetoableChangeListener(java.beans.VetoableChangeListener listener) { vetoableChangeSupport.removeVetoableChangeListener(listener); } /** * Remove a {@link java.beans.VetoableChangeListener} for a specific property. * * @param propertyName The name of the property that was listened on. * @param listener The {@link java.beans.VetoableChangeListener} to be removed */ public void removeVetoableChangeListener(String propertyName, java.beans.VetoableChangeListener listener) { vetoableChangeSupport.removeVetoableChangeListener(propertyName, listener); } /** * Return the {@literal aaa}. * * @return the {@literal aaa}. */ public java.lang.String getAaa() { return aaa; } /** * Return the {@literal bbb}. * * @return the {@literal bbb}. */ public java.lang.String getBbb() { return bbb; } /** * Set the {@literal bbb}. * * @param * the {@literal bbb}. * @throws java.beans.PropertyVetoException if the recipient wishes the property change to be rolled back. */ public void setBbb(java.lang.String bbb) throws java.beans.PropertyVetoException { java.lang.String oldBbb = this.bbb; vetoableChangeSupport.fireVetoableChange("bbb", oldBbb, bbb); this.bbb = bbb; } /** * Add a {@link java.beans.VetoableChangeListener} for the {@literal bbb}. * * @param listener The {@link java.beans.VetoableChangeListener} to be added */ public void addBbbChangeListener(java.beans.VetoableChangeListener listener) { vetoableChangeSupport.addVetoableChangeListener("bbb", listener); } /** * Remove a {@link java.beans.VetoableChangeListener} for the {@literal bbb}. * * @param listener The {@link java.beans.VetoableChangeListener} to be removed */ public void removeBbbChangeListener(java.beans.VetoableChangeListener listener) { vetoableChangeSupport.removeVetoableChangeListener("bbb", listener); } /** * Return the {@literal ccc}. * * @return the {@literal ccc}. */ public java.lang.String[] getCcc() { return ccc; } /** * Return the nth ccc. * * @param n the index of the {@literal ccc} to get. * @return the {@literal n}<sup>th</sup> {@literal ccc}. * @throws ArrayIndexOutOfBoundsException an index is used that is outside the current array bounds */ public java.lang.String getCcc(int n) throws ArrayIndexOutOfBoundsException { return ccc[n]; } /** * Set the {@literal ccc}. * * @param * the {@literal ccc}. * @throws java.beans.PropertyVetoException if the recipient wishes the property change to be rolled back. */ public void setCcc(java.lang.String[] ccc) throws java.beans.PropertyVetoException { java.lang.String[] oldCcc = this.ccc; vetoableChangeSupport.fireVetoableChange("ccc", oldCcc, ccc); this.ccc = ccc; } /** * Set the {@literal n}<sup>th</sup> {@literal ccc}. * * @param n {@literal n}<sup>th</sup> of the {@literal ccc} to set. * @param * {@literal ccc} * @throws ArrayIndexOutOfBoundsException an index is used that is outside the current array bounds. * @throws java.beans.PropertyVetoException if the recipient wishes the property change to be rolled back. */ public void setCcc(int n, java.lang.String ccc) throws ArrayIndexOutOfBoundsException, java.beans.PropertyVetoException { java.lang.String oldCcc = this.ccc[n]; vetoableChangeSupport.fireVetoableChange(new java.beans.IndexedPropertyChangeEvent(this, "ccc", oldCcc, ccc, n)); this.ccc[n] = ccc; } /** * Add a {@link java.beans.VetoableChangeListener} for the {@literal ccc}. * * @param listener The {@link java.beans.VetoableChangeListener} to be added */ public void addCccChangeListener(java.beans.VetoableChangeListener listener) { vetoableChangeSupport.addVetoableChangeListener("ccc", listener); } /** * Remove a {@link java.beans.VetoableChangeListener} for the {@literal ccc}. * * @param listener The {@link java.beans.VetoableChangeListener} to be removed */ public void removeCccChangeListener(java.beans.VetoableChangeListener listener) { vetoableChangeSupport.removeVetoableChangeListener("ccc", listener); } } package org.seasar.aptina.beans.example; /** * * @author koichik */ @org.seasar.aptina.beans.JavaBean @javax.annotation.Generated({"Aptina Beans", "org.seasar.aptina", "aptina-beans", "DEV"}) public class BoundAndConstrainedBean extends org.seasar.aptina.beans.example.BoundAndConstrainedBeanState { java.beans.PropertyChangeSupport propertyChangeSupport = new java.beans.PropertyChangeSupport(this); java.beans.VetoableChangeSupport vetoableChangeSupport = new java.beans.VetoableChangeSupport(this); public BoundAndConstrainedBean() { super(); } /** * Add a {@link java.beans.PropertyChangeListener} to the listener list. * * @param listener The {@literal java.beans.PropertyChangeListener} to be added */ public void addPropertyChangeListener(java.beans.PropertyChangeListener listener) { propertyChangeSupport.addPropertyChangeListener(listener); } /** * Add a {@link java.beans.PropertyChangeListener} for a specific property. * * @param propertyName The name of the property to listen on. * @param listener The {@link java.beans.PropertyChangeListener} to be added */ public void addPropertyChangeListener(String propertyName, java.beans.PropertyChangeListener listener) { propertyChangeSupport.addPropertyChangeListener(propertyName, listener); } /** * Remove a {@link java.beans.PropertyChangeListener} from the listener list. * * @param listener The {@link java.beans.PropertyChangeListener} to be removed */ public void removePropertyChangeListener(java.beans.PropertyChangeListener listener) { propertyChangeSupport.removePropertyChangeListener(listener); } /** * Remove a {@link java.beans.PropertyChangeListener} for a specific property. * * @param propertyName The name of the property that was listened on. * @param listener The {@link java.beans.PropertyChangeListener} to be removed */ public void removePropertyChangeListener(String propertyName, java.beans.PropertyChangeListener listener) { propertyChangeSupport.removePropertyChangeListener(propertyName, listener); } /** * Add a {@link java.beans.VetoableChangeListener} to the listener list. * * @param listener The {@literal java.beans.VetoableChangeListener} to be added */ public void addVetoableChangeListener(java.beans.VetoableChangeListener listener) { vetoableChangeSupport.addVetoableChangeListener(listener); } /** * Add a {@link java.beans.VetoableChangeListener} for a specific property. * * @param propertyName The name of the property to listen on. * @param listener The {@link java.beans.VetoableChangeListener} to be added */ public void addVetoableChangeListener(String propertyName, java.beans.VetoableChangeListener listener) { vetoableChangeSupport.addVetoableChangeListener(propertyName, listener); } /** * Remove a {@link java.beans.VetoableChangeListener} from the listener list. * * @param listener The {@link java.beans.VetoableChangeListener} to be removed */ public void removeVetoableChangeListener(java.beans.VetoableChangeListener listener) { vetoableChangeSupport.removeVetoableChangeListener(listener); } /** * Remove a {@link java.beans.VetoableChangeListener} for a specific property. * * @param propertyName The name of the property that was listened on. * @param listener The {@link java.beans.VetoableChangeListener} to be removed */ public void removeVetoableChangeListener(String propertyName, java.beans.VetoableChangeListener listener) { vetoableChangeSupport.removeVetoableChangeListener(propertyName, listener); } /** * Return the {@literal aaa}. * * @return the {@literal aaa}. */ public java.lang.String getAaa() { return aaa; } /** * Return the {@literal bbb}. * * @return the {@literal bbb}. */ public java.lang.String getBbb() { return bbb; } /** * Set the {@literal bbb}. * * @param * the {@literal bbb}. * @throws java.beans.PropertyVetoException if the recipient wishes the property change to be rolled back. */ public void setBbb(java.lang.String bbb) throws java.beans.PropertyVetoException { java.lang.String oldBbb = this.bbb; vetoableChangeSupport.fireVetoableChange("bbb", oldBbb, bbb); this.bbb = bbb; propertyChangeSupport.firePropertyChange("bbb", oldBbb, bbb); } /** * Add a {@link java.beans.PropertyChangeListener} for the {@literal bbb}. * * @param listener The {@link java.beans.PropertyChangeListener} to be added */ public void addBbbChangeListener(java.beans.PropertyChangeListener listener) { propertyChangeSupport.addPropertyChangeListener("bbb", listener); } /** * Remove a {@link java.beans.PropertyChangeListener} for the {@literal bbb}. * * @param listener The {@link java.beans.PropertyChangeListener} to be removed */ public void removeBbbChangeListener(java.beans.PropertyChangeListener listener) { propertyChangeSupport.removePropertyChangeListener("bbb", listener); } /** * Add a {@link java.beans.VetoableChangeListener} for the {@literal bbb}. * * @param listener The {@link java.beans.VetoableChangeListener} to be added */ public void addBbbChangeListener(java.beans.VetoableChangeListener listener) { vetoableChangeSupport.addVetoableChangeListener("bbb", listener); } /** * Remove a {@link java.beans.VetoableChangeListener} for the {@literal bbb}. * * @param listener The {@link java.beans.VetoableChangeListener} to be removed */ public void removeBbbChangeListener(java.beans.VetoableChangeListener listener) { vetoableChangeSupport.removeVetoableChangeListener("bbb", listener); } /** * Return the {@literal ccc}. * * @return the {@literal ccc}. */ public java.lang.String[] getCcc() { return ccc; } /** * Return the nth ccc. * * @param n the index of the {@literal ccc} to get. * @return the {@literal n}<sup>th</sup> {@literal ccc}. * @throws ArrayIndexOutOfBoundsException an index is used that is outside the current array bounds */ public java.lang.String getCcc(int n) throws ArrayIndexOutOfBoundsException { return ccc[n]; } /** * Set the {@literal ccc}. * * @param * the {@literal ccc}. * @throws java.beans.PropertyVetoException if the recipient wishes the property change to be rolled back. */ public void setCcc(java.lang.String[] ccc) throws java.beans.PropertyVetoException { java.lang.String[] oldCcc = this.ccc; vetoableChangeSupport.fireVetoableChange("ccc", oldCcc, ccc); this.ccc = ccc; propertyChangeSupport.firePropertyChange("ccc", oldCcc, ccc); } /** * Set the {@literal n}<sup>th</sup> {@literal ccc}. * * @param n {@literal n}<sup>th</sup> of the {@literal ccc} to set. * @param * {@literal ccc} * @throws ArrayIndexOutOfBoundsException an index is used that is outside the current array bounds. * @throws java.beans.PropertyVetoException if the recipient wishes the property change to be rolled back. */ public void setCcc(int n, java.lang.String ccc) throws ArrayIndexOutOfBoundsException, java.beans.PropertyVetoException { java.lang.String oldCcc = this.ccc[n]; vetoableChangeSupport.fireVetoableChange(new java.beans.IndexedPropertyChangeEvent(this, "ccc", oldCcc, ccc, n)); this.ccc[n] = ccc; propertyChangeSupport.fireIndexedPropertyChange("ccc", n, oldCcc, ccc); } /** * Add a {@link java.beans.PropertyChangeListener} for the {@literal ccc}. * * @param listener The {@link java.beans.PropertyChangeListener} to be added */ public void addCccChangeListener(java.beans.PropertyChangeListener listener) { propertyChangeSupport.addPropertyChangeListener("ccc", listener); } /** * Remove a {@link java.beans.PropertyChangeListener} for the {@literal ccc}. * * @param listener The {@link java.beans.PropertyChangeListener} to be removed */ public void removeCccChangeListener(java.beans.PropertyChangeListener listener) { propertyChangeSupport.removePropertyChangeListener("ccc", listener); } /** * Add a {@link java.beans.VetoableChangeListener} for the {@literal ccc}. * * @param listener The {@link java.beans.VetoableChangeListener} to be added */ public void addCccChangeListener(java.beans.VetoableChangeListener listener) { vetoableChangeSupport.addVetoableChangeListener("ccc", listener); } /** * Remove a {@link java.beans.VetoableChangeListener} for the {@literal ccc}. * * @param listener The {@link java.beans.VetoableChangeListener} to be removed */ public void removeCccChangeListener(java.beans.VetoableChangeListener listener) { vetoableChangeSupport.removeVetoableChangeListener("ccc", listener); } } Tests run: 5, Failures: 5, Errors: 0, Skipped: 0, Time elapsed: 0.591 sec <<< FAILURE! Running org.seasar.aptina.beans.internal.BeanInfoFactoryTest warning: Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.159 sec Running org.seasar.aptina.beans.internal.BeanClassGeneratorTest warning: warning: warning: warning: Tests run: 21, Failures: 13, Errors: 0, Skipped: 0, Time elapsed: 0.288 sec <<< FAILURE! Results : Failed tests: testFoo(org.seasar.aptina.beans.internal.BeansProcessorTest) testBar(org.seasar.aptina.beans.internal.BeansProcessorTest) testBound(org.seasar.aptina.beans.internal.BeansProcessorTest) testConstrained(org.seasar.aptina.beans.internal.BeansProcessorTest) testBoundAndConstrained(org.seasar.aptina.beans.internal.BeansProcessorTest) testPutGetterFoo(org.seasar.aptina.beans.internal.BeanClassGeneratorTest) testPutGetterBar(org.seasar.aptina.beans.internal.BeanClassGeneratorTest) testPutSetterFoo(org.seasar.aptina.beans.internal.BeanClassGeneratorTest) testPutSetterBar(org.seasar.aptina.beans.internal.BeanClassGeneratorTest) testPutSetterBound(org.seasar.aptina.beans.internal.BeanClassGeneratorTest) testPutSetterConstrained(org.seasar.aptina.beans.internal.BeanClassGeneratorTest) testPutSetterBoundAndConstrained(org.seasar.aptina.beans.internal.BeanClassGeneratorTest) testPutListenerBound(org.seasar.aptina.beans.internal.BeanClassGeneratorTest) testPutListenerConstrained(org.seasar.aptina.beans.internal.BeanClassGeneratorTest) testPutListenerBoundAndConstrained(org.seasar.aptina.beans.internal.BeanClassGeneratorTest) testPutSpecificListenerBound(org.seasar.aptina.beans.internal.BeanClassGeneratorTest) testPutSpecificListenerConstrained(org.seasar.aptina.beans.internal.BeanClassGeneratorTest) testPutSpecificListenerBoundAndConstrained(org.seasar.aptina.beans.internal.BeanClassGeneratorTest) Tests run: 37, Failures: 18, Errors: 0, Skipped: 0 [ERROR] There are test failures. Please refer to /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-beans/target/surefire-reports for the individual test results. [JENKINS] Recording test results [INFO] [jar:jar] [INFO] Building jar: /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-beans/target/aptina-beans-1.0.0.jar [INFO] Preparing source:jar [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [INFO] No goals needed for project - skipping [INFO] [source:jar {execution: source-jar}] [INFO] Building jar: /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-beans/target/aptina-beans-1.0.0-sources.jar [INFO] [shade:shade {execution: default}] [INFO] Including org.seasar.aptina:aptina-commons:jar:1.0.0 in the shaded jar. [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-beans/target/aptina-beans-1.0.0.jar with /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-beans/target/aptina-beans-1.0.0-shaded.jar [INFO] [install:install] [INFO] Installing /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-beans/target/aptina-beans-1.0.0.jar to /home/services/jenkins/.m2/repository/org/seasar/aptina/aptina-beans/1.0.0/aptina-beans-1.0.0.jar [INFO] Installing /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-beans/target/aptina-beans-1.0.0-sources.jar to /home/services/jenkins/.m2/repository/org/seasar/aptina/aptina-beans/1.0.0/aptina-beans-1.0.0-sources.jar ERROR: Could not find local repository for 2.0.11 Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds [INFO] ------------------------------------------------------------------------ [INFO] Building Aptina Downloads [INFO] task-segment: [clean, install] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] [site:attach-descriptor] [INFO] Preparing source:jar [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [INFO] No goals needed for project - skipping [INFO] [source:jar {execution: source-jar}] [INFO] [install:install] [INFO] Installing /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-downloads/pom.xml to /home/services/jenkins/.m2/repository/org/seasar/aptina/aptina-downloads/1.0.0/aptina-downloads-1.0.0.pom ERROR: Could not find local repository for 2.0.11 Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds [INFO] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] ------------------------------------------------------------------------ [INFO] Aptina ................................................ SUCCESS [1.430s] [INFO] Aptina Commons ........................................ SUCCESS [1.973s] [INFO] Aptina Unit ........................................... SUCCESS [1.831s] [INFO] Aptina Beans .......................................... SUCCESS [2.126s] [INFO] Aptina Downloads ...................................... SUCCESS [0.031s] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8 seconds [INFO] Finished at: Thu Sep 08 05:30:13 JST 2022 [INFO] Final Memory: 64M/587M [INFO] ------------------------------------------------------------------------ [JENKINS] Archiving /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-beans/dependency-reduced-pom.xml to org.seasar.aptina/aptina-beans/1.0.0/aptina-beans-1.0.0.pom [JENKINS] Archiving /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-beans/target/aptina-beans-1.0.0.jar to org.seasar.aptina/aptina-beans/1.0.0/aptina-beans-1.0.0.jar [JENKINS] Archiving /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-beans/target/aptina-beans-1.0.0-sources.jar to org.seasar.aptina/aptina-beans/1.0.0/aptina-beans-1.0.0-sources.jar [JENKINS] Archiving /home/services/jenkins/jobs/aptina/workspace/aptina/pom.xml to org.seasar.aptina/aptina-project/1.0.0/aptina-project-1.0.0.pom [JENKINS] Archiving /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-unit/dependency-reduced-pom.xml to org.seasar.aptina/aptina-unit/1.0.0/aptina-unit-1.0.0.pom [JENKINS] Archiving /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-unit/target/aptina-unit-1.0.0.jar to org.seasar.aptina/aptina-unit/1.0.0/aptina-unit-1.0.0.jar [JENKINS] Archiving /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-unit/target/aptina-unit-1.0.0-sources.jar to org.seasar.aptina/aptina-unit/1.0.0/aptina-unit-1.0.0-sources.jar [JENKINS] Archiving /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-downloads/pom.xml to org.seasar.aptina/aptina-downloads/1.0.0/aptina-downloads-1.0.0.pom [JENKINS] Archiving /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-commons/pom.xml to org.seasar.aptina/aptina-commons/1.0.0/aptina-commons-1.0.0.pom [JENKINS] Archiving /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-commons/target/aptina-commons-1.0.0.jar to org.seasar.aptina/aptina-commons/1.0.0/aptina-commons-1.0.0.jar [JENKINS] Archiving /home/services/jenkins/jobs/aptina/workspace/aptina/aptina-commons/target/aptina-commons-1.0.0-sources.jar to org.seasar.aptina/aptina-commons/1.0.0/aptina-commons-1.0.0-sources.jar channel stopped Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds Finished: UNSTABLE